-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request: Mouse button support #39
Comments
That shouldn't be too hard, Interception can deal with mice (just a couple of flags to change). I didn't do it because of performance (mice send a LOT of updates when you move them; I would make this optional via config switch). |
Hey thanks for giving it some thought! I'm also unsurprised to hear you're considering performance, I noticed capsicain was very responsive. I wouldn't want to interfere with that. A common example for me would be that I use the 'forward' button on the side of the mouse, as the 'ctrl' key. Handy for all those things that need ctrl+click or ctrl+drag, when my left hand decides it doesn't want to act right. Similarly, the 'back' button is my 'shift' key. You mentioned mapping keys to real/virtual keys, it may be worth a mention that I use some of the F13-F24 keys on my extra mouse buttons so that those buttons are visible to the system despite not being actual mouse buttons. I don't know if that might interfere? |
Regarding F24: For convenience and to avoid misunderstandings (especially when assigning unused scancodes for mouse keys) it would be an improvement to add F24 to the list of defined keys, to replace SC_0x76. |
I wonder if there would be any interest in mouse button support for Capsicain?
I don't expect anything too far beyond the existing behaviour; handling exactly the same as the existing keyboard support, but with M1-M5 buttons also, would be super useful. I would like to use my mouse buttons as keys, and vice-versa, to help address some medical issues with my hands.
I would be happy to assist with any code contributions you might need, if that helps any?
Great project, either way. Cheers!
The text was updated successfully, but these errors were encountered: