summaryrefslogtreecommitdiff
path: root/keyboards/kinesis/kintlc
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-02-17 13:14:29 +1100
committerGitHub <noreply@github.com>2023-02-17 13:14:29 +1100
commitf4ba17c4a0ee59603c167b04f2d6f6eee8b2cf1b (patch)
tree11fec680226404eb46d2c61305cf7e848450c4d9 /keyboards/kinesis/kintlc
parentd784f78bd0a034c1d6085379615014fd701536ab (diff)
Move LED indicator config to data driven (#19800)
Diffstat (limited to 'keyboards/kinesis/kintlc')
-rw-r--r--keyboards/kinesis/kintlc/config.h14
-rw-r--r--keyboards/kinesis/kintlc/info.json6
2 files changed, 6 insertions, 14 deletions
diff --git a/keyboards/kinesis/kintlc/config.h b/keyboards/kinesis/kintlc/config.h
index 537cb399d8..d36555ce4a 100644
--- a/keyboards/kinesis/kintlc/config.h
+++ b/keyboards/kinesis/kintlc/config.h
@@ -78,17 +78,3 @@
// in clock cycles
#define GPIO_INPUT_PIN_DELAY 0
-
-// The default "1" results in LEDs being on when they should be off and
-// the other way around.
-#define LED_PIN_ON_STATE 0
-
-// Discussion about which Teensy LC pins can be used for driving staus LEDs:
-// https://github.com/kinx-project/kint/issues/55
-// Discussion about using Neopixel LEDs:
-// https://github.com/kinx-project/kint/issues/32
-// Available pins can be seen in:
-// /lib/chibios-contrib/os/hal/boards/PJRC_TEENSY_LC/board.h
-#define LED_CAPS_LOCK_PIN LINE_PIN12
-#define LED_SCROLL_LOCK_PIN LINE_PIN25
-#define LED_COMPOSE_PIN LINE_PIN24
diff --git a/keyboards/kinesis/kintlc/info.json b/keyboards/kinesis/kintlc/info.json
index d05b01ec09..7309fc778f 100644
--- a/keyboards/kinesis/kintlc/info.json
+++ b/keyboards/kinesis/kintlc/info.json
@@ -6,6 +6,12 @@
"pid": "0x345C",
"device_version": "0.0.1"
},
+ "indicators": {
+ "caps_lock": "LINE_PIN12",
+ "scroll_lock": "LINE_PIN25",
+ "compose": "LINE_PIN24",
+ "on_state": 0
+ },
"processor": "MKL26Z64",
"bootloader": "halfkay",
"debounce": 20