Go to file
2016-11-29 00:31:53 -05:00
c Switch to Python as main implementation. 2013-05-14 23:53:37 +02:00
configs Update configurations. 2013-05-24 14:17:12 +02:00
gentoo/sys-apps/uinput-mapper Update ebuild. 2013-07-04 23:24:02 +02:00
keymaps Revert numpad to standard layout from phone for default keymap 2015-01-02 12:36:22 -05:00
misc Add example systemd jobs 2016-11-29 00:31:53 -05:00
uinputmapper Implement caps-lock modifying extra keys 2014-12-30 15:32:45 -05:00
.gitignore Implement keymap support into input-read, along with directly writing to devices without piping to input-create 2013-07-18 23:12:12 -04:00
COPYING Add GPL-3. 2013-05-23 23:57:24 +02:00
input-create Update ebuild. 2013-07-04 23:24:02 +02:00
input-read Change name to something static 2016-11-29 00:11:50 -05:00
input-replay Initial version of input-replay. 2013-07-04 22:58:20 +02:00
Makefile Attempt to put support libraries in a folder. 2013-05-23 23:26:55 +02:00
README.rst Update README.rst 2014-12-22 01:44:50 -05:00

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.


Usage and Configuration
=======================

Configuration is done in Python; examples and other information can be found on
the project website: http://hetgrotebos.org/wiki/uinput-mapper

Bugs
====

None that I am aware of, but if you find some please drop me a mail at
http://wizzup.org. (You can find my email address there)


linux_input.py
==============

Python binding for linux/input.h ; somewhat incomplete.
Included in uinput-mapper ; may be split later

linux_uinput.py
==============


Python binding for linux/uinput.h ; not complete yet.
Included in uinput-mapper ; may be split later


Development notes
=================

Generating uinputmapper/uinput_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 <linux/input.h>" ; echo "input_constants_dict = {" ; awk '{print "\\""$2"\\" : " $3","}' ; echo "}" ) | gcc -E -o /dev/stdout - | awk '{ if ($0 == "input_constants_dict = {") pit=1; if (pit == 1) print $0; }' > uinputmapper/uinput_gen.py