summaryrefslogtreecommitdiff
path: root/keyboards/tgr/jane
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/tgr/jane
parentba7546a334ec56e70629652e8552dd493449e9db (diff)
Move backlight config to data driven (#19910)
Diffstat (limited to 'keyboards/tgr/jane')
-rw-r--r--keyboards/tgr/jane/v2/config.h2
-rw-r--r--keyboards/tgr/jane/v2/info.json3
-rw-r--r--keyboards/tgr/jane/v2ce/config.h2
-rw-r--r--keyboards/tgr/jane/v2ce/info.json3
4 files changed, 6 insertions, 4 deletions
diff --git a/keyboards/tgr/jane/v2/config.h b/keyboards/tgr/jane/v2/config.h
index d0f00ac2bd..fa8fe1d455 100644
--- a/keyboards/tgr/jane/v2/config.h
+++ b/keyboards/tgr/jane/v2/config.h
@@ -23,5 +23,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_COL_PINS { A0, A1, A2, A3, A4, A5, A6, A7, C7, C6, C5, C4, C3, C2, D7 }
#define DIODE_DIRECTION COL2ROW
-
-#define BACKLIGHT_PIN D4
diff --git a/keyboards/tgr/jane/v2/info.json b/keyboards/tgr/jane/v2/info.json
index f43d27c84f..4351782e57 100644
--- a/keyboards/tgr/jane/v2/info.json
+++ b/keyboards/tgr/jane/v2/info.json
@@ -8,6 +8,9 @@
"pid": "0x4A4E",
"device_version": "2.0.0"
},
+ "backlight": {
+ "pin": "D4"
+ },
"indicators": {
"caps_lock": "D1",
"scroll_lock": "D6"
diff --git a/keyboards/tgr/jane/v2ce/config.h b/keyboards/tgr/jane/v2ce/config.h
index 0b3d381d19..485a2416e9 100644
--- a/keyboards/tgr/jane/v2ce/config.h
+++ b/keyboards/tgr/jane/v2ce/config.h
@@ -22,5 +22,3 @@
#define MATRIX_COL_PINS { A0, A1, A2, A3, A4, A5, A6, A7, C7, C6, C5, C4, C3, C2, D7 }
#define DIODE_DIRECTION COL2ROW
-
-#define BACKLIGHT_PIN D4
diff --git a/keyboards/tgr/jane/v2ce/info.json b/keyboards/tgr/jane/v2ce/info.json
index 3aa62ded58..b27eaf8e92 100644
--- a/keyboards/tgr/jane/v2ce/info.json
+++ b/keyboards/tgr/jane/v2ce/info.json
@@ -8,6 +8,9 @@
"pid": "0x4A43",
"device_version": "2.0.0"
},
+ "backlight": {
+ "pin": "D4"
+ },
"indicators": {
"caps_lock": "D1",
"num_lock": "D6"