ydokey v0.4.2

A simple command-line utility for Linux to convert key commands to raw keycodes which used in ydotool

ydokey

Built with Crystal Crystal CI GitHub release 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

Get it from the Snap Store

Contributing

  1. Fork it (https://github.com/mamantoha/ydokey/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

Repository

ydokey

Owner
Statistic
  • 2
  • 0
  • 1
  • 0
  • 0
  • about 1 year ago
  • June 16, 2022
License

MIT License

Links
Synced at

Wed, 01 May 2024 11:33:47 GMT

Languages