summaryrefslogtreecommitdiff
path: root/keyboards/xelus
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/xelus
parentd784f78bd0a034c1d6085379615014fd701536ab (diff)
Move LED indicator config to data driven (#19800)
Diffstat (limited to 'keyboards/xelus')
-rw-r--r--keyboards/xelus/dawn60/config.h16
-rw-r--r--keyboards/xelus/dharma/config.h4
-rw-r--r--keyboards/xelus/dharma/info.json4
-rw-r--r--keyboards/xelus/ninjin/config.h4
-rw-r--r--keyboards/xelus/ninjin/info.json4
-rw-r--r--keyboards/xelus/pachi/mini_32u4/config.h3
-rw-r--r--keyboards/xelus/pachi/mini_32u4/info.json4
-rw-r--r--keyboards/xelus/pachi/rev1/config.h4
-rw-r--r--keyboards/xelus/pachi/rev1/info.json4
-rw-r--r--keyboards/xelus/pachi/rgb/config.h16
-rw-r--r--keyboards/xelus/rs108/config.h5
-rw-r--r--keyboards/xelus/rs108/info.json5
-rw-r--r--keyboards/xelus/rs60/config.h16
-rw-r--r--keyboards/xelus/rs60/rev1/config.h3
-rw-r--r--keyboards/xelus/rs60/rev1/info.json3
-rw-r--r--keyboards/xelus/rs60/rev2_0/config.h3
-rw-r--r--keyboards/xelus/rs60/rev2_0/info.json3
-rw-r--r--keyboards/xelus/rs60/rev2_1/config.h3
-rw-r--r--keyboards/xelus/rs60/rev2_1/info.json3
-rw-r--r--keyboards/xelus/trinityxttkl/config.h4
-rw-r--r--keyboards/xelus/trinityxttkl/info.json4
-rw-r--r--keyboards/xelus/xs108/config.h6
-rw-r--r--keyboards/xelus/xs108/info.json5
23 files changed, 39 insertions, 87 deletions
diff --git a/keyboards/xelus/dawn60/config.h b/keyboards/xelus/dawn60/config.h
deleted file mode 100644
index 0ebeb9d5a1..0000000000
--- a/keyboards/xelus/dawn60/config.h
+++ /dev/null
@@ -1,16 +0,0 @@
-/* Copyright 2020 Harrison Chan (Xelus)
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-
diff --git a/keyboards/xelus/dharma/config.h b/keyboards/xelus/dharma/config.h
index 49486e83e4..e5076dd7ec 100644
--- a/keyboards/xelus/dharma/config.h
+++ b/keyboards/xelus/dharma/config.h
@@ -34,7 +34,3 @@
#define LOCKING_RESYNC_ENABLE
#define FORCE_NKRO
-
-#define LED_CAPS_LOCK_PIN B7
-#define LED_NUM_LOCK_PIN F0
-#define LED_PIN_ON_STATE 1
diff --git a/keyboards/xelus/dharma/info.json b/keyboards/xelus/dharma/info.json
index 1393040568..ffd8e500b9 100644
--- a/keyboards/xelus/dharma/info.json
+++ b/keyboards/xelus/dharma/info.json
@@ -8,6 +8,10 @@
"pid": "0xDAAA",
"device_version": "0.0.1"
},
+ "indicators": {
+ "caps_lock": "B7",
+ "num_lock": "F0"
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
diff --git a/keyboards/xelus/ninjin/config.h b/keyboards/xelus/ninjin/config.h
index 8b4f959f8a..321105be9a 100644
--- a/keyboards/xelus/ninjin/config.h
+++ b/keyboards/xelus/ninjin/config.h
@@ -52,7 +52,3 @@
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE
-
-#define LED_CAPS_LOCK_PIN A2
-#define LED_SCROLL_LOCK_PIN A13
-#define LED_PIN_ON_STATE 1
diff --git a/keyboards/xelus/ninjin/info.json b/keyboards/xelus/ninjin/info.json
index 32dc05f71c..bbac38b051 100644
--- a/keyboards/xelus/ninjin/info.json
+++ b/keyboards/xelus/ninjin/info.json
@@ -8,6 +8,10 @@
"pid": "0x4E4A",
"device_version": "0.0.1"
},
+ "indicators": {
+ "caps_lock": "A2",
+ "scroll_lock": "A13"
+ },
"processor": "STM32F072",
"bootloader": "stm32-dfu",
"layout_aliases": {
diff --git a/keyboards/xelus/pachi/mini_32u4/config.h b/keyboards/xelus/pachi/mini_32u4/config.h
index 3f500b14c5..240c73994b 100644
--- a/keyboards/xelus/pachi/mini_32u4/config.h
+++ b/keyboards/xelus/pachi/mini_32u4/config.h
@@ -28,6 +28,3 @@
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE
-
-#define LED_CAPS_LOCK_PIN F1
-#define LED_SCROLL_LOCK_PIN B3
diff --git a/keyboards/xelus/pachi/mini_32u4/info.json b/keyboards/xelus/pachi/mini_32u4/info.json
index bb3b24b123..b400fdd7a4 100644
--- a/keyboards/xelus/pachi/mini_32u4/info.json
+++ b/keyboards/xelus/pachi/mini_32u4/info.json
@@ -8,6 +8,10 @@
"pid": "0x5041",
"device_version": "0.0.1"
},
+ "indicators": {
+ "caps_lock": "F1",
+ "scroll_lock": "B3"
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
diff --git a/keyboards/xelus/pachi/rev1/config.h b/keyboards/xelus/pachi/rev1/config.h
index a76ba6244f..1ffac9665e 100644
--- a/keyboards/xelus/pachi/rev1/config.h
+++ b/keyboards/xelus/pachi/rev1/config.h
@@ -28,7 +28,3 @@
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE
-
-#define LED_CAPS_LOCK_PIN B14
-#define LED_SCROLL_LOCK_PIN A13
-#define LED_PIN_ON_STATE 1
diff --git a/keyboards/xelus/pachi/rev1/info.json b/keyboards/xelus/pachi/rev1/info.json
index d5b965a97e..44690cd7b5 100644
--- a/keyboards/xelus/pachi/rev1/info.json
+++ b/keyboards/xelus/pachi/rev1/info.json
@@ -8,6 +8,10 @@
"pid": "0x5041",
"device_version": "0.0.1"
},
+ "indicators": {
+ "caps_lock": "B14",
+ "scroll_lock": "A13"
+ },
"processor": "STM32F072",
"bootloader": "stm32-dfu",
"layouts": {
diff --git a/keyboards/xelus/pachi/rgb/config.h b/keyboards/xelus/pachi/rgb/config.h
deleted file mode 100644
index 33dcbf8a0d..0000000000
--- a/keyboards/xelus/pachi/rgb/config.h
+++ /dev/null
@@ -1,16 +0,0 @@
-/* Copyright 2021 Harrison Chan (Xelus)
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-
diff --git a/keyboards/xelus/rs108/config.h b/keyboards/xelus/rs108/config.h
index 44133a3b5b..25df662575 100644
--- a/keyboards/xelus/rs108/config.h
+++ b/keyboards/xelus/rs108/config.h
@@ -31,11 +31,6 @@
// Locking resynchronize hack
#define LOCKING_RESYNC_ENABLE
-//Indicator
-#define LED_CAPS_LOCK_PIN A6
-#define LED_SCROLL_LOCK_PIN A13
-#define LED_NUM_LOCK_PIN A14
-
// I2C config
#define I2C1_SCL_PIN B8
#define I2C1_SDA_PIN B9
diff --git a/keyboards/xelus/rs108/info.json b/keyboards/xelus/rs108/info.json
index db08aa88c8..959da932de 100644
--- a/keyboards/xelus/rs108/info.json
+++ b/keyboards/xelus/rs108/info.json
@@ -8,6 +8,11 @@
"pid": "0x5208",
"device_version": "0.0.2"
},
+ "indicators": {
+ "caps_lock": "A6",
+ "num_lock": "A14",
+ "scroll_lock": "A13"
+ },
"processor": "STM32F401",
"bootloader": "stm32-dfu",
"layouts": {
diff --git a/keyboards/xelus/rs60/config.h b/keyboards/xelus/rs60/config.h
deleted file mode 100644
index bc421a442b..0000000000
--- a/keyboards/xelus/rs60/config.h
+++ /dev/null
@@ -1,16 +0,0 @@
-/* Copyright 2022 Harrison Chan (Xelus)
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-
diff --git a/keyboards/xelus/rs60/rev1/config.h b/keyboards/xelus/rs60/rev1/config.h
index 7765e3526b..72789dc0da 100644
--- a/keyboards/xelus/rs60/rev1/config.h
+++ b/keyboards/xelus/rs60/rev1/config.h
@@ -31,8 +31,5 @@
// Locking resynchronize hack
#define LOCKING_RESYNC_ENABLE
-//Indicator
-#define LED_CAPS_LOCK_PIN B0
-
//Force NKRO
#define FORCE_NKRO
diff --git a/keyboards/xelus/rs60/rev1/info.json b/keyboards/xelus/rs60/rev1/info.json
index d86a0453c2..5eff1d75a6 100644
--- a/keyboards/xelus/rs60/rev1/info.json
+++ b/keyboards/xelus/rs60/rev1/info.json
@@ -2,6 +2,9 @@
"usb": {
"device_version": "0.1.0"
},
+ "indicators": {
+ "caps_lock": "B0"
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu"
}
diff --git a/keyboards/xelus/rs60/rev2_0/config.h b/keyboards/xelus/rs60/rev2_0/config.h
index b78400662c..565c9aa3d5 100644
--- a/keyboards/xelus/rs60/rev2_0/config.h
+++ b/keyboards/xelus/rs60/rev2_0/config.h
@@ -31,9 +31,6 @@
// Locking resynchronize hack
#define LOCKING_RESYNC_ENABLE
-//Indicator
-#define LED_CAPS_LOCK_PIN A1
-
// I2C config
#define I2C1_SCL_PIN B8
#define I2C1_SDA_PIN B9
diff --git a/keyboards/xelus/rs60/rev2_0/info.json b/keyboards/xelus/rs60/rev2_0/info.json
index af4ce913eb..e2ab965c1b 100644
--- a/keyboards/xelus/rs60/rev2_0/info.json
+++ b/keyboards/xelus/rs60/rev2_0/info.json
@@ -2,6 +2,9 @@
"usb": {
"device_version": "0.2.0"
},
+ "indicators": {
+ "caps_lock": "A1"
+ },
"processor": "STM32F401",
"bootloader": "stm32-dfu"
}
diff --git a/keyboards/xelus/rs60/rev2_1/config.h b/keyboards/xelus/rs60/rev2_1/config.h
index d176e394c8..40834f4bfb 100644
--- a/keyboards/xelus/rs60/rev2_1/config.h
+++ b/keyboards/xelus/rs60/rev2_1/config.h
@@ -31,9 +31,6 @@
// Locking resynchronize hack
#define LOCKING_RESYNC_ENABLE
-//Indicator
-#define LED_CAPS_LOCK_PIN A1
-
// Emulated EEPROM
#define WEAR_LEVELING_LOGICAL_SIZE 2048
#define WEAR_LEVELING_BACKING_SIZE WEAR_LEVELING_LOGICAL_SIZE*2
diff --git a/keyboards/xelus/rs60/rev2_1/info.json b/keyboards/xelus/rs60/rev2_1/info.json
index c01512e8b6..2cb5b5ddda 100644
--- a/keyboards/xelus/rs60/rev2_1/info.json
+++ b/keyboards/xelus/rs60/rev2_1/info.json
@@ -2,6 +2,9 @@
"usb": {
"device_version": "0.2.1"
},
+ "indicators": {
+ "caps_lock": "A1"
+ },
"processor": "STM32L412",
"bootloader": "stm32-dfu"
}
diff --git a/keyboards/xelus/trinityxttkl/config.h b/keyboards/xelus/trinityxttkl/config.h
index 598574ab39..9d60133ced 100644
--- a/keyboards/xelus/trinityxttkl/config.h
+++ b/keyboards/xelus/trinityxttkl/config.h
@@ -28,7 +28,3 @@
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE
-
-#define LED_CAPS_LOCK_PIN A1
-#define LED_SCROLL_LOCK_PIN A13
-#define LED_PIN_ON_STATE 1
diff --git a/keyboards/xelus/trinityxttkl/info.json b/keyboards/xelus/trinityxttkl/info.json
index 094f9083f1..787f30cf99 100644
--- a/keyboards/xelus/trinityxttkl/info.json
+++ b/keyboards/xelus/trinityxttkl/info.json
@@ -8,6 +8,10 @@
"pid": "0x5854",
"device_version": "0.0.1"
},
+ "indicators": {
+ "caps_lock": "A1",
+ "scroll_lock": "A13"
+ },
"processor": "STM32F072",
"bootloader": "stm32-dfu",
"layouts": {
diff --git a/keyboards/xelus/xs108/config.h b/keyboards/xelus/xs108/config.h
index fbd542c417..a0b409a749 100644
--- a/keyboards/xelus/xs108/config.h
+++ b/keyboards/xelus/xs108/config.h
@@ -30,12 +30,6 @@
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE
-// LED defines
-#define LED_CAPS_LOCK_PIN A2
-#define LED_SCROLL_LOCK_PIN A13
-#define LED_NUM_LOCK_PIN B7
-#define LED_PIN_ON_STATE 1
-
// I2C setup
#define I2C1_SCL_PIN B8
#define I2C1_SDA_PIN B9
diff --git a/keyboards/xelus/xs108/info.json b/keyboards/xelus/xs108/info.json
index 95b758cd3e..c4a53a6f59 100644
--- a/keyboards/xelus/xs108/info.json
+++ b/keyboards/xelus/xs108/info.json
@@ -8,6 +8,11 @@
"pid": "0x0108",
"device_version": "0.0.1"
},
+ "indicators": {
+ "caps_lock": "A2",
+ "num_lock": "B7",
+ "scroll_lock": "A13"
+ },
"processor": "STM32L412",
"bootloader": "stm32-dfu",
"layouts": {