diff options
author | Ryan <fauxpark@gmail.com> | 2022-08-20 10:39:35 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-20 10:39:35 +1000 |
commit | 835c971f78b5d995bb58f0889fac00aac348de52 (patch) | |
tree | 0997888e5fe5dec82133a1eec10ce425b09a0545 /keyboards/keycapsss/plaid_pad | |
parent | 48792b030b754c8b3983a97071db1b09ae6353d4 (diff) |
Move keyboard USB IDs and strings to data driven, pass 2: J-L (#18080)
Diffstat (limited to 'keyboards/keycapsss/plaid_pad')
-rw-r--r-- | keyboards/keycapsss/plaid_pad/config.h | 5 | ||||
-rw-r--r-- | keyboards/keycapsss/plaid_pad/info.json | 6 | ||||
-rw-r--r-- | keyboards/keycapsss/plaid_pad/rev1/config.h | 3 | ||||
-rw-r--r-- | keyboards/keycapsss/plaid_pad/rev1/info.json | 6 | ||||
-rw-r--r-- | keyboards/keycapsss/plaid_pad/rev2/config.h | 3 | ||||
-rw-r--r-- | keyboards/keycapsss/plaid_pad/rev2/info.json | 6 | ||||
-rw-r--r-- | keyboards/keycapsss/plaid_pad/rev3/config.h | 3 | ||||
-rw-r--r-- | keyboards/keycapsss/plaid_pad/rev3/info.json | 6 |
8 files changed, 23 insertions, 15 deletions
diff --git a/keyboards/keycapsss/plaid_pad/config.h b/keyboards/keycapsss/plaid_pad/config.h index 373d3de14f..fd9c63f339 100644 --- a/keyboards/keycapsss/plaid_pad/config.h +++ b/keyboards/keycapsss/plaid_pad/config.h @@ -18,11 +18,6 @@ #include "config_common.h" -/* USB Device descriptor parameter */ -#define VENDOR_ID 0x7983 -#define PRODUCT_ID 0x5050 // "PP" -#define MANUFACTURER Keycapsss - /* key matrix size */ #define MATRIX_ROWS 4 #define MATRIX_COLS 4 diff --git a/keyboards/keycapsss/plaid_pad/info.json b/keyboards/keycapsss/plaid_pad/info.json index 1ccac5d2cc..c223b88065 100644 --- a/keyboards/keycapsss/plaid_pad/info.json +++ b/keyboards/keycapsss/plaid_pad/info.json @@ -1,7 +1,11 @@ { - "keyboard_name": "Plaid-Pad", + "manufacturer": "Keycapsss", "url": "https://keycapsss.com/diy-kits/104/plaid-pad-4x4-numpad", "maintainer": "BenRoe", + "usb": { + "vid": "0x7983", + "pid": "0x5050" + }, "layouts": { "LAYOUT_ortho_4x4": { "layout": [ diff --git a/keyboards/keycapsss/plaid_pad/rev1/config.h b/keyboards/keycapsss/plaid_pad/rev1/config.h index fee25316dd..8d0a6a2b9d 100644 --- a/keyboards/keycapsss/plaid_pad/rev1/config.h +++ b/keyboards/keycapsss/plaid_pad/rev1/config.h @@ -16,9 +16,6 @@ #pragma once -#define PRODUCT Plaid-Pad Rev1 -#define DEVICE_VER 0x0001 - #define UNUSED_PINS { B3, B4, B5, D4} #define ENCODERS_PAD_A { D1, B2 } diff --git a/keyboards/keycapsss/plaid_pad/rev1/info.json b/keyboards/keycapsss/plaid_pad/rev1/info.json new file mode 100644 index 0000000000..3d98c4cb57 --- /dev/null +++ b/keyboards/keycapsss/plaid_pad/rev1/info.json @@ -0,0 +1,6 @@ +{ + "keyboard_name": "Plaid-Pad Rev1", + "usb": { + "device_version": "0.0.1" + } +} diff --git a/keyboards/keycapsss/plaid_pad/rev2/config.h b/keyboards/keycapsss/plaid_pad/rev2/config.h index f3646dd575..a28e747d68 100644 --- a/keyboards/keycapsss/plaid_pad/rev2/config.h +++ b/keyboards/keycapsss/plaid_pad/rev2/config.h @@ -16,9 +16,6 @@ #pragma once -#define PRODUCT Plaid-Pad Rev2 -#define DEVICE_VER 0x0002 - #define UNUSED_PINS { } #define ENCODERS_PAD_A { D1, B2, B4, D4 } diff --git a/keyboards/keycapsss/plaid_pad/rev2/info.json b/keyboards/keycapsss/plaid_pad/rev2/info.json new file mode 100644 index 0000000000..0a1da66f73 --- /dev/null +++ b/keyboards/keycapsss/plaid_pad/rev2/info.json @@ -0,0 +1,6 @@ +{ + "keyboard_name": "Plaid-Pad Rev2", + "usb": { + "device_version": "0.0.2" + } +} diff --git a/keyboards/keycapsss/plaid_pad/rev3/config.h b/keyboards/keycapsss/plaid_pad/rev3/config.h index 40f96cd5c8..435f0b1ebb 100644 --- a/keyboards/keycapsss/plaid_pad/rev3/config.h +++ b/keyboards/keycapsss/plaid_pad/rev3/config.h @@ -16,9 +16,6 @@ #pragma once -#define PRODUCT Plaid-Pad Rev3 -#define DEVICE_VER 0x0003 - #define UNUSED_PINS { } #define ENCODERS_PAD_A { D1, B2, B4, D4 } diff --git a/keyboards/keycapsss/plaid_pad/rev3/info.json b/keyboards/keycapsss/plaid_pad/rev3/info.json new file mode 100644 index 0000000000..2f5b474c4d --- /dev/null +++ b/keyboards/keycapsss/plaid_pad/rev3/info.json @@ -0,0 +1,6 @@ +{ + "keyboard_name": "Plaid-Pad Rev3", + "usb": { + "device_version": "0.0.3" + } +} |