summaryrefslogtreecommitdiff
path: root/keyboards/westm/westm9
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2022-08-20 10:48:38 +1000
committerGitHub <noreply@github.com>2022-08-20 01:48:38 +0100
commit201f1a8f47570c83569d1b0f4851b2fddf996fe7 (patch)
tree9b464f4ea08318d9efa787d92ee6ec4b5f0b70c6 /keyboards/westm/westm9
parentf4dcce7e5975276ef41d882a15e6a459b6b3689d (diff)
downloadqmk_firmware-201f1a8f47570c83569d1b0f4851b2fddf996fe7.tar.gz
qmk_firmware-201f1a8f47570c83569d1b0f4851b2fddf996fe7.zip
Move keyboard USB IDs and strings to data driven, pass 2: S-Y (#18093)
Diffstat (limited to 'keyboards/westm/westm9')
-rw-r--r--keyboards/westm/westm9/config.h6
-rw-r--r--keyboards/westm/westm9/info.json5
-rw-r--r--keyboards/westm/westm9/rev1/config.h2
-rw-r--r--keyboards/westm/westm9/rev1/info.json5
-rw-r--r--keyboards/westm/westm9/rev2/config.h2
-rw-r--r--keyboards/westm/westm9/rev2/info.json5
6 files changed, 15 insertions, 10 deletions
diff --git a/keyboards/westm/westm9/config.h b/keyboards/westm/westm9/config.h
index 4175b5b3f8..6d0bf729ac 100644
--- a/keyboards/westm/westm9/config.h
+++ b/keyboards/westm/westm9/config.h
@@ -21,12 +21,6 @@
/* Ensure we jump to bootloader if the RESET keycode was pressed */
#define EARLY_INIT_PERFORM_BOOTLOADER_JUMP TRUE
-/* USB Device descriptor parameter */
-#define VENDOR_ID 0x574D // WM
-#define DEVICE_VER 0x0001
-#define MANUFACTURER WestM
-#define PRODUCT WestM9
-
/* key matrix size */
#define MATRIX_ROWS 3
#define MATRIX_COLS 3
diff --git a/keyboards/westm/westm9/info.json b/keyboards/westm/westm9/info.json
index 5c36e74ab4..3beb8b232f 100644
--- a/keyboards/westm/westm9/info.json
+++ b/keyboards/westm/westm9/info.json
@@ -1,7 +1,12 @@
{
"keyboard_name": "WestM9",
+ "manufacturer": "WestM",
"url": "https://github.com/WestMProducts",
"maintainer": "WestM",
+ "usb": {
+ "vid": "0x574D",
+ "device_version": "0.0.1"
+ },
"layouts": {
"LAYOUT_macropad": {
"layout": [
diff --git a/keyboards/westm/westm9/rev1/config.h b/keyboards/westm/westm9/rev1/config.h
index 48ed5d6869..fcc9ddb99d 100644
--- a/keyboards/westm/westm9/rev1/config.h
+++ b/keyboards/westm/westm9/rev1/config.h
@@ -16,8 +16,6 @@
#pragma once
-#define PRODUCT_ID 0x0301
-
// The pin connected to the data pin of the LEDs
#define RGB_DI_PIN F1
#define RGBLED_NUM 14
diff --git a/keyboards/westm/westm9/rev1/info.json b/keyboards/westm/westm9/rev1/info.json
new file mode 100644
index 0000000000..9934337227
--- /dev/null
+++ b/keyboards/westm/westm9/rev1/info.json
@@ -0,0 +1,5 @@
+{
+ "usb": {
+ "pid": "0x0301"
+ }
+}
diff --git a/keyboards/westm/westm9/rev2/config.h b/keyboards/westm/westm9/rev2/config.h
index 84a7589360..fcc9ddb99d 100644
--- a/keyboards/westm/westm9/rev2/config.h
+++ b/keyboards/westm/westm9/rev2/config.h
@@ -16,8 +16,6 @@
#pragma once
-#define PRODUCT_ID 0x0302
-
// The pin connected to the data pin of the LEDs
#define RGB_DI_PIN F1
#define RGBLED_NUM 14
diff --git a/keyboards/westm/westm9/rev2/info.json b/keyboards/westm/westm9/rev2/info.json
new file mode 100644
index 0000000000..3b2f219948
--- /dev/null
+++ b/keyboards/westm/westm9/rev2/info.json
@@ -0,0 +1,5 @@
+{
+ "usb": {
+ "pid": "0x0302"
+ }
+}