mirror of
https://github.com/moparisthebest/uinput-mapper
synced 2024-11-10 10:55:01 -05:00
4323e92a13
read.py now deprecates test.py I went with optparse rather than argparse to support Python <2.7. Switching to argparse later should not be that hard. Configurations still need to be extended with, among other things: * Name for the device |
||
---|---|---|
confs | ||
py | ||
read-device | ||
config_functions.h | ||
config.h | ||
Makefile | ||
map.c | ||
README.rst | ||
TODO |
uinput-mapper ============= uinput-mapper maps input devices to new virtual input devices, using (as implied by the name /dev/uinput[1]). Configuration is done in the C language (preprocessor mostly) to keep things simple and clean. Comments, feedback, success stories, bugs and rants all welcome. [1] Or /dev/input/uinput depending on the OS. Building ======== Simply: make to build the program. But you probably want to configure it first. Configuration ============= Configuration is done in the C preprocessor (and just C), recompile if you make changes. Symlink "config.h" to an configuration file in confs/ (or just create it). The example config confs/techinc-arcade.h is documented and should (hopefully) be clear enough. Mind you that invalid configurations can lead to compile-time and run-time errors. Bugs ==== None that I am aware of, but if you find some please drop me a mail at http://wizzup.org.