summaryrefslogtreecommitdiff
path: root/keyboards
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2021-11-05 08:08:52 +1100
committerGitHub <noreply@github.com>2021-11-05 08:08:52 +1100
commit94018367278f44fcf3eab8a86525f2b257ecf4ba (patch)
treec926797b833b2c51f3b458bd0726944b21fdf0a8 /keyboards
parent45a8176e325130775b51058199e69aa8f06c88cc (diff)
Map `PRODUCT` define to `keyboard_name` (#14372)
* Map `PRODUCT` define to `keyboard_name` * Fix tests * Fix last test
Diffstat (limited to 'keyboards')
-rw-r--r--keyboards/handwired/pytest/basic/info.json13
-rw-r--r--keyboards/handwired/pytest/config.h7
-rw-r--r--keyboards/handwired/pytest/info.json10
3 files changed, 16 insertions, 14 deletions
diff --git a/keyboards/handwired/pytest/basic/info.json b/keyboards/handwired/pytest/basic/info.json
index ed052a14a3..af57447d30 100644
--- a/keyboards/handwired/pytest/basic/info.json
+++ b/keyboards/handwired/pytest/basic/info.json
@@ -1,10 +1,9 @@
{
- "maintainer": "qmk",
- "layouts": {
- "LAYOUT_custom": {
- "layout": [
- { "label": "KC_Q", "matrix": [0, 0], "w": 1, "x": 0, "y": 0 }
- ]
+ "layouts": {
+ "LAYOUT_custom": {
+ "layout": [
+ { "label": "KC_Q", "matrix": [0, 0], "w": 1, "x": 0, "y": 0 }
+ ]
+ }
}
- }
}
diff --git a/keyboards/handwired/pytest/config.h b/keyboards/handwired/pytest/config.h
index 64cf353126..f03597a7d4 100644
--- a/keyboards/handwired/pytest/config.h
+++ b/keyboards/handwired/pytest/config.h
@@ -2,13 +2,6 @@
#include "config_common.h"
-/* USB Device descriptor parameter */
-#define VENDOR_ID 0xFEED
-#define PRODUCT_ID 0x6465
-#define DEVICE_VER 0x0001
-#define MANUFACTURER none
-#define PRODUCT pytest
-
/* key matrix size */
#define MATRIX_ROWS 1
#define MATRIX_COLS 1
diff --git a/keyboards/handwired/pytest/info.json b/keyboards/handwired/pytest/info.json
new file mode 100644
index 0000000000..5c941af9bf
--- /dev/null
+++ b/keyboards/handwired/pytest/info.json
@@ -0,0 +1,10 @@
+{
+ "keyboard_name": "pytest",
+ "manufacturer": "none",
+ "maintainer": "qmk",
+ "usb": {
+ "vid": "0xFEED",
+ "pid": "0x6465",
+ "device_ver": "0x0001"
+ }
+}