summaryrefslogtreecommitdiffstats
path: root/keyboards/acheron
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-02-21 12:05:40 +1100
committerGitHub <noreply@github.com>2023-02-21 12:05:40 +1100
commit9c0ce80d7e7d266cfd2d8fb0d92889db06ea95ff (patch)
tree9882c99ab628ff49e60eb43b42ec3bf6ebefe8bd /keyboards/acheron
parent4b69225c225b76f6631977912c5197c834206b27 (diff)
Move backlight config to data driven, part 1 (#19887)
Diffstat (limited to 'keyboards/acheron')
-rw-r--r--keyboards/acheron/athena/alpha/config.h2
-rw-r--r--keyboards/acheron/athena/alpha/info.json4
-rw-r--r--keyboards/acheron/athena/beta/config.h1
-rw-r--r--keyboards/acheron/athena/beta/info.json3
-rw-r--r--keyboards/acheron/austin/config.h1
-rwxr-xr-xkeyboards/acheron/elongate/delta/config.h1
-rw-r--r--keyboards/acheron/elongate/delta/info.json3
-rw-r--r--keyboards/acheron/shark/beta/config.h2
-rw-r--r--keyboards/acheron/shark/beta/info.json3
9 files changed, 13 insertions, 7 deletions
diff --git a/keyboards/acheron/athena/alpha/config.h b/keyboards/acheron/athena/alpha/config.h
index 08526ea943..fd6f74bf35 100644
--- a/keyboards/acheron/athena/alpha/config.h
+++ b/keyboards/acheron/athena/alpha/config.h
@@ -32,8 +32,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define BACKLIGHT_PAL_MODE 2
#define BACKLIGHT_LEVELS 20
#define BACKLIGHT_BREATHING
-#define BREATHING_PERIOD 5
-#define BACKLIGHT_ON_STATE 0
#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 cc2a5249d0..f9d74fae2f 100644
--- a/keyboards/acheron/athena/alpha/info.json
+++ b/keyboards/acheron/athena/alpha/info.json
@@ -4,6 +4,10 @@
"pid": "0x6584",
"device_version": "0.0.1"
},
+ "backlight": {
+ "on_state": 0,
+ "breathing_period": 5
+ },
"indicators": {
"caps_lock": "A10"
},
diff --git a/keyboards/acheron/athena/beta/config.h b/keyboards/acheron/athena/beta/config.h
index 8be04b3fa1..a3a1a3b25c 100644
--- a/keyboards/acheron/athena/beta/config.h
+++ b/keyboards/acheron/athena/beta/config.h
@@ -32,7 +32,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define BACKLIGHT_PAL_MODE 2
#define BACKLIGHT_LEVELS 20
#define BACKLIGHT_BREATHING
-#define BREATHING_PERIOD 5
#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..aae8d02b41 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"
},
+ "backlight": {
+ "breathing_period": 5
+ },
"indicators": {
"caps_lock": "C8"
},
diff --git a/keyboards/acheron/austin/config.h b/keyboards/acheron/austin/config.h
index 323d7b3c83..210e4182a5 100644
--- a/keyboards/acheron/austin/config.h
+++ b/keyboards/acheron/austin/config.h
@@ -27,7 +27,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define BACKLIGHT_PAL_MODE 1
#define BACKLIGHT_LEVELS 6
#define BACKLIGHT_BREATHING
-#define BREATHING_PERIOD 6
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
diff --git a/keyboards/acheron/elongate/delta/config.h b/keyboards/acheron/elongate/delta/config.h
index 2be4dba3e3..6766f62ef5 100755
--- a/keyboards/acheron/elongate/delta/config.h
+++ b/keyboards/acheron/elongate/delta/config.h
@@ -30,7 +30,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define BACKLIGHT_BREATHING
#define BACKLIGHT_LEVELS 20
#define BACKLIGHT_DEFAULT_LEVEL 10
-#define BREATHING_PERIOD 3
#define RGB_DI_PIN B15
#define RGBLED_NUM 16
diff --git a/keyboards/acheron/elongate/delta/info.json b/keyboards/acheron/elongate/delta/info.json
index d763023926..6a5318b777 100644
--- a/keyboards/acheron/elongate/delta/info.json
+++ b/keyboards/acheron/elongate/delta/info.json
@@ -8,6 +8,9 @@
"pid": "0x454D",
"device_version": "0.0.2"
},
+ "backlight": {
+ "breathing_period": 3
+ },
"processor": "STM32F072",
"bootloader": "stm32-dfu",
"layouts": {
diff --git a/keyboards/acheron/shark/beta/config.h b/keyboards/acheron/shark/beta/config.h
index aab3c78077..633f76289f 100644
--- a/keyboards/acheron/shark/beta/config.h
+++ b/keyboards/acheron/shark/beta/config.h
@@ -31,8 +31,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define BACKLIGHT_PAL_MODE 2
#define BACKLIGHT_LEVELS 20
#define BACKLIGHT_BREATHING
-#define BREATHING_PERIOD 5
-#define BACKLIGHT_ON_STATE 1
#define RGB_DI_PIN B15
#define RGBLED_NUM 24
diff --git a/keyboards/acheron/shark/beta/info.json b/keyboards/acheron/shark/beta/info.json
index 615e9a91b9..dc4579b445 100644
--- a/keyboards/acheron/shark/beta/info.json
+++ b/keyboards/acheron/shark/beta/info.json
@@ -4,6 +4,9 @@
"pid": "0x5369",
"device_version": "0.0.2"
},
+ "backlight": {
+ "breathing_period": 5
+ },
"processor": "STM32F411",
"bootloader": "stm32-dfu",
"community_layouts": ["ortho_4x12"],