summaryrefslogtreecommitdiff
path: root/keyboards/dtisaac
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/dtisaac
parentd784f78bd0a034c1d6085379615014fd701536ab (diff)
Move LED indicator config to data driven (#19800)
Diffstat (limited to 'keyboards/dtisaac')
-rw-r--r--keyboards/dtisaac/cg108/config.h5
-rw-r--r--keyboards/dtisaac/cg108/info.json6
-rw-r--r--keyboards/dtisaac/dtisaac01/config.h5
-rw-r--r--keyboards/dtisaac/dtisaac01/info.json5
4 files changed, 11 insertions, 10 deletions
diff --git a/keyboards/dtisaac/cg108/config.h b/keyboards/dtisaac/cg108/config.h
index d3d823e30d..3e77e09b3b 100644
--- a/keyboards/dtisaac/cg108/config.h
+++ b/keyboards/dtisaac/cg108/config.h
@@ -39,11 +39,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL */
#define DIODE_DIRECTION COL2ROW
-#define LED_NUM_LOCK_PIN B5
-#define LED_CAPS_LOCK_PIN B6
-#define LED_SCROLL_LOCK_PIN B7
-#define LED_PIN_ON_STATE 0
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
diff --git a/keyboards/dtisaac/cg108/info.json b/keyboards/dtisaac/cg108/info.json
index 7a33c90cb1..d386e9148a 100644
--- a/keyboards/dtisaac/cg108/info.json
+++ b/keyboards/dtisaac/cg108/info.json
@@ -8,6 +8,12 @@
"pid": "0x4973",
"device_version": "0.0.2"
},
+ "indicators": {
+ "caps_lock": "B6",
+ "num_lock": "B5",
+ "scroll_lock": "B7",
+ "on_state": 0
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
diff --git a/keyboards/dtisaac/dtisaac01/config.h b/keyboards/dtisaac/dtisaac01/config.h
index c5759646d2..2dabfec868 100644
--- a/keyboards/dtisaac/dtisaac01/config.h
+++ b/keyboards/dtisaac/dtisaac01/config.h
@@ -38,11 +38,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL */
#define DIODE_DIRECTION ROW2COL
-#define LED_CAPS_LOCK_PIN D3
-#define LED_SCROLL_LOCK_PIN D5
-#define LED_PIN_ON_STATE 0
-
-
#define BACKLIGHT_PIN B6
#define BACKLIGHT_LEVELS 3
#define BACKLIGHT_BREATHING
diff --git a/keyboards/dtisaac/dtisaac01/info.json b/keyboards/dtisaac/dtisaac01/info.json
index 913092f0c8..4e06790399 100644
--- a/keyboards/dtisaac/dtisaac01/info.json
+++ b/keyboards/dtisaac/dtisaac01/info.json
@@ -8,6 +8,11 @@
"pid": "0x4973",
"device_version": "0.0.1"
},
+ "indicators": {
+ "caps_lock": "D3",
+ "scroll_lock": "D5",
+ "on_state": 0
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {