summaryrefslogtreecommitdiff
path: root/keyboards/acheron/shark
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/shark
parent4b69225c225b76f6631977912c5197c834206b27 (diff)
Move backlight config to data driven, part 1 (#19887)
Diffstat (limited to 'keyboards/acheron/shark')
-rw-r--r--keyboards/acheron/shark/beta/config.h2
-rw-r--r--keyboards/acheron/shark/beta/info.json3
2 files changed, 3 insertions, 2 deletions
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"],