summaryrefslogtreecommitdiff
path: root/keyboards/vertex
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/vertex
parentd784f78bd0a034c1d6085379615014fd701536ab (diff)
Move LED indicator config to data driven (#19800)
Diffstat (limited to 'keyboards/vertex')
-rw-r--r--keyboards/vertex/angler2/config.h4
-rw-r--r--keyboards/vertex/angler2/info.json5
-rw-r--r--keyboards/vertex/arc60/config.h3
-rw-r--r--keyboards/vertex/arc60/info.json4
4 files changed, 9 insertions, 7 deletions
diff --git a/keyboards/vertex/angler2/config.h b/keyboards/vertex/angler2/config.h
index b04493b87b..41531332d5 100644
--- a/keyboards/vertex/angler2/config.h
+++ b/keyboards/vertex/angler2/config.h
@@ -36,10 +36,6 @@
#define DIODE_DIRECTION COL2ROW
-#define LED_CAPS_LOCK_PIN B0
-#define LED_SCROLL_LOCK_PIN B7
-#define LED_PIN_ON_STATE 0
-
#define RGB_DI_PIN E6
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
diff --git a/keyboards/vertex/angler2/info.json b/keyboards/vertex/angler2/info.json
index 3063fa9f28..3716ddbede 100644
--- a/keyboards/vertex/angler2/info.json
+++ b/keyboards/vertex/angler2/info.json
@@ -8,6 +8,11 @@
"pid": "0x408F",
"device_version": "0.0.1"
},
+ "indicators": {
+ "caps_lock": "B0",
+ "scroll_lock": "B7",
+ "on_state": 0
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"community_layouts": [
diff --git a/keyboards/vertex/arc60/config.h b/keyboards/vertex/arc60/config.h
index b74bf09003..1146eac722 100644
--- a/keyboards/vertex/arc60/config.h
+++ b/keyboards/vertex/arc60/config.h
@@ -25,9 +25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROW_PINS { B10, B1, B0, A7, A6 }
#define DIODE_DIRECTION COL2ROW
-#define LED_CAPS_LOCK_PIN C13
-#define LED_PIN_ON_STATE 0
-
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
diff --git a/keyboards/vertex/arc60/info.json b/keyboards/vertex/arc60/info.json
index da11e272c1..bfb8e4fc3a 100644
--- a/keyboards/vertex/arc60/info.json
+++ b/keyboards/vertex/arc60/info.json
@@ -8,6 +8,10 @@
"pid": "0x8370",
"device_version": "0.0.1"
},
+ "indicators": {
+ "caps_lock": "C13",
+ "on_state": 0
+ },
"processor": "STM32F103",
"bootloader": "stm32duino",
"community_layouts": [