summaryrefslogtreecommitdiff
path: root/keyboards/gray_studio
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/gray_studio
parentd784f78bd0a034c1d6085379615014fd701536ab (diff)
Move LED indicator config to data driven (#19800)
Diffstat (limited to 'keyboards/gray_studio')
-rw-r--r--keyboards/gray_studio/apollo80/config.h3
-rw-r--r--keyboards/gray_studio/apollo80/info.json4
-rw-r--r--keyboards/gray_studio/hb85/config.h4
-rw-r--r--keyboards/gray_studio/hb85/info.json5
-rw-r--r--keyboards/gray_studio/space65/config.h3
-rw-r--r--keyboards/gray_studio/space65/info.json4
-rw-r--r--keyboards/gray_studio/think65/hotswap/config.h5
-rw-r--r--keyboards/gray_studio/think65/hotswap/info.json6
8 files changed, 19 insertions, 15 deletions
diff --git a/keyboards/gray_studio/apollo80/config.h b/keyboards/gray_studio/apollo80/config.h
index 936b38ddc2..eee3c74b6f 100644
--- a/keyboards/gray_studio/apollo80/config.h
+++ b/keyboards/gray_studio/apollo80/config.h
@@ -35,9 +35,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_COL_PINS { F0, F1, F4, F5, F6, F7, C7, C6, B6, B5, B4, D7, D4, D6, D2, D3, D5 }
#define DIODE_DIRECTION COL2ROW
-#define LED_CAPS_LOCK_PIN E6
-#define LED_PIN_ON_STATE 0
-
#define RGB_DI_PIN E2
#ifdef RGB_DI_PIN
#define RGBLED_NUM 22
diff --git a/keyboards/gray_studio/apollo80/info.json b/keyboards/gray_studio/apollo80/info.json
index 0d90a72912..2f090ef342 100644
--- a/keyboards/gray_studio/apollo80/info.json
+++ b/keyboards/gray_studio/apollo80/info.json
@@ -8,6 +8,10 @@
"pid": "0x3001",
"device_version": "0.0.1"
},
+ "indicators": {
+ "caps_lock": "E6",
+ "on_state": 0
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
diff --git a/keyboards/gray_studio/hb85/config.h b/keyboards/gray_studio/hb85/config.h
index 362513ae07..8a8bacec3d 100644
--- a/keyboards/gray_studio/hb85/config.h
+++ b/keyboards/gray_studio/hb85/config.h
@@ -37,9 +37,5 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLIGHT_EFFECT_ALTERNATING
#define RGBLIGHT_EFFECT_TWINKLE
-#define LED_NUM_LOCK_PIN D0
-#define LED_CAPS_LOCK_PIN D1
-#define LED_SCROLL_LOCK_PIN D6
-
#define BACKLIGHT_PIN D4
#define BACKLIGHT_LEVELS 3
diff --git a/keyboards/gray_studio/hb85/info.json b/keyboards/gray_studio/hb85/info.json
index 62f03444cc..84ce359d80 100644
--- a/keyboards/gray_studio/hb85/info.json
+++ b/keyboards/gray_studio/hb85/info.json
@@ -8,6 +8,11 @@
"pid": "0x2000",
"device_version": "2.0.0"
},
+ "indicators": {
+ "caps_lock": "D1",
+ "num_lock": "D0",
+ "scroll_lock": "D6"
+ },
"processor": "atmega32a",
"bootloader": "bootloadhid",
"layouts": {
diff --git a/keyboards/gray_studio/space65/config.h b/keyboards/gray_studio/space65/config.h
index 94f6406fe4..f7d3ff5d54 100644
--- a/keyboards/gray_studio/space65/config.h
+++ b/keyboards/gray_studio/space65/config.h
@@ -38,9 +38,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
-#define LED_CAPS_LOCK_PIN E6
-#define LED_PIN_ON_STATE 0
-
#define BACKLIGHT_PIN B7
#define BACKLIGHT_BREATHING
#define BACKLIGHT_LEVELS 5
diff --git a/keyboards/gray_studio/space65/info.json b/keyboards/gray_studio/space65/info.json
index f6b9c2ea97..42af34add6 100644
--- a/keyboards/gray_studio/space65/info.json
+++ b/keyboards/gray_studio/space65/info.json
@@ -8,6 +8,10 @@
"pid": "0x3000",
"device_version": "0.0.1"
},
+ "indicators": {
+ "caps_lock": "E6",
+ "on_state": 0
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"community_layouts": ["65_ansi_blocker", "65_iso_blocker"],
diff --git a/keyboards/gray_studio/think65/hotswap/config.h b/keyboards/gray_studio/think65/hotswap/config.h
index 622d981c35..f33e23c4ee 100644
--- a/keyboards/gray_studio/think65/hotswap/config.h
+++ b/keyboards/gray_studio/think65/hotswap/config.h
@@ -37,11 +37,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define DIODE_DIRECTION COL2ROW
-#define LED_NUM_LOCK_PIN C6
-#define LED_CAPS_LOCK_PIN C7
-#define LED_SCROLL_LOCK_PIN F7
-#define LED_PIN_ON_STATE 0
-
#define RGB_DI_PIN E2
#ifdef RGB_DI_PIN
#define RGBLED_NUM 22
diff --git a/keyboards/gray_studio/think65/hotswap/info.json b/keyboards/gray_studio/think65/hotswap/info.json
index 252a34a286..1ec54ad748 100644
--- a/keyboards/gray_studio/think65/hotswap/info.json
+++ b/keyboards/gray_studio/think65/hotswap/info.json
@@ -8,6 +8,12 @@
"pid": "0x4001",
"device_version": "0.0.1"
},
+ "indicators": {
+ "caps_lock": "C7",
+ "num_lock": "C6",
+ "scroll_lock": "F7",
+ "on_state": 0
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"community_layouts": ["65_ansi_blocker"],