-
Notifications
You must be signed in to change notification settings - Fork 281
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
Allow enabling Plover on a subset of keyboards #1187
Comments
Possible on Linux (the code pretty much already support it: you can try changing |
It might be possible on Windows: https://www.codeproject.com/articles/716591/combining-raw-input-and-keyboard-hook-to-selective Perhaps ctypes can also be used here, like how it was used for the hook API. Root (administrator) privilege appears to be unnecessary, unless the driver method is used. Related: This feature can be implemented in a separate (machine) plugin as well, although there might be significant code duplication with Plover's keyboard/oslayer module. |
It links to a C program that shows how to suppress all keys in internal keyboard, but that requires IOKit. Unfortunately, IOKit will not be wrapped in pyobjc... although it looks like there are different libraries. |
With all the pending reorganization on |
Thinking about it, if this is enabled it would also make sense to set the keyboard error to "disconnected" when none of the keyboards in the subset can be found. It would be better to disable plover-auto-reconnect-machine plugin with this feature though (because the plugin is hardcoded to check serial port only) I implemented the feature in my test dev branch, seems to work well. Only for X though since that's the one I need the most. (also because my keyboard connection is a bit fickle, so seeing whether it's connected is very useful) |
My original plan is to develop something like this: But I realize it is overkill, because it is highly unlikely that the user would want to use more than one keyboard anyway. There's just one case where it makes sense to enable on all keyboards: when the user uses the default configuration (and there are multiple keyboards connected). Then, we wouldn't know which keyboard the user want to use. In retrospect, it would also makes sense to allow setting arpeggiate per keyboard. But implementing all the logic correctly is going to be difficult. |
I'm actually running into this issue. I use a Multisteno with Plover as my main keyboard, but I'm also currently trying to learn controller steno. Having to switch the protocol between Gemini PR and Controller is really cumbersome and annoying. |
This is not exactly what this issue addresses (although it is addressed in the extension "Allow from multiple inputs"). If the protocol is different, you can simply use a translation with the format
to switch between them. Of course, there's also a small problem is if you want to switch from Controller to Gemini PR then you need to press the chord on the controller. |
(as explained in the title.)
Sometimes the user might want to use a mechanical keyboard to type in steno and the normal keyboard to type in Qwerty. It should not be necessary to PHROLG every time.
Extension: allowing multiple keyboards to be able to type in different steno systems.
Another extension: recognizing input from multiple types of machines at once.
(perhaps this is not very useful, same way as how people only type from one keyboard at a time; besides, perhaps keyboard+professional steno machine is the most common option)
The text was updated successfully, but these errors were encountered: