Page 1 of 1

5 buttons limit - choose which 5?

Posted: Sat Jul 09, 2022 2:53 pm
by 8idmubg9
Please fill in this template when posting!
XMBC Version: 2.19
Installed or Portable version: Installed
Windows Version: 11
Mouse Information (brand/model): Rapoo VT950Q
Relevant Computer Information (CPU, RAM etc):
Did the problem occur after an upgrade of XMBC? (If so, from what version?): no
Did the problem occur after a Windows update/upgrade? (If so, from what version?): no
How long have you used XMBC?: 2 days
What language and keyboard layout do you use in Windows?: US English

Clear description of the problem - try and include as much information as possible, including what button and mappings you are having problems with (if applicable).: I've seen posts and the FAQs regarding the 5 button limit due to Windows mouse hooks.

Wondering if it's possible to select which 5 buttons are chosen? On this mouse, the default 4 and 5 recognizes the right hand side of the mouse, which isn't as easy to use as the left side buttons (with my thumb).

Re: 5 buttons limit - choose which 5?

Posted: Sat Jul 09, 2022 3:00 pm
by phil
Sorry, no, your mouse or mouse driver makes that choice, and passes that information to the windows mouse message queue, which XMBC hooks into to work out what is pressed - if you could choose, then there wouldn't be a limit on how many buttons would be usable! The limit is because windows mouse message queues only pass on the massages for 5 buttons and that's controlled at device or device driver levels.

In theory the other buttons send messages via different means (raw/direct input) so could be intercepted, but those button messages can not be blocked (which would be a problem for any button that has default action because it would be impossible to block that default action). So there is a chance I could get other buttons to work, but I have tried the past (unsuccessfully) and haven't got the time to spend ages on trying again right now, although I do at least have a mouse with more than 5 buttons now so you never know!

Re: 5 buttons limit - choose which 5?

Posted: Sun Jul 10, 2022 4:36 am
by 8idmubg9
I see! Thank you for the thoughtful reply :D