diff options
author | Ryan <fauxpark@gmail.com> | 2022-08-04 11:35:08 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-04 02:35:08 +0100 |
commit | 17176daf26ae17b8ae54312217555f1bfed782c1 (patch) | |
tree | 80f5a9dddc5588fe09964703780423e4cde43013 /keyboards/themadnoodle | |
parent | 5a631ed9ac23b58b1e58ba169e58d443ba5fad87 (diff) | |
download | qmk_firmware-17176daf26ae17b8ae54312217555f1bfed782c1.tar.gz qmk_firmware-17176daf26ae17b8ae54312217555f1bfed782c1.zip |
Move keyboard USB IDs and strings to data driven: T (#17899)
Diffstat (limited to 'keyboards/themadnoodle')
-rw-r--r-- | keyboards/themadnoodle/ncc1701kb/v2/config.h | 7 | ||||
-rw-r--r-- | keyboards/themadnoodle/ncc1701kb/v2/info.json | 6 | ||||
-rw-r--r-- | keyboards/themadnoodle/noodlepad/config.h | 7 | ||||
-rw-r--r-- | keyboards/themadnoodle/noodlepad/info.json | 8 |
4 files changed, 13 insertions, 15 deletions
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 <http://www.gnu.org/licenses/>. #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 <http://www.gnu.org/licenses/>. #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": [ |