User Tools

Site Tools


bsd:notes:joystick

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
bsd:notes:joystick [2024/11/25 15:06] Sean Rhonebsd:notes:joystick [2025/04/01 03:52] (current) Sean Rhone
Line 53: Line 53:
  
   mv '/usr/local/etc/devd/uhidd-devd.conf' '/usr/local/etc/devd/uhidd-devd.conf~'   mv '/usr/local/etc/devd/uhidd-devd.conf' '/usr/local/etc/devd/uhidd-devd.conf~'
 +
 +===== TODO 2 =====
 +
 +  * This avoids needing ''uhidd'' (connect joystick within 3 seconds)
 +  * TODO: USB device reset command and devd
 +
 +  su - root -c "sysctl 'hw.usb.usbhid.enable=0' && sleep '3' && sysctl 'hw.usb.usbhid.enable=1'"
 +
 +==== Solo Key ====
 +
 +****
 +
 +  su - root -c "sysctl 'hw.usb.usbhid.enable=0' && sleep '3' && sysctl 'hw.usb.usbhid.enable=1' && chmod '060' '/dev/uhid0'"
  
/srv/www/wiki/data/attic/bsd/notes/joystick.1732565179.txt.gz · Last modified: by Sean Rhone