aboutsummaryrefslogtreecommitdiff
path: root/keyboards/jukaie/jk01
diff options
context:
space:
mode:
authorJoel Challis <[email protected]>2024-07-14 06:38:04 +0100
committerGitHub <[email protected]>2024-07-14 06:38:04 +0100
commitc0aca9f45cce70d590f8644374b957b0161eaabc (patch)
treef66e31771c4f1ca8b0dc3183eb379d319ce63f0b /keyboards/jukaie/jk01
parente76069ea4eb73d97c85cf0272fe14285fad32fb8 (diff)
downloadqmk_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.c8
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