diff options
author | Ryan <fauxpark@gmail.com> | 2023-02-26 08:37:57 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-26 08:37:57 +1100 |
commit | 314f6c1ddba09851b33e4f3b4bd43bdbc55f9628 (patch) | |
tree | 8d0008ee0609b42ffbcbe19e52c3695ea5ab9280 /keyboards/lfkeyboards/mini1800 | |
parent | ba7546a334ec56e70629652e8552dd493449e9db (diff) |
Move backlight config to data driven (#19910)
Diffstat (limited to 'keyboards/lfkeyboards/mini1800')
-rw-r--r-- | keyboards/lfkeyboards/mini1800/config.h | 1 | ||||
-rw-r--r-- | keyboards/lfkeyboards/mini1800/info.json | 4 | ||||
-rw-r--r-- | keyboards/lfkeyboards/mini1800/mini1800.c | 1 | ||||
-rw-r--r-- | keyboards/lfkeyboards/mini1800/reva/rules.mk | 1 | ||||
-rw-r--r-- | keyboards/lfkeyboards/mini1800/revc/rules.mk | 1 |
5 files changed, 4 insertions, 4 deletions
diff --git a/keyboards/lfkeyboards/mini1800/config.h b/keyboards/lfkeyboards/mini1800/config.h index e2e2366044..2d648c4e4d 100644 --- a/keyboards/lfkeyboards/mini1800/config.h +++ b/keyboards/lfkeyboards/mini1800/config.h @@ -28,7 +28,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define AUDIO_VOICES #define AUDIO_PIN C6 -#define BACKLIGHT_LEVELS 10 #define BACKLIGHT_PWM_MAP {2, 4, 8, 16, 40, 55, 70, 128, 200, 255} #define RGB_DI_PIN F4 // Have to set it to something to get the ws2812 code to compile diff --git a/keyboards/lfkeyboards/mini1800/info.json b/keyboards/lfkeyboards/mini1800/info.json index 703184dc99..6b66ed9774 100644 --- a/keyboards/lfkeyboards/mini1800/info.json +++ b/keyboards/lfkeyboards/mini1800/info.json @@ -8,6 +8,10 @@ "pid": "0x6060", "device_version": "0.0.1" }, + "backlight": { + "driver": "custom", + "levels": 10 + }, "layouts": { "LAYOUT": { "layout": [ diff --git a/keyboards/lfkeyboards/mini1800/mini1800.c b/keyboards/lfkeyboards/mini1800/mini1800.c index fb92137be8..f435f55677 100644 --- a/keyboards/lfkeyboards/mini1800/mini1800.c +++ b/keyboards/lfkeyboards/mini1800/mini1800.c @@ -9,7 +9,6 @@ #include "lighting.h" #include "debug.h" -#define BACKLIGHT_BREATHING #include "quantum.h" uint16_t click_hz = CLICK_HZ; diff --git a/keyboards/lfkeyboards/mini1800/reva/rules.mk b/keyboards/lfkeyboards/mini1800/reva/rules.mk index bb938f99b3..edd26e498d 100644 --- a/keyboards/lfkeyboards/mini1800/reva/rules.mk +++ b/keyboards/lfkeyboards/mini1800/reva/rules.mk @@ -13,7 +13,6 @@ AUDIO_ENABLE = yes # Audio output # RGB code is implemented in lfkeyboards, not WS2812 RGBLIGHT_CUSTOM_DRIVER = yes -BACKLIGHT_DRIVER = custom SLEEP_LED_ENABLE = yes ISSI_ENABLE = yes # If the I2C pullup resistors aren't install this must be disabled diff --git a/keyboards/lfkeyboards/mini1800/revc/rules.mk b/keyboards/lfkeyboards/mini1800/revc/rules.mk index bb938f99b3..edd26e498d 100644 --- a/keyboards/lfkeyboards/mini1800/revc/rules.mk +++ b/keyboards/lfkeyboards/mini1800/revc/rules.mk @@ -13,7 +13,6 @@ AUDIO_ENABLE = yes # Audio output # RGB code is implemented in lfkeyboards, not WS2812 RGBLIGHT_CUSTOM_DRIVER = yes -BACKLIGHT_DRIVER = custom SLEEP_LED_ENABLE = yes ISSI_ENABLE = yes # If the I2C pullup resistors aren't install this must be disabled |