diff options
author | Ryan <[email protected]> | 2023-02-26 08:37:57 +1100 |
---|---|---|
committer | GitHub <[email protected]> | 2023-02-26 08:37:57 +1100 |
commit | 314f6c1ddba09851b33e4f3b4bd43bdbc55f9628 (patch) | |
tree | 8d0008ee0609b42ffbcbe19e52c3695ea5ab9280 /keyboards/sentraq/s65_x | |
parent | ba7546a334ec56e70629652e8552dd493449e9db (diff) | |
download | qmk_firmware-314f6c1ddba09851b33e4f3b4bd43bdbc55f9628.tar.gz qmk_firmware-314f6c1ddba09851b33e4f3b4bd43bdbc55f9628.zip |
Move backlight config to data driven (#19910)
Diffstat (limited to 'keyboards/sentraq/s65_x')
-rw-r--r-- | keyboards/sentraq/s65_x/config.h | 4 | ||||
-rw-r--r-- | keyboards/sentraq/s65_x/info.json | 5 |
2 files changed, 5 insertions, 4 deletions
diff --git a/keyboards/sentraq/s65_x/config.h b/keyboards/sentraq/s65_x/config.h index cc31fdfd19..e8d1cb933d 100644 --- a/keyboards/sentraq/s65_x/config.h +++ b/keyboards/sentraq/s65_x/config.h @@ -5,10 +5,6 @@ #define MATRIX_ROW_PINS { C7, C6, B6, B5, B4 } #define MATRIX_COL_PINS { F4, F1, F0, E6, B0, B1, D5, B2, B3, D0, D1, D2, D4, D6, D7, F7 } -#define BACKLIGHT_PIN B7 -#define BACKLIGHT_LEVELS 5 -#define BACKLIGHT_CAPS_LOCK - #define RGB_DI_PIN D3 #define RGBLIGHT_EFFECT_BREATHING #define RGBLIGHT_EFFECT_RAINBOW_MOOD diff --git a/keyboards/sentraq/s65_x/info.json b/keyboards/sentraq/s65_x/info.json index 6b77754a65..a37852080c 100644 --- a/keyboards/sentraq/s65_x/info.json +++ b/keyboards/sentraq/s65_x/info.json @@ -8,6 +8,11 @@ "pid": "0x6060", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7", + "levels": 5, + "as_caps_lock": true + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "community_layouts": ["65_ansi", "65_iso"], |