uinput-mapper/genkeys.sh

2 lines
127 B
Bash
Raw Normal View History

2012-12-03 16:12:48 -05:00
echo '#include <linux/input.h>' | gcc -E -dM - | grep '#define KEY_' | cut -f2 -d" " | sed 's/KEY_.*/DEF_KEY(&)/' > def_keys.h