1
0
Fork 0

Update joystick docs for addition of interval parameter to digital hat bindings.

This commit is contained in:
jimw 2003-07-01 19:43:15 +00:00
parent a351eed684
commit 0785c61968

View file

@ -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
</PRE>
<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>
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).