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/tokyokeyboard/alix40 | |
parent | ba7546a334ec56e70629652e8552dd493449e9db (diff) | |
download | qmk_firmware-314f6c1ddba09851b33e4f3b4bd43bdbc55f9628.tar.gz qmk_firmware-314f6c1ddba09851b33e4f3b4bd43bdbc55f9628.zip |
Move backlight config to data driven (#19910)
Diffstat (limited to 'keyboards/tokyokeyboard/alix40')
-rw-r--r-- | keyboards/tokyokeyboard/alix40/config.h | 6 | ||||
-rw-r--r-- | keyboards/tokyokeyboard/alix40/info.json | 5 |
2 files changed, 5 insertions, 6 deletions
diff --git a/keyboards/tokyokeyboard/alix40/config.h b/keyboards/tokyokeyboard/alix40/config.h index 9a98443470..26736637cb 100644 --- a/keyboards/tokyokeyboard/alix40/config.h +++ b/keyboards/tokyokeyboard/alix40/config.h @@ -14,12 +14,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #pragma once -#define BACKLIGHT_PIN B7 -#ifdef BACKLIGHT_PIN -#define BACKLIGHT_LEVELS 31 -#define BACKLIGHT_BREATHING -#endif - /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION ROW2COL diff --git a/keyboards/tokyokeyboard/alix40/info.json b/keyboards/tokyokeyboard/alix40/info.json index 1113fbf392..513a883d8e 100644 --- a/keyboards/tokyokeyboard/alix40/info.json +++ b/keyboards/tokyokeyboard/alix40/info.json @@ -8,6 +8,11 @@ "pid": "0x4134", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7", + "levels": 31, + "breathing": true + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "layouts": { |