summaryrefslogtreecommitdiff
path: root/keyboards/tenki
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2022-08-04 11:35:08 +1000
committerGitHub <noreply@github.com>2022-08-04 02:35:08 +0100
commit17176daf26ae17b8ae54312217555f1bfed782c1 (patch)
tree80f5a9dddc5588fe09964703780423e4cde43013 /keyboards/tenki
parent5a631ed9ac23b58b1e58ba169e58d443ba5fad87 (diff)
downloadqmk_firmware-17176daf26ae17b8ae54312217555f1bfed782c1.tar.gz
qmk_firmware-17176daf26ae17b8ae54312217555f1bfed782c1.zip
Move keyboard USB IDs and strings to data driven: T (#17899)
Diffstat (limited to 'keyboards/tenki')
-rw-r--r--keyboards/tenki/config.h7
-rw-r--r--keyboards/tenki/info.json6
2 files changed, 6 insertions, 7 deletions
diff --git a/keyboards/tenki/config.h b/keyboards/tenki/config.h
index 91b226e09b..7f810e7666 100644
--- a/keyboards/tenki/config.h
+++ b/keyboards/tenki/config.h
@@ -2,13 +2,6 @@
#include "config_common.h"
-/* USB Device descriptor parameter */
-#define VENDOR_ID 0x5058 // "PX"
-#define PRODUCT_ID 0x5445 // "TE"
-#define DEVICE_VER 0x1001
-#define MANUFACTURER Pixlup
-#define PRODUCT TENKI
-
/* key matrix size */
#define MATRIX_ROWS 5
#define MATRIX_COLS 4
diff --git a/keyboards/tenki/info.json b/keyboards/tenki/info.json
index 7d87abba5a..2ffafbf1dd 100644
--- a/keyboards/tenki/info.json
+++ b/keyboards/tenki/info.json
@@ -1,7 +1,13 @@
{
"keyboard_name": "TENKI",
+ "manufacturer": "Pixlup",
"url": "https://tokopedia.com/pixlup",
"maintainer": "eriqadams",
+ "usb": {
+ "vid": "0x5058",
+ "pid": "0x5445",
+ "device_version": "10.0.1"
+ },
"layouts": {
"LAYOUT_ortho_5x4": {
"layout": [{"label":"Num Lock", "x":0, "y":0}, {"label":"/", "x":1, "y":0}, {"label":"*", "x":2, "y":0}, {"label":"-", "x":3, "y":0}, {"label":"7", "x":0, "y":1}, {"label":"8", "x":1, "y":1}, {"label":"9", "x":2, "y":1}, {"label":"+", "x":3, "y":1}, {"label":"4", "x":0, "y":2}, {"label":"5", "x":1, "y":2}, {"label":"6", "x":2, "y":2}, {"label":"Bspc", "x":3, "y":2}, {"label":"1", "x":0, "y":3}, {"label":"2", "x":1, "y":3}, {"label":"3", "x":2, "y":3}, {"label":"=", "x":3, "y":3}, {"label":"0", "x":0, "y":4}, {"label":"PrtScr", "x":1, "y":4}, {"label":".", "x":2, "y":4}, {"label":"Enter", "x":3, "y":4}]