https://github.com/user202729/plover-unused-xtest-output
Output plugin for Plover, only use unused key codes in xtest to avoid conflict.
https://github.com/user202729/plover-unused-xtest-output
plover plover-plugins
Last synced: about 1 month ago
JSON representation
Output plugin for Plover, only use unused key codes in xtest to avoid conflict.
- Host: GitHub
- URL: https://github.com/user202729/plover-unused-xtest-output
- Owner: user202729
- License: gpl-3.0
- Created: 2021-04-04T07:40:00.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2021-06-09T16:22:17.000Z (almost 4 years ago)
- Last Synced: 2025-02-17T09:35:27.638Z (3 months ago)
- Topics: plover, plover-plugins
- Language: Python
- Homepage:
- Size: 23.4 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# plover-unused-xtest-output
Output plugin for Plover, send key presses through xtest.
**Note**: the current (as of the time of writing) version of Plover does not support
output plugins, you can enable it by enabling the corresponding extension plugin.
The internal API are used, it might breaking at any time.Only use unused key codes in xmodmap to avoid conflict.
Note that this still use the actual modifier keys.
(this can be changed by unsetting and resetting the modifier map;
however it doesn't affect most keyboard capture functionalities)### Note
* It's recommended to set time between key presses to a positive value to avoid
bugs -- especially sequences of interleaved backspace presses and typing.
* Because the plugin changes `xmodmap` mapping, some programs might send
key codes different from what `plover-xtest-input` requires.### Implementation note
The general user expectation would be (on a typical keyboard):
* `Shift(a)` should result in (uppercase) `A`.
* `Shift(bracketleft)` should result in `braceleft`.
* `Shift(end)` should select until the end of the line on most GUI applications
(like a typical shift(end) keyboard press would do)Therefore, unlike the xtest keyboard emulation plugin, this plugin have to copy
the existing key map on sending key combinations.