uinput-mapper/py
Merlijn Wajer 9113cb02b7 Add classes, more event constants.
- Added all event constants except for (FF_)
- Added InputDevice class.
- Cleaned up linux_input a bit
- list of events per event class is now a dictionary
2013-04-20 11:54:17 +02:00
..
README Add classes, more event constants. 2013-04-20 11:54:17 +02:00
cinput.py Add classes, more event constants. 2013-04-20 11:54:17 +02:00
create.py Clean up code a bit more; add a class. 2013-04-20 01:10:16 +02:00
ioctlhelp.py Initial work on create/uinput tests. 2013-04-19 01:11:56 +02:00
linux_input.py Add classes, more event constants. 2013-04-20 11:54:17 +02:00
linux_uinput.py Remove debug statement. 2013-04-20 00:51:36 +02:00
read.py Add classes, more event constants. 2013-04-20 11:54:17 +02:00

README

Generate:
- input.h constants ; macros:
    - EV_*
    - KEY_*
    - BTN_*
    - REL_*
    - ABS_*

    gcc -E -dM /usr/include/linux/input.h | egrep ' (EV|SYN|KEY|BTN|REL|ABS|MSC|LED|SND|REP|SW)_[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