diff options
author | Ryan <fauxpark@gmail.com> | 2022-08-06 15:49:44 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-06 15:49:44 +1000 |
commit | 10ad2389442c00c32714f6e9a6766e9e7bdec2c2 (patch) | |
tree | b10a67eaa4fcc2f8a990aa6cd951bd187312bef8 /keyboards/wsk/pain27 | |
parent | 660dedfb176314c9a449c719b98acf9651968ce4 (diff) | |
download | qmk_firmware-10ad2389442c00c32714f6e9a6766e9e7bdec2c2.tar.gz qmk_firmware-10ad2389442c00c32714f6e9a6766e9e7bdec2c2.zip |
Move keyboard USB IDs and strings to data driven: W (#17903)
Diffstat (limited to 'keyboards/wsk/pain27')
-rw-r--r-- | keyboards/wsk/pain27/config.h | 7 | ||||
-rw-r--r-- | keyboards/wsk/pain27/info.json | 8 |
2 files changed, 7 insertions, 8 deletions
diff --git a/keyboards/wsk/pain27/config.h b/keyboards/wsk/pain27/config.h index b0ddad521a..065eae17d8 100644 --- a/keyboards/wsk/pain27/config.h +++ b/keyboards/wsk/pain27/config.h @@ -2,13 +2,6 @@ #include "config_common.h" -/* USB Device descriptor parameter */ -#define VENDOR_ID 0xFEED -#define PRODUCT_ID 0x9E8C -#define DEVICE_VER 0x0001 -#define MANUFACTURER Worldspawn00 -#define PRODUCT PAIN27 - /* key matrix size */ #define MATRIX_ROWS 3 #define MATRIX_COLS 10 diff --git a/keyboards/wsk/pain27/info.json b/keyboards/wsk/pain27/info.json index f8bc4f46f1..5675330098 100644 --- a/keyboards/wsk/pain27/info.json +++ b/keyboards/wsk/pain27/info.json @@ -1,7 +1,13 @@ { - "keyboard_name": "Pain27v2", + "keyboard_name": "PAIN27", + "manufacturer": "Worldspawn00", "url": "https://qmk.fm/keyboards", "maintainer": "worldspawn00", + "usb": { + "vid": "0xFEED", + "pid": "0x9E8C", + "device_version": "0.0.1" + }, "layouts": { "LAYOUT": { "layout": [{"label":"Q", "x":1, "y":0}, {"label":"W", "x":2, "y":0}, {"label":"E", "x":3, "y":0}, {"label":"R", "x":4, "y":0}, {"label":"T", "x":5, "y":0}, {"label":"Y", "x":6, "y":0}, {"label":"U", "x":7, "y":0}, {"label":"I", "x":8, "y":0}, {"label":"O", "x":9, "y":0}, {"label":"P", "x":10, "y":0}, {"label":"A", "x":1.25, "y":1}, {"label":"S", "x":2.25, "y":1}, {"label":"D", "x":3.25, "y":1}, {"label":"F", "x":4.25, "y":1}, {"label":"G", "x":5.25, "y":1}, {"label":"H", "x":6.25, "y":1}, {"label":"J", "x":7.25, "y":1}, {"label":"K", "x":8.25, "y":1}, {"label":"L", "x":9.25, "y":1}, {"label":"Z", "x":1.75, "y":2}, {"label":"X", "x":2.75, "y":2}, {"label":"C", "x":3.75, "y":2}, {"label":"V", "x":4.75, "y":2}, {"label":"B", "x":5.75, "y":2}, {"label":"N", "x":6.75, "y":2}, {"label":"M", "x":7.75, "y":2}, {"x":3.25, "y":3, "w":6.25}] |