mirror of
https://github.com/moparisthebest/uinput-mapper
synced 2024-11-10 10:55:01 -05:00
.. | ||
cinput.py | ||
ioctlhelp.py | ||
linux_input.py | ||
linux_uinput.py | ||
map.py | ||
README |
Generate: - input.h constants ; macros: - EV_* - KEY_* - BTN_* - REL_* - ABS_* gcc -E -dM /usr/include/linux/input.h | egrep ' (KEY|BTN|EV|REL|ABS|SYN)_[A-Za-z0-9_]+' | ( echo "#include <linux/input.h>" ; echo "input_constants_dict = {" ; sed -r 's/[^ ]+ +([^ ]+).*/"\1" : \1,/' ; echo "}" ) | gcc -E -o /dev/stdout - | grep 'input_constants_dict = {' -A 100000 > gen.py Lambas for EVIO* - uinput