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

7
iskey/meson.build Normal file
View file

@ -0,0 +1,7 @@
project('iskey', 'c')
libevdev_dep = dependency('libevdev')
iskey_exe = executable('iskey',
'iskey.c',
dependencies: libevdev_dep)