You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Travis Burtrum a92bf7ec6c Add example systemd jobs 6 years ago
c Switch to Python as main implementation. 10 years ago
configs Update configurations. 10 years ago
gentoo/sys-apps/uinput-mapper Update ebuild. 10 years ago
keymaps Revert numpad to standard layout from phone for default keymap 8 years ago
misc Add example systemd jobs 6 years ago
uinputmapper Implement caps-lock modifying extra keys 8 years ago
.gitignore Implement keymap support into input-read, along with directly writing to devices without piping to input-create 10 years ago
COPYING Add GPL-3. 10 years ago
Makefile Attempt to put support libraries in a folder. 10 years ago
README.rst Update README.rst 8 years ago
input-create Update ebuild. 10 years ago
input-read Change name to something static 6 years ago
input-replay Initial version of input-replay. 10 years ago



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:


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

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

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

Development notes

Generating uinputmapper/

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/