Hi Ron,
Thanks for reporting. Which set of pedals are you using? For me, both brakes
report -1 when not pressed and 1 when pressed.
I am using the saitek pro pedals. When looking at the raw device output (using
jstest /dev/input/js[01]), I see that (usually), the toe brakes output is only
-32767 or +32767 (with no intermediaries). I also typically find that when I
first plug in the pedals, js_demo reports losing the device.
As mentioned, this is mostly how it is reported. Sometimes the correct values
are reported, which makes me believe that I'm either facing a hardware problem
(which went undetected in older kernels), or the more recent kernels don't know
how to handle the Saitek pedals.
In any case, I might want to try downloading a debian live CD to see what kind
of behavior I'm getting there (or test an older Suse installation).
Cheers,
Durk
>
> I just looked at js_demo with my toe brakes and they show the same behavior,
> range is +/-1, left brake sense is reversed.
>
> Debian Linux 2.6.38-2-686 #1 SMP Thu Apr 7 05:24:21 UTC 2011 i686 GNU/Linux
>
> I have this as a configuration: (add an offset so the range is 0..2 then
> multiply by 0.5)
>
> <axis n="1">
> <desc>Left Brake</desc>
> <binding>
> <command>property-scale</command>
> <property>/controls/gear/brake-left</property>
> <offset type="double">-1.0</offset>
> <factor type="double">-0.5</factor>
> </binding>
> </axis>
>
> <axis n="2">
> <desc>Right Brake</desc>
> <binding>
> <command>property-scale</command>
> <property>/controls/gear/brake-right</property>
> <factor type="double">0.5</factor>
> <offset type="double">1.0</offset>
> </binding>
> </axis>
>
>
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel