Page 1 of 1

Remap mouse button without app?

Posted: Wed Sep 15, 2021 7:15 pm
by ozzzo
I've been using X-Mouse for many years and I can barely function without my middle mouse button mapped to <Enter>, but now I'm working at a company that won't let me install anything. Not X-Mouse, not even M$ Keyboard and Mouse Center. Is there a way to remap the middle mouse button to <Enter> without an app?

I tried the portable app, but only approved executables are allowed to run on my win$ 10 workstation.

Re: Remap mouse button without app?

Posted: Thu Sep 16, 2021 8:27 am
by phil
Not that I know of, sorry. Even the mice with built in support like logitech and others require the logitech software be installed to configure the buttons.

Re: Remap mouse button without app?

Posted: Tue Oct 12, 2021 8:43 pm
by ozzzo
Would it be possible for me to write a batch or powershell script that would run on my win$ workstation and change my middle mouse button?

Re: Remap mouse button without app?

Posted: Tue Oct 12, 2021 10:01 pm
by phil
I doubt it - you need to install a low level mouse hook (at least thats how XMBC does it) to intercept the messages and inject new ones, you can do that from .NET using WinAPI calls (but it wont be as efficient as doing it from C++ native Win32/x64 apps) but I believe that's a bit beyond the scope of powershell and defiantly not possible in batch scripts.