summaryrefslogtreecommitdiff
path: root/keyboards/tzarc/djinn/rev1
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-02-21 12:05:40 +1100
committerGitHub <noreply@github.com>2023-02-21 12:05:40 +1100
commit9c0ce80d7e7d266cfd2d8fb0d92889db06ea95ff (patch)
tree9882c99ab628ff49e60eb43b42ec3bf6ebefe8bd /keyboards/tzarc/djinn/rev1
parent4b69225c225b76f6631977912c5197c834206b27 (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.h5
-rw-r--r--keyboards/tzarc/djinn/rev1/info.json3
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": {