diff options
| author | Joel Challis <git@zvecr.com> | 2025-06-04 13:37:40 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-04 22:37:40 +1000 |
| commit | 7b36727ed17b0c09efd7cf693d49e51af04eca54 (patch) | |
| tree | 6012bd20a269ec67ab2f80a661ebb2f413510996 /quantum/quantum.c | |
| parent | f096e5a3f3af404e6f752185260f183d3ecd503e (diff) | |
Remove `process_action_kb` callback (#25331)
Diffstat (limited to 'quantum/quantum.c')
| -rw-r--r-- | quantum/quantum.c | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/quantum/quantum.c b/quantum/quantum.c index 5503c88953..cc20c7db2b 100644 --- a/quantum/quantum.c +++ b/quantum/quantum.c | |||
| @@ -179,10 +179,6 @@ __attribute__((weak)) bool pre_process_record_user(uint16_t keycode, keyrecord_t | |||
| 179 | return true; | 179 | return true; |
| 180 | } | 180 | } |
| 181 | 181 | ||
| 182 | __attribute__((weak)) bool process_action_kb(keyrecord_t *record) { | ||
| 183 | return true; | ||
| 184 | } | ||
| 185 | |||
| 186 | __attribute__((weak)) bool process_record_modules(uint16_t keycode, keyrecord_t *record) { | 182 | __attribute__((weak)) bool process_record_modules(uint16_t keycode, keyrecord_t *record) { |
| 187 | return true; | 183 | return true; |
| 188 | } | 184 | } |
| @@ -297,9 +293,10 @@ void post_process_record_quantum(keyrecord_t *record) { | |||
| 297 | post_process_record_kb(keycode, record); | 293 | post_process_record_kb(keycode, record); |
| 298 | } | 294 | } |
| 299 | 295 | ||
| 300 | /* Core keycode function, hands off handling to other functions, | 296 | /** \brief Core keycode function |
| 301 | then processes internal quantum keycodes, and then processes | 297 | * |
| 302 | ACTIONs. */ | 298 | * Hands off handling to other quantum/process_keycode/ functions |
| 299 | */ | ||
| 303 | bool process_record_quantum(keyrecord_t *record) { | 300 | bool process_record_quantum(keyrecord_t *record) { |
| 304 | uint16_t keycode = get_record_keycode(record, true); | 301 | uint16_t keycode = get_record_keycode(record, true); |
| 305 | 302 | ||
| @@ -451,7 +448,7 @@ bool process_record_quantum(keyrecord_t *record) { | |||
| 451 | return false; | 448 | return false; |
| 452 | } | 449 | } |
| 453 | 450 | ||
| 454 | return process_action_kb(record); | 451 | return true; |
| 455 | } | 452 | } |
| 456 | 453 | ||
| 457 | void set_single_default_layer(uint8_t default_layer) { | 454 | void set_single_default_layer(uint8_t default_layer) { |
