Rivoreo Source Code Repositories
src.rivoreo.one
/
systemd-stable
/
v234-stable
/
.
/
src
/
udev
/
generate-keyboard-keys-list.sh
blob: 7a74e0dae1e63c8cb69534db42f0459d54e77bf2 [
file
] [
log
] [
blame
] [
raw
]
#!/bin/sh -eu
$1
-
dM
-
include linux
/
input
.
h
-
</
dev
/
null
|
awk
'
/\<(KEY_(MAX|MIN_INTERESTING))|(BTN_(MISC|MOUSE|JOYSTICK|GAMEPAD|DIGI|WHEEL|TRIGGER_HAPPY))\>/ { next }
/^#define[ \t]+(KEY|BTN)_[^ ]+[ \t]+[0-9BK]/ { print $2 }
'