Fork of http://linuxjoymap.sf.net/
doc | 5 years ago | ||
man | 5 years ago | ||
oldexamples | 5 years ago | ||
oldparser | 5 years ago | ||
tools | 5 years ago | ||
COPYING | 5 years ago | ||
Makefile | 5 years ago | ||
README | 5 years ago | ||
clock.h | 5 years ago | ||
config.c | 5 years ago | ||
config.h | 5 years ago | ||
devices.c | 5 years ago | ||
dictionary.c | 5 years ago | ||
dictionary.h | 5 years ago | ||
events.c | 5 years ago | ||
keys.h | 5 years ago | ||
keys.txt | 5 years ago | ||
loadmap.c | 5 years ago | ||
makekeys.sh | 5 years ago | ||
mapparser.c | 5 years ago | ||
mapper.h | 5 years ago | ||
parser.h | 5 years ago | ||
program.h | 5 years ago | ||
programparser.c | 5 years ago | ||
reserve_js.c | 5 years ago | ||
validkeys.c | 5 years ago | ||
validkeys.h | 5 years ago | ||
vm.c | 5 years ago |
1) Make sure that the module uinput is loaded, I have rmmod ehci_hcd rmmod ohci_hcd rmmod uinput modprobe uinput /sbin/reserve_js modprobe ehci_hcd modprobe ohci_hcd in /etc/rc.d/rc.local. This ensures that js0 through 16 are reserved for the program. The program /sbin/reserve_js waits 10 seconds before releasing js0 through 16. 2) You need permissions on /dev/uinput and /dev/input/event* 3) The uinput device can now be specified with --uinput_dev, and the event device prefix with --event_dev 4) Run the program loadmap with your script, it will continue running and provide the joystick events programmed until the program is terminated. 5) Joystick selection by number is broken, the vendor and product identifier must be used