Page 1 of 1

Feature request: assign click to a specific key

Posted: Fri Mar 15, 2024 12:25 pm
by rchrdvd
hi,
thanks for such convenient program
i have a notebook with just left and right click. most laptops would be like this i bet.
but i have a few keys that i dont use, that i'd like to use as middle clicks so i can open web browser tabs on new tabs easily.
for example, i'd like to make the Right Shift key into a middle click.
Would this be possible?

Re: Feature request: assign click to a specific key

Posted: Fri Mar 15, 2024 6:56 pm
by phil
Sorry, XMBC is for configuring the mouse buttons, it can not re-map keyboard keys.
That would be a completely different program!

Maybe have a look at Microsoft Powertoys which has a keyboard key remapper

Re: Feature request: assign click to a specific key

Posted: Sat Mar 16, 2024 1:52 am
by rchrdvd
powertoys only lets me remap key to key. not key to mouse.
your program lets me remap mouse to key. so i thought you might have more knowledge of remapping between mouse and key.
i use sharpkeys for key to key, which also does not let me remap mouse to key.
i think neither powertoys nor sharpkeys has any knowledge of remapping mouse clicks and you're the only one that knows how to remap between the two input systems

Re: Feature request: assign click to a specific key

Posted: Sat Mar 16, 2024 2:24 am
by phil
Oh OK I didn't realize powertoys couldn't map to mouse actions...

XMBC is designed to hook into the mouse message queue and then send stuff - it does not hook into the keyboard message queue (well other than for layer modifier keys). To add full keyboard support into XMBC is just far too much effort for a hobby project (that I have little time for at the best of times) ironically, it would probably be the GUI effort involved that would be the slow part, but in any case, its not something I have the time to consider.

I'm sure you will be able to do it with AutoHotkey - but that may be more complex than maybe you want?