Joystick/SimpedGameport

From FlightGear wiki
Jump to navigation Jump to search

How to setup the "analog" (non-USB) Simped rudder pedals in ubuntu Linux. Hardware needed:

  • 2nd hand Simped pedals
  • a PCI Soundblaster Soundcard with DB15 gameport connector

~/.fgfs/Input/Joysticks/simped4.xml

<PropertyList>

 <name>Analog 4-axis 4-button joystick</name>

 <axis n="1">
  <desc>Rudder</desc>
  <binding>
   <command>property-scale</command>
   <property>/controls/flight/rudder</property>
   <factor type="double">1.0</factor>
   <squared type="bool">true</squared>
  </binding>
 </axis>

</PropertyList>

/etc/modules

# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.

lp
rtc

# Generated by sensors-detect on Sun Mar 10 01:48:26 2013
# Chip drivers
coretemp

#gameport joystick & Pedal
analog

/etc/modprobe.d/alsa-base.conf

.
.
.
.
options snd-ens1371 joystick_port=1