X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=docs%2Ffeature_encoders.md;h=bb2d538e7ef027075ac2159d9fdf85bd87460e95;hb=d686c0ea43d6a9db7768da64ee54c3ba25c018f7;hp=6eab402ef94f846a03943d46db974481514aa217;hpb=3542e573c8ee464f62fc5e9a0f618d3a244048c0;p=qmk_firmware.git diff --git a/docs/feature_encoders.md b/docs/feature_encoders.md index 6eab402ef..bb2d538e7 100644 --- a/docs/feature_encoders.md +++ b/docs/feature_encoders.md @@ -6,7 +6,6 @@ Basic encoders are supported by adding this to your `rules.mk`: and this to your `config.h`: - #define NUMBER_OF_ENCODERS 1 #define ENCODERS_PAD_A { B12 } #define ENCODERS_PAD_B { B13 } @@ -38,7 +37,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 {