summaryrefslogtreecommitdiff
path: root/keyboards/cablecardesigns
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/cablecardesigns
parentba7546a334ec56e70629652e8552dd493449e9db (diff)
Move backlight config to data driven (#19910)
Diffstat (limited to 'keyboards/cablecardesigns')
-rw-r--r--keyboards/cablecardesigns/cypher/rev6/config.h5
-rw-r--r--keyboards/cablecardesigns/cypher/rev6/info.json5
2 files changed, 5 insertions, 5 deletions
diff --git a/keyboards/cablecardesigns/cypher/rev6/config.h b/keyboards/cablecardesigns/cypher/rev6/config.h
index 1b8b2d671b..dc8c82f7b0 100644
--- a/keyboards/cablecardesigns/cypher/rev6/config.h
+++ b/keyboards/cablecardesigns/cypher/rev6/config.h
@@ -9,16 +9,11 @@
/* COL2ROW, ROW2COL, or CUSTOM_MATRIX */
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_BREATHING
-#define BACKLIGHT_LEVELS 5
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE
-#define BACKLIGHT_PIN D0
-
#define RGB_DI_PIN D5
#ifdef RGB_DI_PIN
#define RGBLED_NUM 3
diff --git a/keyboards/cablecardesigns/cypher/rev6/info.json b/keyboards/cablecardesigns/cypher/rev6/info.json
index 6f3d97443f..4fc447236e 100644
--- a/keyboards/cablecardesigns/cypher/rev6/info.json
+++ b/keyboards/cablecardesigns/cypher/rev6/info.json
@@ -6,6 +6,11 @@
"pid": "0xAA99",
"device_version": "0.0.2"
},
+ "backlight": {
+ "pin": "D0",
+ "levels": 5,
+ "breathing": true
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {