diff options
author | Ryan <fauxpark@gmail.com> | 2023-02-17 13:14:29 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-17 13:14:29 +1100 |
commit | f4ba17c4a0ee59603c167b04f2d6f6eee8b2cf1b (patch) | |
tree | 11fec680226404eb46d2c61305cf7e848450c4d9 /keyboards/dyz/selka40 | |
parent | d784f78bd0a034c1d6085379615014fd701536ab (diff) |
Move LED indicator config to data driven (#19800)
Diffstat (limited to 'keyboards/dyz/selka40')
-rw-r--r-- | keyboards/dyz/selka40/config.h | 4 | ||||
-rw-r--r-- | keyboards/dyz/selka40/info.json | 6 |
2 files changed, 6 insertions, 4 deletions
diff --git a/keyboards/dyz/selka40/config.h b/keyboards/dyz/selka40/config.h index cdb700c75e..d93f882fb0 100644 --- a/keyboards/dyz/selka40/config.h +++ b/keyboards/dyz/selka40/config.h @@ -17,10 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #pragma once -#define LED_CAPS_LOCK_PIN B1 -#define LED_NUM_LOCK_PIN B3 -#define LED_SCROLL_LOCK_PIN B2 - #define TAP_CODE_DELAY 10 // Need this delay for some keys like VOLD/VOLU to work #define ENCODERS_PAD_A { D6 } #define ENCODERS_PAD_B { D7 } diff --git a/keyboards/dyz/selka40/info.json b/keyboards/dyz/selka40/info.json index d5efd04811..246473ec3d 100644 --- a/keyboards/dyz/selka40/info.json +++ b/keyboards/dyz/selka40/info.json @@ -32,6 +32,12 @@ "pid": "0x0012", "device_version": "0.0.1" }, + "indicators": { + "caps_lock": "B1", + "num_lock": "B3", + "scroll_lock": "B2", + "on_state": 0 + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "layouts": { |