소스 검색

[Docs] Modify encoder_update_user example to return false (#14541)

Dasky 3 년 전
부모
커밋
19e33b685f
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      docs/feature_encoders.md
  2. 1 1
      docs/ja/feature_encoders.md

+ 1 - 1
docs/feature_encoders.md

@@ -81,7 +81,7 @@ bool encoder_update_user(uint8_t index, bool clockwise) {
             tap_code(KC_UP);
         }
     }
-    return true;
+    return false;
 }
 ```
 

+ 1 - 1
docs/ja/feature_encoders.md

@@ -76,7 +76,7 @@ bool encoder_update_user(uint8_t index, bool clockwise) {
             tap_code(KC_UP);
         }
     }
-    return true;
+    return false;
 }
 ```