]> git.donarmstrong.com Git - qmk_firmware.git/commitdiff
Improve Encoder documentation (#5130)
authorBen <BenRoe@users.noreply.github.com>
Fri, 15 Feb 2019 05:00:57 +0000 (06:00 +0100)
committerDrashna Jaelre <drashna@live.com>
Fri, 15 Feb 2019 05:00:57 +0000 (21:00 -0800)
docs/feature_encoders.md

index 6eab402ef94f846a03943d46db974481514aa217..dd12c91ce34e07a3cea177c08ccf40e389c17a35 100644 (file)
@@ -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 {