User Tools

Site Tools


games:bsd:flightgear

This is an old revision of the document!


Table of Contents

Expects:

/dev/uhid0

ln -s /dev/ugen0.6 /dev/uhid0

error: /dev/uhid0: Inappropriate ioctl for deviceFound 0 joystick(s)

ln -s /dev/input/event13 /dev/uhid0

error: /dev/uhid0: Invalid argumentFound 0 joystick(s)

uhidd works

  • Get ugen#.# from dmesg
  • Hot-plug controller and get event# by last timestamp
dmesg
ls -la '/dev/input'
chown espionage724:espionage724 /dev/input/event13
/usr/local/sbin/uhidd -v -kmohs -u /dev/ugen0.6
rm -f '/dev/uhid0' && ln -s '/dev/uvhid0' '/dev/uhid0'

Controls

Axis

  • Axis 0: View (horizontal) (hat dpad left/right)
  • Axis 1: View (vertical (hat dpad up/down) (inverted)
  • Axis 2: Aileron (stick left/right)
  • Axis 3: Elevator (stick up/down) (inverted)
  • Axis 4: Rudder (stick twist left/right)
  • Axis 5: Throttle All Engine (wheel)
  • Axis 6: None (unknown)
  • Axis 7: None (unknown)

Column 1

  • 2: Flaps Down (stick bottom circle button)

Column 3

  • 1: Flaps Up (stick top circle button)
/srv/www/wiki/data/attic/games/bsd/flightgear.1725883620.txt.gz · Last modified: by Sean Rhone