diff options
author | Joel Challis <[email protected]> | 2024-07-14 06:38:04 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2024-07-14 06:38:04 +0100 |
commit | c0aca9f45cce70d590f8644374b957b0161eaabc (patch) | |
tree | f66e31771c4f1ca8b0dc3183eb379d319ce63f0b /keyboards/jukaie/jk01 | |
parent | e76069ea4eb73d97c85cf0272fe14285fad32fb8 (diff) | |
download | qmk_firmware-c0aca9f45cce70d590f8644374b957b0161eaabc.tar.gz qmk_firmware-c0aca9f45cce70d590f8644374b957b0161eaabc.zip |
Various fixes for keyboards not implementing callbacks correctly (#24116)
Diffstat (limited to 'keyboards/jukaie/jk01')
-rw-r--r-- | keyboards/jukaie/jk01/jk01.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/keyboards/jukaie/jk01/jk01.c b/keyboards/jukaie/jk01/jk01.c index 3c6daabf02..595f6bf43f 100644 --- a/keyboards/jukaie/jk01/jk01.c +++ b/keyboards/jukaie/jk01/jk01.c @@ -155,7 +155,8 @@ void housekeeping_task_kb(void) { gpio_write_pin(C15, keymap_config.no_gui); }; -bool process_record_user(uint16_t keycode, keyrecord_t *record) { +bool process_record_kb(uint16_t keycode, keyrecord_t *record) { + if (!process_record_user(keycode, record)) { return false; } switch (keycode) { @@ -166,8 +167,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { host_consumer_send(0); } return false; /* Skip all further processing of this key */ - - default: - return true; /* Process all other keycodes normally */ } + + return true; /* Process all other keycodes normally */ };
\ No newline at end of file |