summaryrefslogtreecommitdiff
path: root/keyboards/acheron/athena
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/acheron/athena
parentd784f78bd0a034c1d6085379615014fd701536ab (diff)
Move LED indicator config to data driven (#19800)
Diffstat (limited to 'keyboards/acheron/athena')
-rw-r--r--keyboards/acheron/athena/alpha/config.h2
-rw-r--r--keyboards/acheron/athena/alpha/info.json3
-rw-r--r--keyboards/acheron/athena/beta/config.h2
-rw-r--r--keyboards/acheron/athena/beta/info.json3
4 files changed, 6 insertions, 4 deletions
diff --git a/keyboards/acheron/athena/alpha/config.h b/keyboards/acheron/athena/alpha/config.h
index 01192025c0..2fdf4551a8 100644
--- a/keyboards/acheron/athena/alpha/config.h
+++ b/keyboards/acheron/athena/alpha/config.h
@@ -58,7 +58,5 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define WS2812_DMA_STREAM STM32_DMA2_STREAM5
#define WS2812_DMA_CHANNEL 6
-#define LED_CAPS_LOCK_PIN A10
-
// If this is defined, the caps lock LED will turn on and off according to the state of caps lock. If not, the LED will shine like all other LEDs despite the caps lock state.
#define CAPSLOCK_INDICATOR
diff --git a/keyboards/acheron/athena/alpha/info.json b/keyboards/acheron/athena/alpha/info.json
index 10d720983c..cc2a5249d0 100644
--- a/keyboards/acheron/athena/alpha/info.json
+++ b/keyboards/acheron/athena/alpha/info.json
@@ -4,6 +4,9 @@
"pid": "0x6584",
"device_version": "0.0.1"
},
+ "indicators": {
+ "caps_lock": "A10"
+ },
"processor": "STM32F411",
"bootloader": "stm32-dfu"
}
diff --git a/keyboards/acheron/athena/beta/config.h b/keyboards/acheron/athena/beta/config.h
index 7c85861eea..65c39754c3 100644
--- a/keyboards/acheron/athena/beta/config.h
+++ b/keyboards/acheron/athena/beta/config.h
@@ -58,7 +58,5 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define WS2812_DMA_STREAM STM32_DMA2_STREAM5
#define WS2812_DMA_CHANNEL 6
-#define LED_CAPS_LOCK_PIN C8
-
// If this is defined, the caps lock LED will turn on and off according to the state of caps lock. If not, the LED will shine like all other LEDs despite the caps lock state.
#define CAPSLOCK_INDICATOR
diff --git a/keyboards/acheron/athena/beta/info.json b/keyboards/acheron/athena/beta/info.json
index 237c783866..51c335a850 100644
--- a/keyboards/acheron/athena/beta/info.json
+++ b/keyboards/acheron/athena/beta/info.json
@@ -4,6 +4,9 @@
"pid": "0x6585",
"device_version": "0.0.2"
},
+ "indicators": {
+ "caps_lock": "C8"
+ },
"processor": "STM32F401",
"bootloader": "stm32-dfu"
}