summaryrefslogtreecommitdiff
path: root/keyboards/rart
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/rart
parentd784f78bd0a034c1d6085379615014fd701536ab (diff)
Move LED indicator config to data driven (#19800)
Diffstat (limited to 'keyboards/rart')
-rw-r--r--keyboards/rart/rart45/config.h3
-rw-r--r--keyboards/rart/rart45/info.json4
-rw-r--r--keyboards/rart/rart60/config.h3
-rw-r--r--keyboards/rart/rart60/info.json4
-rw-r--r--keyboards/rart/rart75hs/config.h3
-rw-r--r--keyboards/rart/rart75hs/info.json4
-rw-r--r--keyboards/rart/rart80/config.h3
-rw-r--r--keyboards/rart/rart80/info.json4
-rw-r--r--keyboards/rart/rartand/config.h3
-rw-r--r--keyboards/rart/rartand/info.json4
-rw-r--r--keyboards/rart/rartland/config.h3
-rw-r--r--keyboards/rart/rartland/info.json4
-rw-r--r--keyboards/rart/rartlice/config.h5
-rw-r--r--keyboards/rart/rartlice/info.json6
-rw-r--r--keyboards/rart/rartlite/config.h5
-rw-r--r--keyboards/rart/rartlite/info.json5
-rw-r--r--keyboards/rart/rartpad/config.h3
-rw-r--r--keyboards/rart/rartpad/info.json3
18 files changed, 38 insertions, 31 deletions
diff --git a/keyboards/rart/rart45/config.h b/keyboards/rart/rart45/config.h
index 7b3ba660c4..c3e3f80f97 100644
--- a/keyboards/rart/rart45/config.h
+++ b/keyboards/rart/rart45/config.h
@@ -26,9 +26,6 @@
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
-#define LED_CAPS_LOCK_PIN D5
-#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/rart/rart45/info.json b/keyboards/rart/rart45/info.json
index 13c8c8e704..3a3b42f1f6 100644
--- a/keyboards/rart/rart45/info.json
+++ b/keyboards/rart/rart45/info.json
@@ -8,6 +8,10 @@
"pid": "0x0045",
"device_version": "0.0.1"
},
+ "indicators": {
+ "caps_lock": "D5",
+ "on_state": 0
+ },
"processor": "atmega328p",
"bootloader": "usbasploader",
"layouts": {
diff --git a/keyboards/rart/rart60/config.h b/keyboards/rart/rart60/config.h
index 643ce3d657..410fd3bd95 100644
--- a/keyboards/rart/rart60/config.h
+++ b/keyboards/rart/rart60/config.h
@@ -23,9 +23,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE
-#define LED_CAPS_LOCK_PIN GP19
-#define LED_PIN_ON_STATE 0
-
/* disable debug print */
//#define NO_DEBUG
diff --git a/keyboards/rart/rart60/info.json b/keyboards/rart/rart60/info.json
index 91e8eef9ee..44e795b54f 100644
--- a/keyboards/rart/rart60/info.json
+++ b/keyboards/rart/rart60/info.json
@@ -23,6 +23,10 @@
"pid": "0x0060",
"vid": "0x414C"
},
+ "indicators": {
+ "caps_lock": "GP19",
+ "on_state": 0
+ },
"bootmagic": {
"matrix": [0, 1]
},
diff --git a/keyboards/rart/rart75hs/config.h b/keyboards/rart/rart75hs/config.h
index 92592a007d..ff9647ef6a 100644
--- a/keyboards/rart/rart75hs/config.h
+++ b/keyboards/rart/rart75hs/config.h
@@ -35,9 +35,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE
-#define LED_CAPS_LOCK_PIN D4
-#define LED_PIN_ON_STATE 0
-
#define ENCODERS_PAD_A { C1 }
#define ENCODERS_PAD_B { C2 }
#define ENCODER_RESOLUTION 4 //default/suggested
diff --git a/keyboards/rart/rart75hs/info.json b/keyboards/rart/rart75hs/info.json
index 8056508f6f..a7ac977112 100644
--- a/keyboards/rart/rart75hs/info.json
+++ b/keyboards/rart/rart75hs/info.json
@@ -8,6 +8,10 @@
"pid": "0x5575",
"device_version": "0.0.3"
},
+ "indicators": {
+ "caps_lock": "D4",
+ "on_state": 0
+ },
"bootmagic": {
"matrix": [0, 1]
},
diff --git a/keyboards/rart/rart80/config.h b/keyboards/rart/rart80/config.h
index 7657051e01..9049fdf2d7 100644
--- a/keyboards/rart/rart80/config.h
+++ b/keyboards/rart/rart80/config.h
@@ -35,9 +35,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE
-#define LED_CAPS_LOCK_PIN D4
-#define LED_PIN_ON_STATE 0
-
#define RGB_DI_PIN D5
#ifdef RGB_DI_PIN
#define RGBLIGHT_EFFECT_BREATHING
diff --git a/keyboards/rart/rart80/info.json b/keyboards/rart/rart80/info.json
index 47d54cc7ec..28775d7b51 100644
--- a/keyboards/rart/rart80/info.json
+++ b/keyboards/rart/rart80/info.json
@@ -8,6 +8,10 @@
"pid": "0x0080",
"device_version": "0.0.1"
},
+ "indicators": {
+ "caps_lock": "D4",
+ "on_state": 0
+ },
"bootmagic": {
"matrix": [0, 1]
},
diff --git a/keyboards/rart/rartand/config.h b/keyboards/rart/rartand/config.h
index 06f7d7ad4a..1fc613b05b 100644
--- a/keyboards/rart/rartand/config.h
+++ b/keyboards/rart/rartand/config.h
@@ -26,9 +26,6 @@
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
-#define LED_CAPS_LOCK_PIN D5
-#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/rart/rartand/info.json b/keyboards/rart/rartand/info.json
index 621d7b61bf..eeb99a3cd4 100644
--- a/keyboards/rart/rartand/info.json
+++ b/keyboards/rart/rartand/info.json
@@ -8,6 +8,10 @@
"pid": "0x5050",
"device_version": "0.0.1"
},
+ "indicators": {
+ "caps_lock": "D5",
+ "on_state": 0
+ },
"processor": "atmega328p",
"bootloader": "usbasploader",
"layouts": {
diff --git a/keyboards/rart/rartland/config.h b/keyboards/rart/rartland/config.h
index 5bfa892a47..4681f2c38e 100644
--- a/keyboards/rart/rartland/config.h
+++ b/keyboards/rart/rartland/config.h
@@ -35,9 +35,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROW_PINS { B4, A7, A5, A6, C3 }
#define MATRIX_COL_PINS { B0, A1, B1, A2, B2, A3, B3, A4, C7, C6, D0, C5, D1, C4 }
-#define LED_CAPS_LOCK_PIN A0
-#define LED_PIN_ON_STATE 0
-
#define ENCODERS_PAD_B { D5 }
#define ENCODERS_PAD_A { C2 }
#define ENCODER_RESOLUTION 2 //default/suggested
diff --git a/keyboards/rart/rartland/info.json b/keyboards/rart/rartland/info.json
index 67e77b90c4..8dbc85f13f 100644
--- a/keyboards/rart/rartland/info.json
+++ b/keyboards/rart/rartland/info.json
@@ -8,6 +8,10 @@
"pid": "0x6065",
"device_version": "0.0.1"
},
+ "indicators": {
+ "caps_lock": "A0",
+ "on_state": 0
+ },
"processor": "atmega32a",
"bootloader": "usbasploader",
"community_layouts": ["65_ansi", "65_iso"],
diff --git a/keyboards/rart/rartlice/config.h b/keyboards/rart/rartlice/config.h
index 72746ddeef..f4ab10d564 100644
--- a/keyboards/rart/rartlice/config.h
+++ b/keyboards/rart/rartlice/config.h
@@ -30,11 +30,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE
-#define LED_NUM_LOCK_PIN A8
-#define LED_CAPS_LOCK_PIN B14
-#define LED_SCROLL_LOCK_PIN A9
-#define LED_PIN_ON_STATE 0
-
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
diff --git a/keyboards/rart/rartlice/info.json b/keyboards/rart/rartlice/info.json
index 3e06116c80..dccdcf2132 100644
--- a/keyboards/rart/rartlice/info.json
+++ b/keyboards/rart/rartlice/info.json
@@ -8,6 +8,12 @@
"pid": "0x0065",
"device_version": "0.0.1"
},
+ "indicators": {
+ "caps_lock": "B14",
+ "num_lock": "A8",
+ "scroll_lock": "A9",
+ "on_state": 0
+ },
"processor": "STM32F103",
"bootloader": "stm32duino",
"layouts": {
diff --git a/keyboards/rart/rartlite/config.h b/keyboards/rart/rartlite/config.h
index 5fc55cdc71..b4b77bf6a6 100644
--- a/keyboards/rart/rartlite/config.h
+++ b/keyboards/rart/rartlite/config.h
@@ -29,11 +29,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
-#define LED_CAPS_LOCK_PIN F5
-#define LED_NUM_LOCK_PIN F6
-
-#define LED_PIN_ON_STATE 0
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
diff --git a/keyboards/rart/rartlite/info.json b/keyboards/rart/rartlite/info.json
index 44a535aac5..1bbde23999 100644
--- a/keyboards/rart/rartlite/info.json
+++ b/keyboards/rart/rartlite/info.json
@@ -8,6 +8,11 @@
"pid": "0x4040",
"device_version": "0.0.1"
},
+ "indicators": {
+ "caps_lock": "F5",
+ "num_lock": "F6",
+ "on_state": 0
+ },
"processor": "atmega32u4",
"bootloader": "caterina",
"layouts": {
diff --git a/keyboards/rart/rartpad/config.h b/keyboards/rart/rartpad/config.h
index 06e52d0b12..0f7907bd6e 100644
--- a/keyboards/rart/rartpad/config.h
+++ b/keyboards/rart/rartpad/config.h
@@ -29,9 +29,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
-#define LED_CAPS_LOCK_PIN D7
-#define LED_PIN_ON_STATE 1
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
diff --git a/keyboards/rart/rartpad/info.json b/keyboards/rart/rartpad/info.json
index bf1b231544..03918a6886 100644
--- a/keyboards/rart/rartpad/info.json
+++ b/keyboards/rart/rartpad/info.json
@@ -8,6 +8,9 @@
"pid": "0x0050",
"device_version": "0.0.1"
},
+ "indicators": {
+ "caps_lock": "D7"
+ },
"processor": "atmega32u4",
"bootloader": "caterina",
"community_layouts": ["ortho_5x4", "numpad_5x4"],