summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2021-09-09 10:27:58 +1000
committerGitHub <noreply@github.com>2021-09-09 10:27:58 +1000
commit9e77cdf4e66ff1cfdd7effaf77e129bf3ae9a1a5 (patch)
tree03df93c79281afb39509bb4a0d30b94d519ce7a0 /docs
parent3f2a030de6a306ed72eafe7aa143a5b695f9469d (diff)
Bugfix for Joystick and JSON schema (#14295)
Diffstat (limited to 'docs')
-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 12bbf5b35e..95702d6a23 100644
--- a/docs/feature_joystick.md
+++ b/docs/feature_joystick.md
@@ -2,8 +2,6 @@
The keyboard can be made to be recognized as a joystick HID device by the operating system.
-This is enabled by adding `JOYSTICK_ENABLE` to `rules.mk`. You can set this value to `analog`, `digital`, or `no`.
-
!> Joystick support is not currently available on V-USB devices.
The joystick feature provides two services:
@@ -18,7 +16,8 @@ or send gamepad reports based on values computed by the keyboard.
To use analog input you must first enable it in `rules.mk`:
```makefile
-JOYSTICK_ENABLE = analog
+JOYSTICK_ENABLE = yes
+JOYSTICK_DRIVER = analog # or 'digital'
```
An 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).