From b281d88c6f37a8023bb6bac8733c2e7ec967e085 Mon Sep 17 00:00:00 2001 From: skullY Date: Sat, 29 Feb 2020 20:30:22 -0800 Subject: [PATCH] update the template too --- quantum/template/base/keyboard.c | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) 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; } */