summaryrefslogtreecommitdiff
path: root/keyboards/mode/m80v2
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/mode/m80v2
parentd784f78bd0a034c1d6085379615014fd701536ab (diff)
Move LED indicator config to data driven (#19800)
Diffstat (limited to 'keyboards/mode/m80v2')
-rw-r--r--keyboards/mode/m80v2/config.h3
-rw-r--r--keyboards/mode/m80v2/m80v2h/info.json4
-rw-r--r--keyboards/mode/m80v2/m80v2s/info.json4
3 files changed, 8 insertions, 3 deletions
diff --git a/keyboards/mode/m80v2/config.h b/keyboards/mode/m80v2/config.h
index e78b490b31..def4e84ab5 100644
--- a/keyboards/mode/m80v2/config.h
+++ b/keyboards/mode/m80v2/config.h
@@ -30,6 +30,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE
-
-#define LED_CAPS_LOCK_PIN A0
-#define LED_PIN_ON_STATE 0
diff --git a/keyboards/mode/m80v2/m80v2h/info.json b/keyboards/mode/m80v2/m80v2h/info.json
index fdbd5c88d1..51788340ca 100644
--- a/keyboards/mode/m80v2/m80v2h/info.json
+++ b/keyboards/mode/m80v2/m80v2h/info.json
@@ -8,6 +8,10 @@
"pid": "0x0083",
"device_version": "0.0.2"
},
+ "indicators": {
+ "caps_lock": "A0",
+ "on_state": 0
+ },
"processor": "STM32F072",
"bootloader": "stm32-dfu",
"community_layouts": [ "tkl_ansi" ],
diff --git a/keyboards/mode/m80v2/m80v2s/info.json b/keyboards/mode/m80v2/m80v2s/info.json
index 0304354325..d7f5dd663b 100644
--- a/keyboards/mode/m80v2/m80v2s/info.json
+++ b/keyboards/mode/m80v2/m80v2s/info.json
@@ -8,6 +8,10 @@
"pid": "0x0082",
"device_version": "0.0.2"
},
+ "indicators": {
+ "caps_lock": "A0",
+ "on_state": 0
+ },
"processor": "STM32F072",
"bootloader": "stm32-dfu",
"layouts": {