summaryrefslogtreecommitdiff
path: root/keyboards/sneakbox
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/sneakbox
parentd784f78bd0a034c1d6085379615014fd701536ab (diff)
Move LED indicator config to data driven (#19800)
Diffstat (limited to 'keyboards/sneakbox')
-rw-r--r--keyboards/sneakbox/aliceclonergb/config.h4
-rw-r--r--keyboards/sneakbox/aliceclonergb/info.json5
-rw-r--r--keyboards/sneakbox/ava/config.h3
-rw-r--r--keyboards/sneakbox/ava/info.json4
-rw-r--r--keyboards/sneakbox/disarray/ortho/config.h4
-rw-r--r--keyboards/sneakbox/disarray/ortho/info.json3
-rw-r--r--keyboards/sneakbox/disarray/staggered/config.h3
-rw-r--r--keyboards/sneakbox/disarray/staggered/info.json3
8 files changed, 15 insertions, 14 deletions
diff --git a/keyboards/sneakbox/aliceclonergb/config.h b/keyboards/sneakbox/aliceclonergb/config.h
index 3fc0e22758..602a43d961 100644
--- a/keyboards/sneakbox/aliceclonergb/config.h
+++ b/keyboards/sneakbox/aliceclonergb/config.h
@@ -35,10 +35,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
-#define LED_NUM_LOCK_PIN D4
-#define LED_CAPS_LOCK_PIN D6
-#define LED_SCROLL_LOCK_PIN D7
-
#define RGB_DI_PIN D5
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
diff --git a/keyboards/sneakbox/aliceclonergb/info.json b/keyboards/sneakbox/aliceclonergb/info.json
index 69c7c7673f..02bf2c5e95 100644
--- a/keyboards/sneakbox/aliceclonergb/info.json
+++ b/keyboards/sneakbox/aliceclonergb/info.json
@@ -8,6 +8,11 @@
"pid": "0x0006",
"device_version": "0.0.1"
},
+ "indicators": {
+ "caps_lock": "D6",
+ "num_lock": "D4",
+ "scroll_lock": "D7"
+ },
"bootmagic": {
"matrix": [2, 0]
},
diff --git a/keyboards/sneakbox/ava/config.h b/keyboards/sneakbox/ava/config.h
index f3e63d974e..0cb1cf0a97 100644
--- a/keyboards/sneakbox/ava/config.h
+++ b/keyboards/sneakbox/ava/config.h
@@ -34,9 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
-#define LED_NUM_LOCK_PIN D4
-#define LED_CAPS_LOCK_PIN D6
-
#define RGB_DI_PIN F7
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
diff --git a/keyboards/sneakbox/ava/info.json b/keyboards/sneakbox/ava/info.json
index 308a79fa3c..2d07121a7a 100644
--- a/keyboards/sneakbox/ava/info.json
+++ b/keyboards/sneakbox/ava/info.json
@@ -8,6 +8,10 @@
"pid": "0x0004",
"device_version": "0.0.1"
},
+ "indicators": {
+ "caps_lock": "D6",
+ "num_lock": "D4"
+ },
"bootmagic": {
"matrix": [2, 0]
},
diff --git a/keyboards/sneakbox/disarray/ortho/config.h b/keyboards/sneakbox/disarray/ortho/config.h
index 226e6ed2c4..6ce65b9816 100644
--- a/keyboards/sneakbox/disarray/ortho/config.h
+++ b/keyboards/sneakbox/disarray/ortho/config.h
@@ -41,10 +41,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE
-/* Define LED Indicator Pin */
-#define LED_NUM_LOCK_PIN B1
-
-
#ifdef RGB_DI_PIN
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
diff --git a/keyboards/sneakbox/disarray/ortho/info.json b/keyboards/sneakbox/disarray/ortho/info.json
index 34fcd1a65e..894e61c256 100644
--- a/keyboards/sneakbox/disarray/ortho/info.json
+++ b/keyboards/sneakbox/disarray/ortho/info.json
@@ -8,6 +8,9 @@
"pid": "0x0003",
"device_version": "0.0.1"
},
+ "indicators": {
+ "num_lock": "B1"
+ },
"bootmagic": {
"matrix": [1, 0]
},
diff --git a/keyboards/sneakbox/disarray/staggered/config.h b/keyboards/sneakbox/disarray/staggered/config.h
index ee3d5b5624..a312757135 100644
--- a/keyboards/sneakbox/disarray/staggered/config.h
+++ b/keyboards/sneakbox/disarray/staggered/config.h
@@ -40,9 +40,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE
-/* Define LED Indicator Pin */
-#define LED_NUM_LOCK_PIN B1
-
#ifdef RGB_DI_PIN
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
diff --git a/keyboards/sneakbox/disarray/staggered/info.json b/keyboards/sneakbox/disarray/staggered/info.json
index 3c635f7bd1..536ae84ea7 100644
--- a/keyboards/sneakbox/disarray/staggered/info.json
+++ b/keyboards/sneakbox/disarray/staggered/info.json
@@ -8,6 +8,9 @@
"pid": "0x0002",
"device_version": "0.0.1"
},
+ "indicators": {
+ "num_lock": "B1"
+ },
"bootmagic": {
"matrix": [1, 0]
},