Преглед на файлове

[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;
 }
 ```