Newer
Older
joymap / README
  1. 1) Make sure that the module uinput is loaded,
  2. I have
  3. rmmod ehci_hcd
  4. rmmod ohci_hcd
  5. rmmod uinput
  6. modprobe uinput
  7. /sbin/reserve_js
  8. modprobe ehci_hcd
  9. modprobe ohci_hcd
  10. in /etc/rc.d/rc.local. This ensures that js0 through 16 are reserved
  11. for the program. The program /sbin/reserve_js waits 10 seconds
  12. before releasing js0 through 16.
  13.  
  14. 2) You need permissions on /dev/uinput and /dev/input/event*
  15. 3) The uinput device can now be specified with --uinput_dev,
  16. and the event device prefix with --event_dev
  17. 4) Run the program loadmap with your script, it will continue running
  18. and provide the joystick events programmed until the program is
  19. terminated.
  20. 5) Joystick selection by number is broken, the vendor and product
  21. identifier must be used