houmain / keymapper

A cross-platform context-aware key remapper.
GNU General Public License v3.0
257 stars 21 forks source link

Unexpected output delay with mouse + keyboard #65

Closed G-M0N3Y-2503 closed 1 year ago

G-M0N3Y-2503 commented 1 year ago

Running 2.5.1 on linux, If I use the following config

# Mouse
[device="Razer Razer Naga 2014"]
ButtonBack >> LaunchApp1
Any >> Any

# Keyboard
[device="Razer Razer BlackWidow Ultimate 2013"]
Any >> Any

Then in a text editor spam a keyboard button like A and the mouse button ButtonLeft simultaniousely. It seems that keymapper slows to a crawl and all the inputs are buffered in order and gradually output for up to a couple of seconds after I have stoped pressing any inputs.

This becomes obvious when playing games like an FPS with keymapper running.

houmain commented 1 year ago

Hi, this was intended as a feature to prevent accidental selection, when sending mouse buttons to quickly. I made this optional now (by adding a keymapperd parameter). Please try version 2.6.1.

G-M0N3Y-2503 commented 1 year ago

I was being lazy and waited for the update to hit AUR but that appears to have fixed this, Thanks!