aboutsummaryrefslogtreecommitdiff
path: root/docs/feature_joystick.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/feature_joystick.md')
-rw-r--r--docs/feature_joystick.md5
1 files changed, 2 insertions, 3 deletions
diff --git a/docs/feature_joystick.md b/docs/feature_joystick.md
index 12bbf5b35..95702d6a2 100644
--- a/docs/feature_joystick.md
+++ b/docs/feature_joystick.md
@@ -2,8 +2,6 @@
2 2
3The keyboard can be made to be recognized as a joystick HID device by the operating system. 3The keyboard can be made to be recognized as a joystick HID device by the operating system.
4 4
5This is enabled by adding `JOYSTICK_ENABLE` to `rules.mk`. You can set this value to `analog`, `digital`, or `no`.
6
7!> Joystick support is not currently available on V-USB devices. 5!> Joystick support is not currently available on V-USB devices.
8 6
9The joystick feature provides two services: 7The joystick feature provides two services:
@@ -18,7 +16,8 @@ or send gamepad reports based on values computed by the keyboard.
18To use analog input you must first enable it in `rules.mk`: 16To use analog input you must first enable it in `rules.mk`:
19 17
20```makefile 18```makefile
21JOYSTICK_ENABLE = analog 19JOYSTICK_ENABLE = yes
20JOYSTICK_DRIVER = analog # or 'digital'
22``` 21```
23 22
24An analog device such as a potentiometer found on a gamepad's analog axes is based on a [voltage divider](https://en.wikipedia.org/wiki/Voltage_divider). 23An analog device such as a potentiometer found on a gamepad's analog axes is based on a [voltage divider](https://en.wikipedia.org/wiki/Voltage_divider).