Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Input lag with tap-hold remapping #1028

Open
bellissimogiorno opened this issue Jan 1, 2025 · 1 comment
Open

Input lag with tap-hold remapping #1028

bellissimogiorno opened this issue Jan 1, 2025 · 1 comment

Comments

@bellissimogiorno
Copy link

bellissimogiorno commented Jan 1, 2025

I remapped KEY_SPACE to produce space if tapped, and KEY_ENTER if held, as follows:

input:  space
output: if_tap(key(KEY_SPACE),key(KEY_ENTER),120)

The remapping works, but with immense lag. It feels like input is silently swallowed until I stop typing, then all my keypresses get dumped all at once.

For example, if I were typing this sentence then I would see "For", and then no further would appear until I reach this full stop and pause typing. ... and then the rest of the sentence would appear.

I'm remapping "AT Translated Set 2 keyboard" in Ubuntu 24.04 running Gnome.

I hope the above is clear but if any further information is required I'm happy to provide it. Thank you.

@sezanzeb
Copy link
Owner

sezanzeb commented Jan 1, 2025

if_tap, unlike mod_tap, doesn't behave this way. Can't reproduce in Ubuntu 24.10 running KDE. I'm tempted to think this is a problem with gnome or some other component of your system.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants