Update joystick docs for addition of interval parameter to digital hat bindings.
This commit is contained in:
parent
a351eed684
commit
0785c61968
1 changed files with 8 additions and 0 deletions
|
@ -622,6 +622,14 @@ Here's an example of how to use an axis to adjust the elevator trim:
|
||||||
--prop:/input/joysticks/js/axis[1]/high/binding/step=-0.001
|
--prop:/input/joysticks/js/axis[1]/high/binding/step=-0.001
|
||||||
</PRE>
|
</PRE>
|
||||||
<br>
|
<br>
|
||||||
|
<p>
|
||||||
|
If you want you can specify a time interval for processing digital hat repeats. For example
|
||||||
|
if you want an interval of 0.05 seconds, which will effect up to 20 repeats per second, then add
|
||||||
|
the following to the property:
|
||||||
|
<PRE>
|
||||||
|
--prop:/input/joysticks/js/axis[1]/interval-sec=0.05
|
||||||
|
</PRE>
|
||||||
|
<br>
|
||||||
<P>
|
<P>
|
||||||
You could also bind some axes to brakes, so that you can use positions
|
You could also bind some axes to brakes, so that you can use positions
|
||||||
between between 0.0 (no brakes) and 1.0 (full brakes).
|
between between 0.0 (no brakes) and 1.0 (full brakes).
|
||||||
|
|
Loading…
Reference in a new issue