summaryrefslogtreecommitdiffstats
path: root/keyboards/handwired/tritium_numpad
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/handwired/tritium_numpad
parentd784f78bd0a034c1d6085379615014fd701536ab (diff)
Move LED indicator config to data driven (#19800)
Diffstat (limited to 'keyboards/handwired/tritium_numpad')
-rw-r--r--keyboards/handwired/tritium_numpad/config.h3
-rw-r--r--keyboards/handwired/tritium_numpad/info.json4
2 files changed, 4 insertions, 3 deletions
diff --git a/keyboards/handwired/tritium_numpad/config.h b/keyboards/handwired/tritium_numpad/config.h
index d7b9998964..f1f52a56f0 100644
--- a/keyboards/handwired/tritium_numpad/config.h
+++ b/keyboards/handwired/tritium_numpad/config.h
@@ -27,9 +27,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROW_PINS { D1, D0, D4, C6, D7, E6 }
#define MATRIX_COL_PINS { F4, F6, B1, B2 }
-#define LED_NUM_LOCK_PIN D5
-#define LED_PIN_ON_STATE 0
-
#define BACKLIGHT_PIN B6
/* COL2ROW or ROW2COL */
diff --git a/keyboards/handwired/tritium_numpad/info.json b/keyboards/handwired/tritium_numpad/info.json
index 97362a0665..8dc967df96 100644
--- a/keyboards/handwired/tritium_numpad/info.json
+++ b/keyboards/handwired/tritium_numpad/info.json
@@ -8,6 +8,10 @@
"pid": "0x6060",
"device_version": "0.0.3"
},
+ "indicators": {
+ "num_lock": "D5",
+ "on_state": 0
+ },
"processor": "atmega32u4",
"bootloader": "caterina",
"community_layouts": ["numpad_6x4", "ortho_6x4"],