-
Notifications
You must be signed in to change notification settings - Fork 16
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
After starting repeated return code is send #3
Comments
This happens because it grabs the input device, which stops the
Return key-release code from being picked up by X11. I wonder, is the
bug that the key-release is passed through by spacefn and ignored by X,
or that the key-release is not passed through? Can you work it out?
|
Ok, that makes sense. I'm not very familiar with key presses and release in linux. Can you give me a hint on how I can work out what the actual problem is? I've added a print statement to the Now it shows the following after starting spacefn:
If I hit the space bar then it shows:
|
I observe the same behavior on Ubuntu 19.10. |
I also have it with Linux Mint. Somehow the input device sends Enter-press without Enter-release. |
I can confirm the issue on Ubuntu 20.04. |
After starting spacefn-evdev return code is send repeatedly. This is on Debian 10.
I start the application with:
sudo ./spacefn /dev/input/......
And get the following output:
state 0
and after that a lot of empty lines (carriage returns) that keeps continuing.
After pressing the space bar once everything is fine.
If I start spacefn in the background and redirect all output to
/dev/null
the same happens.BTW: Thanks for this amazing tool that makes using space-fn on a laptop keyboard possible!
The text was updated successfully, but these errors were encountered: