summaryrefslogtreecommitdiff
path: root/keyboards/studiokestra
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/studiokestra
parentd784f78bd0a034c1d6085379615014fd701536ab (diff)
Move LED indicator config to data driven (#19800)
Diffstat (limited to 'keyboards/studiokestra')
-rw-r--r--keyboards/studiokestra/galatea/config.h4
-rw-r--r--keyboards/studiokestra/galatea/rev1/info.json5
-rw-r--r--keyboards/studiokestra/galatea/rev2/info.json5
-rw-r--r--keyboards/studiokestra/nascent/config.h3
-rw-r--r--keyboards/studiokestra/nascent/info.json4
5 files changed, 14 insertions, 7 deletions
diff --git a/keyboards/studiokestra/galatea/config.h b/keyboards/studiokestra/galatea/config.h
index ec1725fd6b..74ba4632a6 100644
--- a/keyboards/studiokestra/galatea/config.h
+++ b/keyboards/studiokestra/galatea/config.h
@@ -25,10 +25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROW_PINS { D1, D0, B0, B7, E6, B3, B6, C6, D6, D7, B4, D3 }
#define DIODE_DIRECTION COL2ROW
-#define LED_CAPS_LOCK_PIN B5
-#define LED_SCROLL_LOCK_PIN D2
-#define LED_PIN_ON_STATE 0
-
#if defined(KEYBOARD_studiokestra_galatea_rev2)
#define RGB_DI_PIN D4
#define RGBLED_NUM 24
diff --git a/keyboards/studiokestra/galatea/rev1/info.json b/keyboards/studiokestra/galatea/rev1/info.json
index ee90d256a1..ce1b7f5816 100644
--- a/keyboards/studiokestra/galatea/rev1/info.json
+++ b/keyboards/studiokestra/galatea/rev1/info.json
@@ -8,6 +8,11 @@
"pid": "0x8801",
"device_version": "0.0.1"
},
+ "indicators": {
+ "caps_lock": "B5",
+ "scroll_lock": "D2",
+ "on_state": 0
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
diff --git a/keyboards/studiokestra/galatea/rev2/info.json b/keyboards/studiokestra/galatea/rev2/info.json
index d79ab68c40..dc3865c584 100644
--- a/keyboards/studiokestra/galatea/rev2/info.json
+++ b/keyboards/studiokestra/galatea/rev2/info.json
@@ -8,6 +8,11 @@
"pid": "0x8802",
"device_version": "0.0.2"
},
+ "indicators": {
+ "caps_lock": "B5",
+ "scroll_lock": "D2",
+ "on_state": 0
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
diff --git a/keyboards/studiokestra/nascent/config.h b/keyboards/studiokestra/nascent/config.h
index 4ce9f6230f..d70b85bf99 100644
--- a/keyboards/studiokestra/nascent/config.h
+++ b/keyboards/studiokestra/nascent/config.h
@@ -25,9 +25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROW_PINS { F5, F4, F7, F6, C6, C7, B4, B5, D0, D1 }
#define DIODE_DIRECTION COL2ROW
-#define LED_CAPS_LOCK_PIN B6
-#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/studiokestra/nascent/info.json b/keyboards/studiokestra/nascent/info.json
index d9c5d2b785..43aba81924 100644
--- a/keyboards/studiokestra/nascent/info.json
+++ b/keyboards/studiokestra/nascent/info.json
@@ -8,6 +8,10 @@
"pid": "0x0165",
"device_version": "0.0.1"
},
+ "indicators": {
+ "caps_lock": "B6",
+ "on_state": 0
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"community_layouts": [