Hi: I'm new to FG (Linux), in need of an xml
joystick script. I have an older Flightstick type: 3-axis, 4-button, with a
hat, correctly detected by js-demo. The problem is, the hat is not an
independent set of switches, but only applies the 4 buttons in various
combinations (js_demo does indeed state that it's a 3-axis, 4 button stick). The
spec from CH shows the same thing. I need a script that I can patch into xml to
do the following:
1) If only one button is
actuated, response is per the existing xml file (e.g., this is the simple,
obvious response).
2) If more than one switch is
actuated, I want to create a new set of definitions, depending on which buttons
are in use. This will only happen when using the hat, which I intend to use to
change the vertical/horizontal view.
The FlightGear
documentation/various joystick files don't seem to address this issue. It should
be possible to edit the joystick .xml file to do this, but I could use some
help.
Thanks,
SBM
|
- [Flightgear-users] Joystick Script Stephen Miller
- [Flightgear-users] Re: Joystick Script Melchior FRANZ