guangmingwan / linuxjoymap

A linux userspace device driver that allows joystick events to be remapped. Several joysticks can be combined into a single controller, and button/axes events can be remapped to new joystick, keyboard or mouse events. Advanced scripting also supported. Forked from Bazaar SF repo. Many thanks to original author alexandrehardy.

Home Page:https://sourceforge.net/projects/linuxjoymap/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

A linux userspace device driver that allows joystick events to be remapped. Several joysticks can be combined into a single controller, and button/axes events can be remapped to new joystick, keyboard or mouse events. Advanced scripting also supported. Forked from Bazaar SF repo. Many thanks to original author alexandrehardy.

https://sourceforge.net/projects/linuxjoymap/

License:GNU General Public License v2.0


Languages

Language:C 90.0%Language:Yacc 8.0%Language:Lex 1.1%Language:Makefile 0.4%Language:Shell 0.3%Language:Objective-C 0.2%