Skip to content

Commit f670064

Browse files
committed
Update Switches_en.md
1 parent 04389b9 commit f670064

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

doc/hardware/subsystems/Switches/Switches_en.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -879,15 +879,21 @@ Place a call to `inputs::addJoystick()` with the following parameters
879879
5. Input number for "left".
880880
6. Input number for "right".
881881
7. Optionally, center position in the horizontal axis, in the range [0,255].
882+
Defaults to 127.
882883
8. Optionally, center position in the vertical axis, in the range [0,255].
884+
Defaults to 127.
883885
9. Optionally, dead zone around the center position in the horizontal axis,
884886
in the range [0,127]. Values close to 0 and 127 will not work properly.
887+
Defaults to 63.
885888
10. Optionally, dead zone around the center position in the vertical axis,
886889
in the range [0,127]. Values close to 0 and 127 will not work properly.
887-
11. Reverse polarity of the horizontal axis.
890+
Defaults to 63.
891+
11. Optionally, reverse polarity of the horizontal axis.
888892
Set to `true` to swap the up and down positions.
889-
12. Reverse polarity of the vertical axis.
893+
Defaults to `false`.
894+
12. Optionally, reverse polarity of the vertical axis.
890895
Set to `true` to swap the left and right positions.
896+
Defaults to `false`.
891897

892898
The default values for the optional parameters should work in most cases.
893899
Change them if the joystick drifts.

0 commit comments

Comments
 (0)