Page 1 of 1

Prevent sending repeated keystokes?

Posted: Sat Jan 02, 2021 6:18 pm
by xpclient
I am running the latest XMBC 2.19.2 on Windows 10 Enterprise 1803.

My mouse has a tilt wheel which works with XMBC.

For tilt left, I wanna assign: Send keys {CTRL}{LMB}
For tilt right, I wanna assign: {CTRL}W

However it is so sensitive that when I press actually do tilt left, it opens the same link multiple times. Similarly if I tilt right, it closes multiple tabs that are open.

How do I make it send the keystokes only once and then not repeat them so fast again?

I tried {WAIT:2} but that just delays it but still sends the keystrokes after the waiting period. How do I send the keystroke just once and then completely block it for few seconds until I press tilt left/right again?

Re: Prevent sending repeated keystokes?

Posted: Sat Jan 02, 2021 6:29 pm
by phil
Try Ignore repeated remapped horizontal scroll on the profile options tab (you may have to play with the time (milliseconds) too to find the optimal solution.

Re: Prevent sending repeated keystokes?

Posted: Sat Jan 02, 2021 6:48 pm
by xpclient
Missed that setting! Thank you very much!!!

Happy new year and stay safe.

Re: Prevent sending repeated keystokes?

Posted: Mon Mar 08, 2021 2:41 pm
by noxcovenant
My solution was switching to Layer 2 after the button press.

Code: Select all

Simulated Keys: (pressed)[{UP}{LAYER:2}]
And then on the Layer 2 settings, I checked Switch to Layer 1 after 1 seconds.

But maybe I should try phil's suggestion. Thanks for the idea.

Re: Prevent sending repeated keystokes?

Posted: Mon Mar 08, 2021 2:53 pm
by noxcovenant
Actually ignore my crude solution. After doing additional testing, phil's suggestion was more elegant. Thanks again.