diff options
| author | QMK Bot <hello@qmk.fm> | 2021-09-09 00:28:34 +0000 |
|---|---|---|
| committer | QMK Bot <hello@qmk.fm> | 2021-09-09 00:28:34 +0000 |
| commit | 8fa2a7ea2a765652430c85759e4a98bbb4474cda (patch) | |
| tree | 27916b4e6cfd8ca84d2d7887f77baf215a0cd9b3 /docs | |
| parent | 60c985ac8e55139057d4494e3959a330f1e96b53 (diff) | |
| parent | 9e77cdf4e66ff1cfdd7effaf77e129bf3ae9a1a5 (diff) | |
| download | qmk_firmware-8fa2a7ea2a765652430c85759e4a98bbb4474cda.tar.gz qmk_firmware-8fa2a7ea2a765652430c85759e4a98bbb4474cda.zip | |
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/feature_joystick.md | 5 |
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 | ||
| 3 | The keyboard can be made to be recognized as a joystick HID device by the operating system. | 3 | The keyboard can be made to be recognized as a joystick HID device by the operating system. |
| 4 | 4 | ||
| 5 | This 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 | ||
| 9 | The joystick feature provides two services: | 7 | The joystick feature provides two services: |
| @@ -18,7 +16,8 @@ or send gamepad reports based on values computed by the keyboard. | |||
| 18 | To use analog input you must first enable it in `rules.mk`: | 16 | To use analog input you must first enable it in `rules.mk`: |
| 19 | 17 | ||
| 20 | ```makefile | 18 | ```makefile |
| 21 | JOYSTICK_ENABLE = analog | 19 | JOYSTICK_ENABLE = yes |
| 20 | JOYSTICK_DRIVER = analog # or 'digital' | ||
| 22 | ``` | 21 | ``` |
| 23 | 22 | ||
| 24 | 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). | 23 | 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). |
