mirror of
https://github.com/moparisthebest/uinput-mapper
synced 2024-11-22 16:12:16 -05:00
2 lines
127 B
Bash
2 lines
127 B
Bash
echo '#include <linux/input.h>' | gcc -E -dM - | grep '#define KEY_' | cut -f2 -d" " | sed 's/KEY_.*/DEF_KEY(&)/' > def_keys.h
|