Browse Source
[Docs] Modify encoder_update_user example to return false (#14541)
pull/14548/head
Dasky
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
2 additions and
2 deletions
-
docs/feature_encoders.md
-
docs/ja/feature_encoders.md
|
|
@ -81,7 +81,7 @@ bool encoder_update_user(uint8_t index, bool clockwise) { |
|
|
|
tap_code(KC_UP); |
|
|
|
} |
|
|
|
} |
|
|
|
return true; |
|
|
|
return false; |
|
|
|
} |
|
|
|
``` |
|
|
|
|
|
|
|
|
|
@ -76,7 +76,7 @@ bool encoder_update_user(uint8_t index, bool clockwise) { |
|
|
|
tap_code(KC_UP); |
|
|
|
} |
|
|
|
} |
|
|
|
return true; |
|
|
|
return false; |
|
|
|
} |
|
|
|
``` |
|
|
|
|
|
|
|