From 17176daf26ae17b8ae54312217555f1bfed782c1 Mon Sep 17 00:00:00 2001 From: Ryan Date: Thu, 4 Aug 2022 11:35:08 +1000 Subject: Move keyboard USB IDs and strings to data driven: T (#17899) --- keyboards/themadnoodle/ncc1701kb/v2/config.h | 7 ------- keyboards/themadnoodle/ncc1701kb/v2/info.json | 6 ++++++ keyboards/themadnoodle/noodlepad/config.h | 7 ------- keyboards/themadnoodle/noodlepad/info.json | 8 +++++++- 4 files changed, 13 insertions(+), 15 deletions(-) (limited to 'keyboards/themadnoodle') diff --git a/keyboards/themadnoodle/ncc1701kb/v2/config.h b/keyboards/themadnoodle/ncc1701kb/v2/config.h index 7cbba827a2..042fd276d9 100644 --- a/keyboards/themadnoodle/ncc1701kb/v2/config.h +++ b/keyboards/themadnoodle/ncc1701kb/v2/config.h @@ -19,13 +19,6 @@ along with this program. If not, see . #include "config_common.h" -/* USB Device descriptor parameter */ -#define VENDOR_ID 0xFEED -#define PRODUCT_ID 0x1701 -#define DEVICE_VER 0x0002 -#define MANUFACTURER The Mad Noodle -#define PRODUCT NCC1701KB v2 - /* key matrix size */ #define MATRIX_ROWS 3 #define MATRIX_COLS 3 diff --git a/keyboards/themadnoodle/ncc1701kb/v2/info.json b/keyboards/themadnoodle/ncc1701kb/v2/info.json index ee62dbafc9..7c919dc3bc 100644 --- a/keyboards/themadnoodle/ncc1701kb/v2/info.json +++ b/keyboards/themadnoodle/ncc1701kb/v2/info.json @@ -1,7 +1,13 @@ { "keyboard_name": "NCC-1701-KB v2", + "manufacturer": "The Mad Noodle", "url": "instagram.com/the_mad_noodle", "maintainer": "The-Mad-Noodle", + "usb": { + "vid": "0xFEED", + "pid": "0x1701", + "device_version": "0.0.2" + }, "layouts": { "LAYOUT_ortho_3x3": { "layout": [ diff --git a/keyboards/themadnoodle/noodlepad/config.h b/keyboards/themadnoodle/noodlepad/config.h index 3f47e3b609..042fd276d9 100644 --- a/keyboards/themadnoodle/noodlepad/config.h +++ b/keyboards/themadnoodle/noodlepad/config.h @@ -19,13 +19,6 @@ along with this program. If not, see . #include "config_common.h" -/* USB Device descriptor parameter */ -#define VENDOR_ID 0xFEED -#define PRODUCT_ID 0x1701 -#define DEVICE_VER 0x0001 -#define MANUFACTURER The Mad Noodle -#define PRODUCT Noodle Pad v1 - /* key matrix size */ #define MATRIX_ROWS 3 #define MATRIX_COLS 3 diff --git a/keyboards/themadnoodle/noodlepad/info.json b/keyboards/themadnoodle/noodlepad/info.json index 5ffcc68677..c79d8ac305 100644 --- a/keyboards/themadnoodle/noodlepad/info.json +++ b/keyboards/themadnoodle/noodlepad/info.json @@ -1,7 +1,13 @@ { - "keyboard_name": "NoodlePad", + "keyboard_name": "Noodle Pad v1", + "manufacturer": "The Mad Noodle", "url": "instagram.com/the_mad_noodle", "maintainer": "The-Mad-Noodle", + "usb": { + "vid": "0xFEED", + "pid": "0x1701", + "device_version": "0.0.1" + }, "layouts": { "LAYOUT_ortho_3x3": { "layout": [ -- cgit v1.2.1