natural-harmonia-gropius / input-event

InputEvent.lua for mpv-player, enhanced input.conf with better, conflict-free, low-latency event mechanism.
MIT License
39 stars 5 forks source link

Delay on Click Commands #32

Closed Cananbolt closed 1 year ago

Cananbolt commented 1 year ago

This script is an actual game-changer. Thank you for sharing it. I was just wondering if it is possible to reduce the delay on the click commands as it is quite noticeable. Every other command (double_click, release, and so on) works as intended with no delay, from what I can see. Thanks again for the awesome script.

natural-harmonia-gropius commented 1 year ago

Since there are multiple possible actions there is no way for me to do this. If there is any good idea or practical case I will try it.

About noticeable delay you can try input-doubleclick-time=200 or lower value, maybe 150.

image

Cananbolt commented 1 year ago

No problem. Your idea of lowering the input-doubleclick-time did the trick. I put it to 125, and there is a notable difference. Thank you so much! I'll go ahead and close the comment as this helped decreased the delay.