summaryrefslogtreecommitdiffstats
path: root/keyboards/massdrop
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2022-08-22 08:08:50 +1000
committerGitHub <noreply@github.com>2022-08-21 23:08:50 +0100
commitb0eda7701a372e820264c6a78afa1f8c410845f7 (patch)
treebe7ef4dbabac1fe15c5b48f0ae05d4c1c51868a5 /keyboards/massdrop
parent3c0806a489a12d882f00cb1a5406e6291ad5b876 (diff)
Move keyboard USB IDs and strings to data driven, pass 3 (#18111)
Diffstat (limited to 'keyboards/massdrop')
-rw-r--r--keyboards/massdrop/alt/config.h4
-rw-r--r--keyboards/massdrop/alt/info.json5
-rw-r--r--keyboards/massdrop/ctrl/config.h4
-rw-r--r--keyboards/massdrop/ctrl/info.json5
4 files changed, 10 insertions, 8 deletions
diff --git a/keyboards/massdrop/alt/config.h b/keyboards/massdrop/alt/config.h
index 2ab9c26d2c..5c63684392 100644
--- a/keyboards/massdrop/alt/config.h
+++ b/keyboards/massdrop/alt/config.h
@@ -20,10 +20,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "config_common.h"
/* USB Device descriptor parameter */
-#define VENDOR_ID 0x04D8
-#define PRODUCT_ID 0xEED3
-#define DEVICE_VER 0x0101
-
#define MANUFACTURER "Massdrop Inc."
#define PRODUCT "ALT Keyboard"
#define SERIAL_NUM "Unavailable"
diff --git a/keyboards/massdrop/alt/info.json b/keyboards/massdrop/alt/info.json
index 9a820661bc..909ca8904a 100644
--- a/keyboards/massdrop/alt/info.json
+++ b/keyboards/massdrop/alt/info.json
@@ -2,6 +2,11 @@
"keyboard_name": "ALT",
"url": "https://www.massdrop.com/buy/massdrop-alt-mechanical-keyboard",
"maintainer": "Massdrop",
+ "usb": {
+ "vid": "0x04D8",
+ "pid": "0xEED3",
+ "device_version": "1.0.1"
+ },
"layouts": {
"LAYOUT_65_ansi_blocker": {
"layout": [
diff --git a/keyboards/massdrop/ctrl/config.h b/keyboards/massdrop/ctrl/config.h
index 15abcaa674..41808e5241 100644
--- a/keyboards/massdrop/ctrl/config.h
+++ b/keyboards/massdrop/ctrl/config.h
@@ -20,10 +20,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "config_common.h"
/* USB Device descriptor parameter */
-#define VENDOR_ID 0x04D8
-#define PRODUCT_ID 0xEED2
-#define DEVICE_VER 0x0101
-
#define MANUFACTURER "Massdrop Inc."
#define PRODUCT "CTRL Keyboard"
#define SERIAL_NUM "Unavailable"
diff --git a/keyboards/massdrop/ctrl/info.json b/keyboards/massdrop/ctrl/info.json
index 00d74be021..7d0810c630 100644
--- a/keyboards/massdrop/ctrl/info.json
+++ b/keyboards/massdrop/ctrl/info.json
@@ -2,6 +2,11 @@
"keyboard_name": "CTRL",
"url": "https://www.massdrop.com/buy/massdrop-ctrl-mechanical-keyboard",
"maintainer": "Massdrop",
+ "usb": {
+ "vid": "0x04D8",
+ "pid": "0xEED2",
+ "device_version": "1.0.1"
+ },
"layouts": {
"LAYOUT": {
"layout": [