summaryrefslogtreecommitdiffstats
path: root/keyboards/gon
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
parentba7546a334ec56e70629652e8552dd493449e9db (diff)
Move backlight config to data driven (#19910)
Diffstat (limited to 'keyboards/gon')
-rw-r--r--keyboards/gon/nerd60/config.h4
-rw-r--r--keyboards/gon/nerd60/info.json3
-rw-r--r--keyboards/gon/nerdtkl/config.h4
-rw-r--r--keyboards/gon/nerdtkl/info.json3
4 files changed, 6 insertions, 8 deletions
diff --git a/keyboards/gon/nerd60/config.h b/keyboards/gon/nerd60/config.h
index bcce53200f..c3762c6388 100644
--- a/keyboards/gon/nerd60/config.h
+++ b/keyboards/gon/nerd60/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 }
diff --git a/keyboards/gon/nerd60/info.json b/keyboards/gon/nerd60/info.json
index 1bd845764e..097d4d45c0 100644
--- a/keyboards/gon/nerd60/info.json
+++ b/keyboards/gon/nerd60/info.json
@@ -8,6 +8,9 @@
"pid": "0x3630",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7"
+ },
"bootmagic": {
"matrix": [8, 0]
},
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]
},