flightgear
, neverball
, seemingly doomsday
but it freezes on launchThis is an old revision of the document!
uhidd
by-default does /dev/uvhid#
, that can be symlinked to /dev/uhid#
or be done automatically with uhidd -H uhid
uhidd
has a lot of flags in examples for keyboard/mouse/consumer, but a joystick only needs the virtual generic interface with uhidd -h
uhidd
has to unbind whatever is on the joystick with uhidd -u
uhidd
takes control of the original /dev/input/event#
device, if it had evdev
or joystick
forced through xorg.conf
that driver gets unloaded according to Xorg.0.log
webcamd
with usbhid
https://man.freebsd.org/cgi/man.cgi?query=webcamd&sektion=8&format=htmldevd.conf
rule below to automate thissu -
pkg install uhidd
uhidd -h -H 'uhid' -u '/dev/ugen0.6'
ugen
match is required (works fine without it but might be safer for USB stacks newer than usbhid
doing the unexpected) (thread)LIBCUSE
not loading (rule still works) TODO: Remove LD_PRELOAD
and testsu -
pkg install uhidd
ee '/usr/local/etc/devd/sidewinder-joystick-uhidd.conf'
notify 0 { match "type" "ATTACH"; match "ugen" "ugen[0-9]+.[0-9]+"; match "vendor" "0x045e"; match "product" "0x0008"; action "env LD_PRELOAD=/usr/lib/libcuse.so /usr/local/sbin/uhidd -h -H uhid -u /dev/$ugen"; };