Browse Source

Improve Encoder documentation (#5130)

Ben 6 years ago
parent
commit
1e1b55fbdf
1 changed files with 1 additions and 1 deletions
  1. 1 1
      docs/feature_encoders.md

+ 1 - 1
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 {