• Login
Community
  • Login

Disable document switching when mouse4 is pressed

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
9 Posts 4 Posters 1.7k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T
    trace calvin
    last edited by trace calvin Jan 5, 2019, 8:45 AM Jan 5, 2019, 8:44 AM

    Hello. I see the shortcut mapper and all the keyboard keybinds, but none of them show mouse keys bound in spite of extra mouse keys switching through files when pressed. I use this key as my push-to-talk and I would like to disable this function. Is this possible?

    I should add I’ve also tried completely disabling the document switcher but mouse keys still switch through open documents.

    Thank you.

    E 1 Reply Last reply Jan 5, 2019, 1:17 PM Reply Quote 1
    • E
      Eko palypse @trace calvin
      last edited by Jan 5, 2019, 1:17 PM

      @trace-calvin

      isn’t this something which you normally configure via your mouse driver software?

      1 Reply Last reply Reply Quote 0
      • T
        trace calvin
        last edited by Jan 5, 2019, 1:48 PM

        No. Even if it were, it shouldn’t still be happening after disabling document switching within Notepad++.

        1 Reply Last reply Reply Quote 1
        • E
          Eko palypse
          last edited by Jan 5, 2019, 2:03 PM

          If I assign something different then back and forth to the buttons via my logitech config
          software it doesn’t do switching the documents anymore.
          The document switcher you mentioned is an additional piece of logic but doesn’t prevent
          stop using the standard windows switching mechanism.
          Maybe this is mouse driver dependent - to be honest, I don’t know.

          1 Reply Last reply Reply Quote 0
          • T
            Terry R
            last edited by Jan 5, 2019, 6:47 PM

            @trace-calvin
            As @Eko-palypse said logically it must be a mouse driver/application. If all you hit is button4 and the documents switch, then the button4 is being interpreted by something. The keyboard buffer is likely being loaded with a character combo dictated by the mouse software.

            Check the mouse software and check what your push-to-talk option (button4) really is, likely a shift-??? key combo. Now in NPP, push the same keys to confirm the document switches.

            Maybe the mouse software has a profiles option so you can change or disable button 4 when using NPP.

            Terry

            1 Reply Last reply Reply Quote 0
            • T
              trace calvin
              last edited by Jan 5, 2019, 6:53 PM

              Sorry, I should clarify. When I say this key is my push-to-talk, I simply mean it is the key that I always set across all the different programs I use. I’m not using any mouse software or macro’s. Pushing my mouse4 button in any other circumstance does nothing.

              1 Reply Last reply Reply Quote 0
              • T
                Terry R
                last edited by Jan 5, 2019, 7:00 PM

                @trace-calvin
                I will contend that the button4 press is being interpreted by something and likely the keyboard buffer loaded with a key combo.

                If using Windows 10 have a look at this:
                https://www.microsoft.com/accessories/en-ww/support/how-to/mouse/reassign-buttons
                See if it has any helpful info.

                Terry

                1 Reply Last reply Reply Quote 0
                • T
                  trace calvin
                  last edited by Jan 6, 2019, 10:19 AM

                  I understand what you are saying, and I know if I download some mouse management software I could tune the button to do specific things.

                  But my point is that Notepad++ is directly interpreting these buttons somewhere that we (the users) don’t have access to, at least not that I can find. I just disabled every single keybind in the shortcut mapper, disabled document switching, and pressing these buttons still cycles through open documents.

                  M 1 Reply Last reply Jan 6, 2019, 7:53 PM Reply Quote 0
                  • M
                    Mikhail V @trace calvin
                    last edited by Jan 6, 2019, 7:53 PM

                    @trace-calvin
                    XButton1 - 4th mouse button. Typically performs the same function as Browser_Back.
                    XButton2 - 5th mouse button. Typically performs the same function as Browser_Forward.

                    So NPP cycles back through tabs on both Browser_back event and Xbutton1 event. I didn’t find any option to disable or change it. If it bothers, you can use Autohotkey script to change this button, or block completely with this script:

                    #If winActive("ahk_exe notepad++.exe") 
                    XButton1::return
                    
                    1 Reply Last reply Reply Quote 0
                    4 out of 9
                    • First post
                      4/9
                      Last post
                    The Community of users of the Notepad++ text editor.
                    Powered by NodeBB | Contributors