No Description

moparisthebest a92bf7ec6c Add example systemd jobs 1 year ago
c 2c95caf9b1 Switch to Python as main implementation. 5 years ago
configs 6ea3c21983 Update configurations. 4 years ago
gentoo 5b62ccd15a Update ebuild. 4 years ago
keymaps dd3415cb08 Revert numpad to standard layout from phone for default keymap 3 years ago
misc a92bf7ec6c Add example systemd jobs 1 year ago
uinputmapper cad4d650a1 Implement caps-lock modifying extra keys 3 years ago
.gitignore aced80c40d Implement keymap support into input-read, along with directly writing to devices without piping to input-create 4 years ago
COPYING 1dab5cfa6c Add GPL-3. 4 years ago
Makefile 242b278c6b Attempt to put support libraries in a folder. 4 years ago
README.rst 2f6a4bacf6 Update README.rst 3 years ago
input-create 5b62ccd15a Update ebuild. 4 years ago
input-read 1dcc695e63 Change name to something static 1 year ago
input-replay 2837041311 Initial version of input-replay. 4 years ago

README.rst

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 " ; 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