Hi all,

Trying to configure my joystick so I can use the hat switch to look around.

js_demo sees it as:

Joystick test program.
~~~~~~~~~~~~~~~~~~~~~~
Joystick 0: "Analog 3-axis 4-button joystick"
Joystick 1 not detected
Joystick 2 not detected
Joystick 3 not detected
Joystick 4 not detected
Joystick 5 not detected
Joystick 6 not detected
Joystick 7 not detected
+--------------------JS.0----------------------+
| Btns Ax:0 Ax:1 Ax:2 |
+----------------------------------------------+
| 0000 +0.0 +0.0 +0.2 . . . . . |


The hat switch just activates more than one button at once, e.g. left activates switch 0 and 1.
I can't figure out how to set the bindings so that an action occurs only when two or more buttons are activated simultaneously.
I want something like:

--prop:/input/joysticks/js[0]/button[0,1]/repeatable=true
--prop:/input/joysticks/js[0]/button[0,1]/binding/command=property-adjust
--prop:/input/joysticks/js[0]/button[0,1]/binding/property=/sim/current-view/goal-heading-offset-deg
--prop:/input/joysticks/js[0]/button[0,1]/binding/step=1

Is it possible?

TIA,
Geoff


_______________________________________________
Flightgear-users mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-users

Reply via email to