diff options
author | Joel Challis <[email protected]> | 2024-06-25 03:25:05 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2024-06-25 03:25:05 +0100 |
commit | a2176f6a039b5f92ba4cb473f7a2de560b57dd86 (patch) | |
tree | d463c13b44a4139b619c2b3e4a9abab929bd1465 /keyboards/fjlabs | |
parent | 751482580ed992acdbafc262c281e5d179cebe69 (diff) | |
download | qmk_firmware-a2176f6a039b5f92ba4cb473f7a2de560b57dd86.tar.gz qmk_firmware-a2176f6a039b5f92ba4cb473f7a2de560b57dd86.zip |
Migrate `led_update_kb` implementations to DD (#23985)
Diffstat (limited to 'keyboards/fjlabs')
-rw-r--r-- | keyboards/fjlabs/bolsa65/bolsa65.c | 28 | ||||
-rw-r--r-- | keyboards/fjlabs/bolsa65/keyboard.json | 3 |
2 files changed, 3 insertions, 28 deletions
diff --git a/keyboards/fjlabs/bolsa65/bolsa65.c b/keyboards/fjlabs/bolsa65/bolsa65.c deleted file mode 100644 index 669404192c..0000000000 --- a/keyboards/fjlabs/bolsa65/bolsa65.c +++ /dev/null @@ -1,28 +0,0 @@ -/* -Copyright 2020 <[email protected]> -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 2 of the License, or -(at your option) any later version. -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. -You should have received a copy of the GNU General Public License -along with this program. If not, see <http://www.gnu.org/licenses/>. -*/ -#include "quantum.h" - -void matrix_init_kb(void) { - // Initialize indicator LEDs to output - gpio_set_pin_output(F7); // Caps - matrix_init_user(); -} - -bool led_update_kb(led_t led_state) { - bool res = led_update_user(led_state); - if(res) { - gpio_write_pin(F7, led_state.caps_lock); - } - return res; -} diff --git a/keyboards/fjlabs/bolsa65/keyboard.json b/keyboards/fjlabs/bolsa65/keyboard.json index dfa47e90bb..63281ae9f6 100644 --- a/keyboards/fjlabs/bolsa65/keyboard.json +++ b/keyboards/fjlabs/bolsa65/keyboard.json @@ -8,6 +8,9 @@ "pid": "0x0001", "device_version": "0.0.1" }, + "indicators": { + "caps_lock": "F7" + }, "matrix_pins": { "cols": ["C7", "B1", "B2", "B3", "B7", "D0", "D1", "D2", "D3", "D5", "D4", "D6", "D7", "B4", "B5"], "rows": ["F1", "F0", "F6", "F5", "F4"] |