My mouse right-click is double-clicking. I want to have a time interval between two clicks to register the second one. Is there a way to do this in KDE Plasma 6?

  • rotopenguin@infosec.pub
    link
    fedilink
    English
    arrow-up
    7
    ·
    edit-2
    5 months ago

    https://askubuntu.com/questions/1351909/lowering-mouse-debounce-time

    What you’re looking for is called “debouncing”. I think the answer I’m linking here is wrong, the time is not tuneable in libinput. If you want to go through the ordeal of re-compiling libinput and shoving it in your system (without breaking it all?), it is

    debounce_set_timer() and debounce_set_timer_short() in evdev-debounce.c. I think it’s the ms2us(25) call.

  • Avid Amoeba@lemmy.ca
    link
    fedilink
    arrow-up
    5
    arrow-down
    1
    ·
    5 months ago

    You can probably hack the input system. That’d probably be somewhere in libinput. If there’s no configuration for something like this you could apt-src libinput, hack it, recompile and replace the existing libinput. 😂