diff --git a/quantum/template/base/keyboard.c b/quantum/template/base/keyboard.c index fc31c294a2..aeffc28e1e 100644 --- a/quantum/template/base/keyboard.c +++ b/quantum/template/base/keyboard.c @@ -17,34 +17,32 @@ #include "%KEYBOARD%.h" // Optional override functions below. -// You can leave any or all of these undefined. +// You can leave any or all of these undefined. Remove the ones you don't use. // These are only required if you want to perform custom actions. /* void matrix_init_kb(void) { // put your keyboard start-up code here // runs once when the firmware starts up - - matrix_init_user(); } void matrix_scan_kb(void) { // put your looping keyboard code here // runs every cycle (a lot) - - matrix_scan_user(); } bool process_record_kb(uint16_t keycode, keyrecord_t *record) { // put your per-action keyboard code here // runs for every action, just before processing by the firmware - - return process_record_user(keycode, record); + // Return true if key processing should continue as normal + // Return false if key processing should stop here. + return true; } bool led_update_kb(led_t led_state) { // put your keyboard LED indicator (ex: Caps Lock LED) toggling code here - - return led_update_user(led_state); + // Return true if LED indicator processing should continue as normal + // Return false if LED indicator processing should stop here. + return true; } */