Repository navigation
Mouse right-click button delay? #740
|
I have an uncontrollable twitch in my right hand middle finger which constantly causes me to click the right mouse button, needing frequent cancellation of the right-click menu. Is there a way to add a delay to the right click button so that the right click button needs a longer press to activate? I manage this in Windows with X-Mouse Button Control and I'm wondering if I can use input-remapper to do the same in Linux Mint Cinnamon 21.1 |
Replies: 5 comments
|
Yes, use something like this: "if_tap(,hold_keys(BTN_RIGHT),300)" |
|
Thank you. Unfortunately I see no change. However, I'm sure it's my inexperience using the input remapper app so I'll continue trying.
…------- Original Message -------
On Friday, July 14th, 2023 at 20:59, hxka ***@***.***> wrote:
Yes, use something like this: "if_tap(,hold_keys(BTN_RIGHT),300)"
300 specifies a delay in ms you'd need to hold a button for.
—
Reply to this email directly, [view it on GitHub](#740 (comment)), or [unsubscribe](https://github.com/notifications/unsubscribe-auth/AGY5KJXZTPG7QEGYDNP6UDDXQGJJ5ANCNFSM6AAAAAA2KUI25U).
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
|
This is how I have it set up: see attached screenshot.
…On 15/07/2023 07:02, Brian Davies wrote:
Thank you. Unfortunately I see no change. However, I'm sure it's my inexperience using the input remapper app so I'll continue trying.
------- Original Message -------
On Friday, July 14th, 2023 at 20:59, hxka ***@***.***>***@***.***) wrote:
> Yes, use something like this: "if_tap(,hold_keys(BTN_RIGHT),300)"
> 300 specifies a delay in ms you'd need to hold a button for.
>
> —
> Reply to this email directly, [view it on GitHub](#740 (comment)), or [unsubscribe](https://github.com/notifications/unsubscribe-auth/AGY5KJXZTPG7QEGYDNP6UDDXQGJJ5ANCNFSM6AAAAAA2KUI25U).
> You are receiving this because you authored the thread.Message ID: ***@***.***>
|
|
Thank you so much. I had made some silly mistakes but with a bit of trial and error it is now working perfectly as expected. I set the delay to 600 milliseconds, the same delay set in Windows X-Mouse and it works perfectly. It make such a difference to my life. Thanks again. |

Github doesn't support e-mail attachments, so I can't see what you're doing. Here's what I did, it works:
Note the comma before hold_keys, the first parameter to if_tap needs to be empty.