Browse Source

fix sample code indent in feature_encoders.md (#8883)

pull/8888/head
Takeshi ISHII 4 years ago
committed by GitHub
parent
commit
bafa35ff46
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      docs/feature_encoders.md
  2. +1
    -1
      docs/ja/feature_encoders.md

+ 1
- 1
docs/feature_encoders.md View File

@ -61,7 +61,7 @@ void encoder_update_user(uint8_t index, bool clockwise) {
} else {
tap_code(KC_PGUP);
}
} else if (index == 1) { /* Second encoder */
} else if (index == 1) { /* Second encoder */
if (clockwise) {
tap_code(KC_DOWN);
} else {


+ 1
- 1
docs/ja/feature_encoders.md View File

@ -66,7 +66,7 @@ void encoder_update_user(uint8_t index, bool clockwise) {
} else {
tap_code(KC_PGUP);
}
} else if (index == 1) { /* Second encoder */
} else if (index == 1) { /* Second encoder */
if (clockwise) {
tap_code(KC_DOWN);
} else {


Loading…
Cancel
Save