'button type' controls (such as lights/ebrake/etc) don't work on a D-Pad under Linux, as Linux treats these as an axis rather than a button.
The controls page allow an axis to be selected, but since it is not callibrated anywhere it does not work when racing.
Perhaps the 'button type' controls should not allow an axis to be specified.
There may be a work around (from X-Plane) here:
http://hans.fugal.net/blog/2007/06/02/joystick-hat-in-x-plane-in-linux/
I picked up a '3rd party' PS3 rumble pad to experiment with force-feedback/rumble.
It's interesting to note that the majority of the buttons are pressure sensitive and therefore reported as axis (under Linux).
There is a special Window driver which allows this controller to be used, but this includes different profiles which actually map axis->buttons depending on the profile selected.
For the 'post 2.0' change to the joystick handling should accomodate pressure-buttons.
Simon
I've implemented a new type of control 'ATOB' (axis to button) which can map button functions onto a 1D axis. An axis is compared to min/max values for each function, when there is a match the function is triggered.
This really needs to have a callibration page associated with it, any suggestions on how to do this are welcome. At present you have to edit the 'preferences.xml' file to set min/max.
Note: A D-Pad on linux is (sometimes) represented as a 2D axis, the ATOB can treat each axis seperately to enable use a 4 or more buttons.
fixed in r3709 and r3710
Related
Commit: [r3709]
Commit: [r3710]
Diff: