Fake-ungrab keyboard to speed up toggling speed with "Keyboard" machine (X) #1259
user202729
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Note: This is something that I no longer use, and is no longer maintained.
Previously (when I was using a keyboard as the input method/machine for Plover, I was annoyed that the time Plover takes to enable/disable the machine (PHROLG) can sometimes take up to half a second. (and also because of the (now fixed) bug of display locking, it frequently freezes)
I implemented https://github.com/user202729/plover/tree/fake-ungrab that, rather than ungrabbing the keyboard on toggle, just pretend that it's ungrabbed but actually forward/re-emulates the received key presses.
Note that this is incompatible with a recent version of Plover, doesn't have several new features, and only useful on X (Linux).
For some reasons when I run the old code (with or without the patch), the toggle speed is almost instantaneous.
So I'm just going to leave this here.
Beta Was this translation helpful? Give feedback.
All reactions