summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorBen <BenRoe@users.noreply.github.com>2019-02-15 06:00:57 +0100
committerDrashna Jaelre <drashna@live.com>2019-02-15 06:00:57 +0100
commit1e1b55fbdf61c5a8b6aa8642e3743e4e193d9956 (patch)
tree308a8bf94aad665b434a3a2875d74f989be48b8d /docs
parentd7754a19b97d65f878a3eaafe379db025bffd3bf (diff)
downloadqmk_firmware-1e1b55fbdf61c5a8b6aa8642e3743e4e193d9956.tar.gz
qmk_firmware-1e1b55fbdf61c5a8b6aa8642e3743e4e193d9956.tar.xz
Improve Encoder documentation (#5130)
Diffstat (limited to 'docs')
-rw-r--r--docs/feature_encoders.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/feature_encoders.md b/docs/feature_encoders.md
index 6eab402ef..dd12c91ce 100644
--- a/docs/feature_encoders.md
+++ b/docs/feature_encoders.md
@@ -38,7 +38,7 @@ or `keymap.c`:
} else {
tap_code(KC_PGUP);
}
- } else if (index == 2) {
+ } else if (index == 1) { /* Second encoder
if (clockwise) {
tap_code(KC_UP);
} else {