ydokey v0.4.2
ydokey
A simple command-line utility for Linux to convert key commands to raw keycodes which used in ydotool
The Why & The How
From ydotool key
:
Since there's no way to know how many keyboard layouts are there in the world, we're using raw keycodes now.
Syntax:
<keycode>:<pressed>
See
/usr/include/linux/input-event-codes.h
for available key codes (KEY_*
).
For example Ctrl+F8
.
What you want is:
ydotool key 29:1 66:1 29:0 66:0
With ydokey
you can do the same with:
ydotool key $(ydokey -k Ctrl+F8)
See ydokey -h
for more info.
Installation
Contributing
- Fork it (https://github.com/mamantoha/ydokey/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
Contributors
- Anton Maminov - creator and maintainer
Repository
ydokey
Owner
Statistic
- 2
- 0
- 1
- 0
- 0
- almost 2 years ago
- June 16, 2022
License
MIT License
Links
Synced at
Sat, 21 Dec 2024 08:28:15 GMT
Languages