Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/user202729/plover-xtest-input
Plover plugin to capture input from the xtest keyboard.
https://github.com/user202729/plover-xtest-input
plover plover-plugins
Last synced: about 12 hours ago
JSON representation
Plover plugin to capture input from the xtest keyboard.
- Host: GitHub
- URL: https://github.com/user202729/plover-xtest-input
- Owner: user202729
- License: gpl-3.0
- Created: 2021-04-04T07:40:49.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-06-09T16:11:56.000Z (over 3 years ago)
- Last Synced: 2024-09-18T17:46:10.637Z (9 days ago)
- Topics: plover, plover-plugins
- Language: Python
- Homepage:
- Size: 19.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# plover-xtest-input
Capture input from the xtest keyboard.Only on systems that uses X.
Would be useful to use Plover from other machines from a remote control program
(TeamViewer, for example) if it uses xtest keyboard to send key presses.Note: must not be used together with the default output method
(which uses xtest to simulate key presses. That will create an infinite loop).Alternative output methods include [plover-uinput-output](https://github.com/user202729/plover-uinput-output)
(works better, but does not support full Unicode), and [plover-unused-xtest-output](https://github.com/user202729/plover-unused-xtest-output)
(doesn't work as well, especially with keyboard shortcuts)For testing, `xdotool` can be used.
### Machines
When the plugin is installed, two additional machines are listed,
`XTEST keyboard` and `XTEST serial keyboard`.* `XTEST keyboard` captures the key up/key down events like from a normal keyboard.
* `XTEST serial keyboard` captures the key presses events from the XTEST keyboard, then
decode it to a chord using some algorithm (see the source code for details).This was implemented to use Plover over TeamViewer/Dotterel. To use it, you should
download Dotterel (some version that includes [this commit](https://github.com/user202729/dotterel/commit/ba36bd4ffe59626999b98fa1aeaa9e403c80e2ba).
You may need to build it from source), disable all the dictionaries and only keep the
`SerialEncoding` dictionary, then use it normally.