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/tzarc/djinn/rev1 | |
parent | 4b69225c225b76f6631977912c5197c834206b27 (diff) |
Move backlight config to data driven, part 1 (#19887)
Diffstat (limited to 'keyboards/tzarc/djinn/rev1')
-rw-r--r-- | keyboards/tzarc/djinn/rev1/config.h | 5 | ||||
-rw-r--r-- | keyboards/tzarc/djinn/rev1/info.json | 3 |
2 files changed, 3 insertions, 5 deletions
diff --git a/keyboards/tzarc/djinn/rev1/config.h b/keyboards/tzarc/djinn/rev1/config.h index cf6dda0a8a..5ced700323 100644 --- a/keyboards/tzarc/djinn/rev1/config.h +++ b/keyboards/tzarc/djinn/rev1/config.h @@ -2,11 +2,6 @@ // SPDX-License-Identifier: GPL-2.0-or-later #pragma once -// Limit the backlight brightness -#ifndef BACKLIGHT_LIMIT_VAL -# define BACKLIGHT_LIMIT_VAL 144 -#endif // BACKLIGHT_LIMIT_VAL - // Split configuration #define SPLIT_HAND_PIN B11 #ifdef USE_PLUG_DETECT_PIN diff --git a/keyboards/tzarc/djinn/rev1/info.json b/keyboards/tzarc/djinn/rev1/info.json index 3062267d4e..65b9eb2eab 100644 --- a/keyboards/tzarc/djinn/rev1/info.json +++ b/keyboards/tzarc/djinn/rev1/info.json @@ -2,6 +2,9 @@ "usb": { "device_version": "1.0.0" }, + "backlight": { + "max_brightness": 144 + }, "split": { "soft_serial_pin": "B9", "usb_detect": { |