summaryrefslogtreecommitdiff
path: root/keyboards/kprepublic/cospad
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/kprepublic/cospad
parent4b69225c225b76f6631977912c5197c834206b27 (diff)
Move backlight config to data driven, part 1 (#19887)
Diffstat (limited to 'keyboards/kprepublic/cospad')
-rw-r--r--keyboards/kprepublic/cospad/config.h1
-rw-r--r--keyboards/kprepublic/cospad/info.json3
2 files changed, 3 insertions, 1 deletions
diff --git a/keyboards/kprepublic/cospad/config.h b/keyboards/kprepublic/cospad/config.h
index c0ccd15f17..5463f8fb16 100644
--- a/keyboards/kprepublic/cospad/config.h
+++ b/keyboards/kprepublic/cospad/config.h
@@ -36,7 +36,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define BACKLIGHT_PIN F7
#define BACKLIGHT_LEVELS 3
-#define BACKLIGHT_ON_STATE 0
#define RGB_DI_PIN F6
#ifdef RGB_DI_PIN
diff --git a/keyboards/kprepublic/cospad/info.json b/keyboards/kprepublic/cospad/info.json
index 805f697743..e4cf27945f 100644
--- a/keyboards/kprepublic/cospad/info.json
+++ b/keyboards/kprepublic/cospad/info.json
@@ -8,6 +8,9 @@
"pid": "0xB1E5",
"device_version": "0.0.1"
},
+ "backlight": {
+ "on_state": 0
+ },
"indicators": {
"num_lock": "B2",
"on_state": 0