summaryrefslogtreecommitdiff
path: root/keyboards/tgr/jane
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-02-17 13:14:29 +1100
committerGitHub <noreply@github.com>2023-02-17 13:14:29 +1100
commitf4ba17c4a0ee59603c167b04f2d6f6eee8b2cf1b (patch)
tree11fec680226404eb46d2c61305cf7e848450c4d9 /keyboards/tgr/jane
parentd784f78bd0a034c1d6085379615014fd701536ab (diff)
Move LED indicator config to data driven (#19800)
Diffstat (limited to 'keyboards/tgr/jane')
-rw-r--r--keyboards/tgr/jane/v2/config.h3
-rw-r--r--keyboards/tgr/jane/v2/info.json4
-rw-r--r--keyboards/tgr/jane/v2ce/config.h3
-rw-r--r--keyboards/tgr/jane/v2ce/info.json4
4 files changed, 8 insertions, 6 deletions
diff --git a/keyboards/tgr/jane/v2/config.h b/keyboards/tgr/jane/v2/config.h
index 409afd6737..60d1644a2f 100644
--- a/keyboards/tgr/jane/v2/config.h
+++ b/keyboards/tgr/jane/v2/config.h
@@ -27,8 +27,5 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define DIODE_DIRECTION COL2ROW
-#define LED_CAPS_LOCK_PIN D1
-#define LED_SCROLL_LOCK_PIN D6
-
#define BACKLIGHT_PIN D4
#define BACKLIGHT_LEVELS 3
diff --git a/keyboards/tgr/jane/v2/info.json b/keyboards/tgr/jane/v2/info.json
index 89949c886f..f43d27c84f 100644
--- a/keyboards/tgr/jane/v2/info.json
+++ b/keyboards/tgr/jane/v2/info.json
@@ -8,6 +8,10 @@
"pid": "0x4A4E",
"device_version": "2.0.0"
},
+ "indicators": {
+ "caps_lock": "D1",
+ "scroll_lock": "D6"
+ },
"processor": "atmega32a",
"bootloader": "bootloadhid",
"community_layouts": ["tkl_ansi", "tkl_iso"],
diff --git a/keyboards/tgr/jane/v2ce/config.h b/keyboards/tgr/jane/v2ce/config.h
index d33b3a1d0b..06432495b5 100644
--- a/keyboards/tgr/jane/v2ce/config.h
+++ b/keyboards/tgr/jane/v2ce/config.h
@@ -28,6 +28,3 @@
#define BACKLIGHT_PIN D4
#define BACKLIGHT_LEVELS 3
-
-#define LED_CAPS_LOCK_PIN D1
-#define LED_NUM_LOCK_PIN D6
diff --git a/keyboards/tgr/jane/v2ce/info.json b/keyboards/tgr/jane/v2ce/info.json
index 391b657bed..3aa62ded58 100644
--- a/keyboards/tgr/jane/v2ce/info.json
+++ b/keyboards/tgr/jane/v2ce/info.json
@@ -8,6 +8,10 @@
"pid": "0x4A43",
"device_version": "2.0.0"
},
+ "indicators": {
+ "caps_lock": "D1",
+ "num_lock": "D6"
+ },
"processor": "atmega32a",
"bootloader": "bootloadhid",
"community_layouts": ["tkl_f13_ansi", "tkl_f13_ansi_tsangan", "tkl_f13_iso", "tkl_f13_iso_tsangan"],