summaryrefslogtreecommitdiff
path: root/keyboards/gon/nerdtkl
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-02-26 08:37:57 +1100
committerGitHub <noreply@github.com>2023-02-26 08:37:57 +1100
commit314f6c1ddba09851b33e4f3b4bd43bdbc55f9628 (patch)
tree8d0008ee0609b42ffbcbe19e52c3695ea5ab9280 /keyboards/gon/nerdtkl
parentba7546a334ec56e70629652e8552dd493449e9db (diff)
Move backlight config to data driven (#19910)
Diffstat (limited to 'keyboards/gon/nerdtkl')
-rw-r--r--keyboards/gon/nerdtkl/config.h4
-rw-r--r--keyboards/gon/nerdtkl/info.json3
2 files changed, 3 insertions, 4 deletions
diff --git a/keyboards/gon/nerdtkl/config.h b/keyboards/gon/nerdtkl/config.h
index 29bbb513a6..8db20474be 100644
--- a/keyboards/gon/nerdtkl/config.h
+++ b/keyboards/gon/nerdtkl/config.h
@@ -1,9 +1,5 @@
#pragma once
-
-/* backlight */
-#define BACKLIGHT_PIN B7
-
/* matrix pins */
#define MATRIX_ROW_PINS { B4, E2, F4, F7, F1, F6, C6, F5, D7, C7 }
#define MATRIX_COL_PINS { E6, B0, B1, B2, B3, F0, D0, D5, D1 }
diff --git a/keyboards/gon/nerdtkl/info.json b/keyboards/gon/nerdtkl/info.json
index 2381b25d7c..f9e38f0c89 100644
--- a/keyboards/gon/nerdtkl/info.json
+++ b/keyboards/gon/nerdtkl/info.json
@@ -8,6 +8,9 @@
"pid": "0x5244",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7"
+ },
"bootmagic": {
"matrix": [8, 0]
},