summaryrefslogtreecommitdiff
path: root/keyboards/handwired
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/handwired
parent4b69225c225b76f6631977912c5197c834206b27 (diff)
Move backlight config to data driven, part 1 (#19887)
Diffstat (limited to 'keyboards/handwired')
-rw-r--r--keyboards/handwired/jot50/config.h1
-rw-r--r--keyboards/handwired/jot50/info.json3
-rw-r--r--keyboards/handwired/lovelive9/config.h1
-rw-r--r--keyboards/handwired/lovelive9/info.json3
-rw-r--r--keyboards/handwired/oem_iso_fullsize/config.h9
-rw-r--r--keyboards/handwired/pill60/config.h1
6 files changed, 6 insertions, 12 deletions
diff --git a/keyboards/handwired/jot50/config.h b/keyboards/handwired/jot50/config.h
index e1359e093e..b21b1c627f 100644
--- a/keyboards/handwired/jot50/config.h
+++ b/keyboards/handwired/jot50/config.h
@@ -9,7 +9,6 @@
#define BACKLIGHT_LEVELS 3
#define BACKLIGHT_PIN B5
#define BACKLIGHT_BREATHING
-#define BREATHING_PERIOD 5
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
diff --git a/keyboards/handwired/jot50/info.json b/keyboards/handwired/jot50/info.json
index db08eef195..4cc8b88fd4 100644
--- a/keyboards/handwired/jot50/info.json
+++ b/keyboards/handwired/jot50/info.json
@@ -8,6 +8,9 @@
"pid": "0x6060",
"device_version": "0.0.1"
},
+ "backlight": {
+ "breathing_period": 5
+ },
"processor": "atmega32u4",
"bootloader": "caterina",
"community_layouts": ["ortho_5x12"],
diff --git a/keyboards/handwired/lovelive9/config.h b/keyboards/handwired/lovelive9/config.h
index 87ba736bb9..4020d7021f 100644
--- a/keyboards/handwired/lovelive9/config.h
+++ b/keyboards/handwired/lovelive9/config.h
@@ -26,7 +26,6 @@
#define RGBLIGHT_EFFECT_TWINKLE
#define BACKLIGHT_LEVELS 5
#define RGBLIGHT_EFFECT_SNAKE_LENGTH 4
-#define BREATHING_PERIOD 2
#define RGBLIGHT_LIMIT_VAL 255
#define RGBLIGHT_HUE_STEP 10
#define RGBLIGHT_SAT_STEP 17
diff --git a/keyboards/handwired/lovelive9/info.json b/keyboards/handwired/lovelive9/info.json
index 13931f8f45..be3541c4fd 100644
--- a/keyboards/handwired/lovelive9/info.json
+++ b/keyboards/handwired/lovelive9/info.json
@@ -8,6 +8,9 @@
"pid": "0x0007",
"device_version": "0.0.1"
},
+ "backlight": {
+ "breathing_period": 2
+ },
"processor": "atmega32u4",
"bootloader": "caterina",
"layouts": {
diff --git a/keyboards/handwired/oem_iso_fullsize/config.h b/keyboards/handwired/oem_iso_fullsize/config.h
index 21b3556bb3..af6146110d 100644
--- a/keyboards/handwired/oem_iso_fullsize/config.h
+++ b/keyboards/handwired/oem_iso_fullsize/config.h
@@ -30,15 +30,6 @@
#define MATRIX_ROW_PINS { C0, B4, F3, F4, F5, F6 }
#define MATRIX_COL_PINS { C2, C1, E0, D4, D5, A4, A0, B2, B0, E7, E6, D6, B1, B3, D3, D2, B6, F7, F0, F1, F2 }
-/*Row 0, resistor R132, Pin A1
-*Row 1, R131, Pin B5
-*Row 2, R130, Pin E4
-*Row 3, R129, Pin A2
-*Row 4, R128, Pin E5
-*Row 5, R127, Pin A7
-#define BACKLIGHT_PINS { B5, E5, E4, A7, A1, A2 }
-#define BACKLIGHT_LEVELS 1*/
-
#define DIODE_DIRECTION ROW2COL
diff --git a/keyboards/handwired/pill60/config.h b/keyboards/handwired/pill60/config.h
index 8b671a9e03..1544eb0e19 100644
--- a/keyboards/handwired/pill60/config.h
+++ b/keyboards/handwired/pill60/config.h
@@ -23,7 +23,6 @@
#define BACKLIGHT_PWM_DRIVER PWMD5
#define BACKLIGHT_PWM_CHANNEL 1
#define BACKLIGHT_LEVELS 5
-#define BREATHING_PERIOD 6
/* Encoder */
#define ENCODERS_PAD_A \