iskey: new utility

iskey tells you if any of a given list of keys are pressed on any input
device in the system.

e.g.

$ iskey KEY_VOLUMEDOWN

Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
This commit is contained in:
Caleb Connolly 2024-04-12 22:39:22 +01:00
parent fc99725211
commit 704f23576a
No known key found for this signature in database
GPG key ID: 0583312B195F64B6
4 changed files with 145 additions and 0 deletions

View file

@ -14,6 +14,8 @@ BuffyBox is a suite of graphical applications for the terminal.
**[squeek2lvgl]** Converter for transforming [Squeekboard] layouts into [LVGL]-compatible C code
**[iskey]** - A utility for checking for key presses in bash scripts.
**[shared]** Internal code that is shared by some or all applications in the suite but not meant to be used externally
## Contributing
@ -44,6 +46,7 @@ For the license of bundled images and fonts, see [shared/cursor] and [shared/fon
[LVGL]: https://github.com/lvgl/lvgl
[shared]: ./shared
[squeek2lvgl]: ./squeek2lvgl
[iskey]: ./iskey
[Squeekboard]: https://gitlab.gnome.org/World/Phosh/squeekboard
[shared/cursor]: ./shared/cursor
[shared/fonts]: ./shared/fonts