diff options
author | Ryan <fauxpark@gmail.com> | 2021-11-05 08:08:52 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-05 08:08:52 +1100 |
commit | 94018367278f44fcf3eab8a86525f2b257ecf4ba (patch) | |
tree | c926797b833b2c51f3b458bd0726944b21fdf0a8 /keyboards/handwired | |
parent | 45a8176e325130775b51058199e69aa8f06c88cc (diff) | |
download | qmk_firmware-94018367278f44fcf3eab8a86525f2b257ecf4ba.tar.gz qmk_firmware-94018367278f44fcf3eab8a86525f2b257ecf4ba.zip |
Map `PRODUCT` define to `keyboard_name` (#14372)
* Map `PRODUCT` define to `keyboard_name`
* Fix tests
* Fix last test
Diffstat (limited to 'keyboards/handwired')
-rw-r--r-- | keyboards/handwired/pytest/basic/info.json | 13 | ||||
-rw-r--r-- | keyboards/handwired/pytest/config.h | 7 | ||||
-rw-r--r-- | keyboards/handwired/pytest/info.json | 10 |
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" + } +} |