diff options
author | Ryan <fauxpark@gmail.com> | 2023-02-21 12:05:40 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-21 12:05:40 +1100 |
commit | 9c0ce80d7e7d266cfd2d8fb0d92889db06ea95ff (patch) | |
tree | 9882c99ab628ff49e60eb43b42ec3bf6ebefe8bd /keyboards/smithrune | |
parent | 4b69225c225b76f6631977912c5197c834206b27 (diff) |
Move backlight config to data driven, part 1 (#19887)
Diffstat (limited to 'keyboards/smithrune')
-rw-r--r-- | keyboards/smithrune/iron165r2/f072/config.h | 2 | ||||
-rw-r--r-- | keyboards/smithrune/iron165r2/f072/info.json | 3 | ||||
-rw-r--r-- | keyboards/smithrune/iron165r2/f411/config.h | 2 | ||||
-rw-r--r-- | keyboards/smithrune/iron165r2/f411/info.json | 3 | ||||
-rw-r--r-- | keyboards/smithrune/iron180/config.h | 1 |
5 files changed, 6 insertions, 5 deletions
diff --git a/keyboards/smithrune/iron165r2/f072/config.h b/keyboards/smithrune/iron165r2/f072/config.h index 502f5d6add..28ab38b25e 100644 --- a/keyboards/smithrune/iron165r2/f072/config.h +++ b/keyboards/smithrune/iron165r2/f072/config.h @@ -23,8 +23,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define BACKLIGHT_PAL_MODE 1 #define BACKLIGHT_LEVELS 20 #define BACKLIGHT_BREATHING -#define BREATHING_PERIOD 5 -#define BACKLIGHT_ON_STATE 1 #define RGB_DI_PIN B15 #define RGBLED_NUM 22 diff --git a/keyboards/smithrune/iron165r2/f072/info.json b/keyboards/smithrune/iron165r2/f072/info.json index 8bba6f5d5d..46539afa5c 100644 --- a/keyboards/smithrune/iron165r2/f072/info.json +++ b/keyboards/smithrune/iron165r2/f072/info.json @@ -1,4 +1,7 @@ { + "backlight": { + "breathing_period": 5 + }, "processor": "STM32F072", "bootloader": "stm32-dfu" } diff --git a/keyboards/smithrune/iron165r2/f411/config.h b/keyboards/smithrune/iron165r2/f411/config.h index af8b46531c..832c40e1cc 100644 --- a/keyboards/smithrune/iron165r2/f411/config.h +++ b/keyboards/smithrune/iron165r2/f411/config.h @@ -23,8 +23,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 22 diff --git a/keyboards/smithrune/iron165r2/f411/info.json b/keyboards/smithrune/iron165r2/f411/info.json index 8610c8de5f..3a92574123 100644 --- a/keyboards/smithrune/iron165r2/f411/info.json +++ b/keyboards/smithrune/iron165r2/f411/info.json @@ -1,4 +1,7 @@ { + "backlight": { + "breathing_period": 5 + }, "processor": "STM32F411", "bootloader": "stm32-dfu" } diff --git a/keyboards/smithrune/iron180/config.h b/keyboards/smithrune/iron180/config.h index 67763babba..bec408edc8 100644 --- a/keyboards/smithrune/iron180/config.h +++ b/keyboards/smithrune/iron180/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 |