diff --git a/README.rst b/README.rst index 443a13d..1afc6e2 100644 --- a/README.rst +++ b/README.rst @@ -4,7 +4,6 @@ uinput-mapper uinput-mapper maps input devices to new virtual input devices, using (as implied by the name /dev/uinput[1]). - [1] Or /dev/input/uinput depending on the OS. @@ -38,4 +37,6 @@ Included in uinput-mapper ; may be split later Development notes ================= -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 " ; echo "input_constants_dict = {" ; sed -r 's/[^ ]+ +([^ ]+).*/"\1" : \1,/' ; echo "}" ) | gcc -E -o /dev/stdout - | grep 'input_constants_dict = {' -A 100000 > gen.py +Generating gen.py: + + 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 " ; echo "input_constants_dict = {" ; sed -r 's/[^ ]+ +([^ ]+).*/"\1" : \1,/' ; echo "}" ) | gcc -E -o /dev/stdout - | grep 'input_constants_dict = {' -A 100000 > gen.py