aboutsummaryrefslogtreecommitdiff
path: root/keyboards/rubi
diff options
context:
space:
mode:
authorJoel Challis <[email protected]>2024-06-22 12:14:17 +0100
committerGitHub <[email protected]>2024-06-22 12:14:17 +0100
commit7824e7ed9ba3e79103625b6f038033eb3f5c5320 (patch)
treec2a9095508b7f451a49b0b192d742194b83f485b /keyboards/rubi
parent17498fa48a8c5c0ac439e59d0db12a41954d4fb0 (diff)
downloadqmk_firmware-7824e7ed9ba3e79103625b6f038033eb3f5c5320.tar.gz
qmk_firmware-7824e7ed9ba3e79103625b6f038033eb3f5c5320.zip
Migrate `led_update_kb` implementations to DD (#23983)
Diffstat (limited to 'keyboards/rubi')
-rw-r--r--keyboards/rubi/keyboard.json3
-rw-r--r--keyboards/rubi/rubi.c9
2 files changed, 3 insertions, 9 deletions
diff --git a/keyboards/rubi/keyboard.json b/keyboards/rubi/keyboard.json
index cb94b58615..555376b533 100644
--- a/keyboards/rubi/keyboard.json
+++ b/keyboards/rubi/keyboard.json
@@ -22,6 +22,9 @@
"resync": true
}
},
+ "indicators": {
+ "caps_lock": "C6"
+ },
"matrix_pins": {
"cols": ["B3", "B2", "B1", "F7"],
"rows": ["F0", "F1", "F4", "F5", "F6"]
diff --git a/keyboards/rubi/rubi.c b/keyboards/rubi/rubi.c
index 89bf9caa6d..4f0536397f 100644
--- a/keyboards/rubi/rubi.c
+++ b/keyboards/rubi/rubi.c
@@ -63,12 +63,3 @@ bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
return process_record_user_oled(keycode, record);
}
-
-
-bool led_update_kb(led_t led_state) {
- bool res = led_update_user(led_state);
- if (res) {
- gpio_write_pin(C6, led_state.num_lock);
- }
- return true;
-}