summaryrefslogtreecommitdiff
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-14 21:00:57 -0800
commit1e1b55fbdf61c5a8b6aa8642e3743e4e193d9956 (patch)
tree308a8bf94aad665b434a3a2875d74f989be48b8d
parentd7754a19b97d65f878a3eaafe379db025bffd3bf (diff)
Improve Encoder documentation (#5130)
-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 6eab402ef9..dd12c91ce3 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 {