浏览代码

Improve Encoder documentation (#5130)

Ben 6 年之前
父节点
当前提交
1e1b55fbdf
共有 1 个文件被更改,包括 1 次插入1 次删除
  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 {