summaryrefslogtreecommitdiff
path: root/keyboards/acheron/athena
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-02-26 08:37:57 +1100
committerGitHub <noreply@github.com>2023-02-26 08:37:57 +1100
commit314f6c1ddba09851b33e4f3b4bd43bdbc55f9628 (patch)
tree8d0008ee0609b42ffbcbe19e52c3695ea5ab9280 /keyboards/acheron/athena
parentba7546a334ec56e70629652e8552dd493449e9db (diff)
Move backlight config to data driven (#19910)
Diffstat (limited to 'keyboards/acheron/athena')
-rw-r--r--keyboards/acheron/athena/alpha/config.h3
-rw-r--r--keyboards/acheron/athena/alpha/info.json5
-rw-r--r--keyboards/acheron/athena/alpha/rules.mk1
-rw-r--r--keyboards/acheron/athena/beta/config.h3
-rw-r--r--keyboards/acheron/athena/beta/info.json5
-rw-r--r--keyboards/acheron/athena/beta/rules.mk1
6 files changed, 9 insertions, 9 deletions
diff --git a/keyboards/acheron/athena/alpha/config.h b/keyboards/acheron/athena/alpha/config.h
index fd6f74bf35..e99fb83328 100644
--- a/keyboards/acheron/athena/alpha/config.h
+++ b/keyboards/acheron/athena/alpha/config.h
@@ -26,12 +26,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define LOCKING_SUPPORT_ENABLE
#define LOCKING_RESYNC_ENABLE
-#define BACKLIGHT_PIN A6
#define BACKLIGHT_PWM_DRIVER PWMD3
#define BACKLIGHT_PWM_CHANNEL 1
#define BACKLIGHT_PAL_MODE 2
-#define BACKLIGHT_LEVELS 20
-#define BACKLIGHT_BREATHING
#define RGB_DI_PIN B15
#define RGBLED_NUM 34
diff --git a/keyboards/acheron/athena/alpha/info.json b/keyboards/acheron/athena/alpha/info.json
index bf335285ae..2ebf2da8de 100644
--- a/keyboards/acheron/athena/alpha/info.json
+++ b/keyboards/acheron/athena/alpha/info.json
@@ -5,7 +5,10 @@
"device_version": "0.0.1"
},
"backlight": {
- "on_state": 0
+ "pin": "A6",
+ "levels": 20,
+ "on_state": 0,
+ "breathing": true
},
"indicators": {
"caps_lock": "A10"
diff --git a/keyboards/acheron/athena/alpha/rules.mk b/keyboards/acheron/athena/alpha/rules.mk
index 962a27694f..3d622c2216 100644
--- a/keyboards/acheron/athena/alpha/rules.mk
+++ b/keyboards/acheron/athena/alpha/rules.mk
@@ -8,7 +8,6 @@ CONSOLE_ENABLE = no # Console for debug
COMMAND_ENABLE = no # Commands for debug and configuration
NKRO_ENABLE = yes # Enable N-Key Rollover
BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
-BACKLIGHT_DRIVER = pwm
RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output
LTO_ENABLE = yes
diff --git a/keyboards/acheron/athena/beta/config.h b/keyboards/acheron/athena/beta/config.h
index a3a1a3b25c..7fbc624522 100644
--- a/keyboards/acheron/athena/beta/config.h
+++ b/keyboards/acheron/athena/beta/config.h
@@ -26,12 +26,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define LOCKING_SUPPORT_ENABLE
#define LOCKING_RESYNC_ENABLE
-#define BACKLIGHT_PIN B0
#define BACKLIGHT_PWM_DRIVER PWMD3
#define BACKLIGHT_PWM_CHANNEL 3
#define BACKLIGHT_PAL_MODE 2
-#define BACKLIGHT_LEVELS 20
-#define BACKLIGHT_BREATHING
#define RGB_DI_PIN B15
#define RGBLED_NUM 34
diff --git a/keyboards/acheron/athena/beta/info.json b/keyboards/acheron/athena/beta/info.json
index 51c335a850..dd8e766f90 100644
--- a/keyboards/acheron/athena/beta/info.json
+++ b/keyboards/acheron/athena/beta/info.json
@@ -4,6 +4,11 @@
"pid": "0x6585",
"device_version": "0.0.2"
},
+ "backlight": {
+ "pin": "B0",
+ "levels": 20,
+ "breathing": true
+ },
"indicators": {
"caps_lock": "C8"
},
diff --git a/keyboards/acheron/athena/beta/rules.mk b/keyboards/acheron/athena/beta/rules.mk
index 962a27694f..3d622c2216 100644
--- a/keyboards/acheron/athena/beta/rules.mk
+++ b/keyboards/acheron/athena/beta/rules.mk
@@ -8,7 +8,6 @@ CONSOLE_ENABLE = no # Console for debug
COMMAND_ENABLE = no # Commands for debug and configuration
NKRO_ENABLE = yes # Enable N-Key Rollover
BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
-BACKLIGHT_DRIVER = pwm
RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output
LTO_ENABLE = yes