Choose different mouse button behavior based on cursor movement
Posted: Tue Sep 14, 2021 2:52 am
XMBC Version: 2.19.2
Windows Version: Windows 10 x64
Mouse Information (brand/model): A4Tech
Relevant Computer Information (CPU, RAM etc): AMD Ryzen 5, 16GB RAM
Did the problem occur after an upgrade of XMBC? (If so, from what version?): N/A
Did the problem occur after a Windows update/upgrade? (If so, from what version?): N/A
How long have you used XMBC?: One year
What language and keyboard layout do you use in Windows?: English US
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).:
For starters, this is for a game. I'd like to be able to use the right mouse button to rotate the game view. Game default to rotate is using the middle click. The issue is that the game also uses a lot of right clicks to open the context menu.
Currently, I have XMBC set up like this...
Right button (Button Held)
Normal click - Middle click
Held for: 70 ms - Right click
Abort and revert to the normal click action when the mouse moves - Checked
It's working pretty nicely. Except for the fact that in some high apm situations, the 70ms becomes too slow to bring up the context menu with a right click. I can do 50ms but that leads to problems like my wanting to rotate the game view but it brings up the context menu instead.
So I'm wondering. Is it possible to setup XMBC so that if I right click and the cursor stays in place, it acts as a normal right click; but if I right click, hold, and drag the cursor, it acts as a middle click?
This solves the issue because I can right click (and bring up the context menu) without any delay. And I can also use the right mouse button to rotate the game view.
If the question doesn't make any sense, I apologize. English isn't my first language. But I would be happy to provide more information if needed.
Windows Version: Windows 10 x64
Mouse Information (brand/model): A4Tech
Relevant Computer Information (CPU, RAM etc): AMD Ryzen 5, 16GB RAM
Did the problem occur after an upgrade of XMBC? (If so, from what version?): N/A
Did the problem occur after a Windows update/upgrade? (If so, from what version?): N/A
How long have you used XMBC?: One year
What language and keyboard layout do you use in Windows?: English US
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).:
For starters, this is for a game. I'd like to be able to use the right mouse button to rotate the game view. Game default to rotate is using the middle click. The issue is that the game also uses a lot of right clicks to open the context menu.
Currently, I have XMBC set up like this...
Right button (Button Held)
Normal click - Middle click
Held for: 70 ms - Right click
Abort and revert to the normal click action when the mouse moves - Checked
It's working pretty nicely. Except for the fact that in some high apm situations, the 70ms becomes too slow to bring up the context menu with a right click. I can do 50ms but that leads to problems like my wanting to rotate the game view but it brings up the context menu instead.
So I'm wondering. Is it possible to setup XMBC so that if I right click and the cursor stays in place, it acts as a normal right click; but if I right click, hold, and drag the cursor, it acts as a middle click?
This solves the issue because I can right click (and bring up the context menu) without any delay. And I can also use the right mouse button to rotate the game view.
If the question doesn't make any sense, I apologize. English isn't my first language. But I would be happy to provide more information if needed.