I've downloaded the respected utility X-Mouse Button Control, which can translate button events into other events. Autohotkey is another such application.

I believe my work PC has some utility, either from the hardware vendor or from the firm itself that they're forgetting they install, that is translating middle-mouse button events into Left Windows Logo Key events.

How could I find a list of such event-intercepting/translating utilities currently running?

Is there a registry entry that would translate middle-mouse-button events into Left Windows Logo Key events?

The specific issue I'm interested in is that I have two input devices: a Lenovo SK-8855 USB keyboard, with the Thinkpad key layout and a TrackPoint "mouse" with three buttons, and a Logitech T400 cordless mouse.

With just the default drivers, the Lenovo works perfectly in all respects both as a keyboard and as a three-button mouse. Specifically, the middle-button causes a middle-button event to be generated and fed to the application with focus--good thing for me as a Unix programmer as the Unix apps I'm using via Windows all use this middle button all the time.

Again with just the default drivers, the Logitech also works perfectly in all respects: the cursor moves smoothly. Left and right buttons work. Scroll wheel is fine. And in fact the middle-button is invariably recognized by the OS... but treated as if it is a depress of the left Windows Logo Key. In other words a click of the middle mouse opens the Start Menu. Pressing and holding down middle-button then the X key gives me the "quick link menu" just as chording the Left Windows Logo Key with X.

My aim in asking this question is so that I can determine whether 1) something is simply translating this event--knowledge of which would hopefully let me turn it off--or 2) whether the OS is definitely seeing middle-button events and somehow treating them as if they were Windows logo key events.

1 Answer 1


AutoHotkey has a good keyboard/scan code monitor that you could use just to see what keys it thinks are being pressed. That may only be helpful in combination with enabling/disabling certain combinations--it won't tell you directly if something is being reassigned.

Once installed, run the default script or a new script that has the #Persistent keyword, then right click the H icon in the tray menu to open, then use the menus to get the key history list. Press keys/buttons for testing, and then use F5 to refresh the key history list.

Also, you may need to put #InstallMouseHook and/or #InstallKeybdHook in the script.

Windows logo key in AutoHotkey is denoted as LWin, RWin, or # when used in front of a hotkey definition.

  • 1
    Also, if it turns out that the reassignment is triggering via a key you don't normally use, like RWin perhaps instead of LWin, you could also workaround by using AutoHotkey to reassign RWin back to the middle button.
    – JJohnston2
    Oct 30, 2019 at 4:56
  • 1
    Further thought: does the Logitech Setpoint (or other) utility work for the T400? Check what's available. Logitech software works well for assigning mouse/keyboard buttons and may be causing this and/or able to fix it.
    – JJohnston2
    Oct 30, 2019 at 5:01
  • I installed the Logitech Windows 10 software: 1) their bluetooth utility Unifying and 2) SetPoint. SetPoint only has the "Tools" tab, with subtabs for things like support, system report, automated checks for new versions, version numbers etc. Oct 30, 2019 at 6:39
  • SetPoint has additional tabs what would show up if the mouse was a compatible device that could be configured in SetPoint. So apparently it's not. Did you check if there was other T400 specific software available for download?
    – JJohnston2
    Oct 31, 2019 at 0:41
  • 1
    Sorry couldn't remember the right hook flags earlier without looking them up, I've updated the original post. This is a really annoying problem you have on your hands, I hope you find a fix for it. If you can't figure out the 'right' way to do it eventually, there are some different pieces of code I know that are out there for AutoHotkey that are supposed to be able to detect which HID you're getting keystrokes from--if something like that worked it would allow you to completely re-map everything correctly, but I've never actually done that myself.
    – JJohnston2
    Nov 1, 2019 at 4:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.