diff options
Diffstat (limited to 'quantum/template/template.c')
| -rw-r--r-- | quantum/template/template.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/quantum/template/template.c b/quantum/template/template.c index 6050a2d20..649072eb2 100644 --- a/quantum/template/template.c +++ b/quantum/template/template.c | |||
| @@ -11,8 +11,9 @@ void matrix_scan_user(void) { | |||
| 11 | } | 11 | } |
| 12 | 12 | ||
| 13 | __attribute__ ((weak)) | 13 | __attribute__ ((weak)) |
| 14 | void process_action_user(keyrecord_t *record) { | 14 | bool process_action_user(keyrecord_t *record) { |
| 15 | // leave this function blank - it can be defined in a keymap file | 15 | // leave this function blank - it can be defined in a keymap file |
| 16 | return true; | ||
| 16 | } | 17 | } |
| 17 | 18 | ||
| 18 | __attribute__ ((weak)) | 19 | __attribute__ ((weak)) |
| @@ -34,11 +35,11 @@ void matrix_scan_kb(void) { | |||
| 34 | matrix_scan_user(); | 35 | matrix_scan_user(); |
| 35 | } | 36 | } |
| 36 | 37 | ||
| 37 | void process_action_kb(keyrecord_t *record) { | 38 | bool process_action_kb(keyrecord_t *record) { |
| 38 | // put your per-action keyboard code here | 39 | // put your per-action keyboard code here |
| 39 | // runs for every action, just before processing by the firmware | 40 | // runs for every action, just before processing by the firmware |
| 40 | 41 | ||
| 41 | process_action_user(record); | 42 | return process_action_user(record); |
| 42 | } | 43 | } |
| 43 | 44 | ||
| 44 | void led_set_kb(uint8_t usb_led) { | 45 | void led_set_kb(uint8_t usb_led) { |
