Rivoreo Source Code Repositories
src.rivoreo.one
/
systemd-stable
/
v239-48
/
.
/
src
/
udev
/
generate-keyboard-keys-list.sh
blob: c055f7c7567f8ea13135a808147221e24235de13 [
file
] [
log
] [
blame
] [
raw
]
#!/bin/sh
set
-
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 }
'