summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2021-09-09 00:28:34 +0000
committerQMK Bot <hello@qmk.fm>2021-09-09 00:28:34 +0000
commit8fa2a7ea2a765652430c85759e4a98bbb4474cda (patch)
tree27916b4e6cfd8ca84d2d7887f77baf215a0cd9b3 /docs
parent60c985ac8e55139057d4494e3959a330f1e96b53 (diff)
parent9e77cdf4e66ff1cfdd7effaf77e129bf3ae9a1a5 (diff)
Merge remote-tracking branch 'origin/master' into develop
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).