From cf41c24db853f825150802d30dce73ba507b69c0 Mon Sep 17 00:00:00 2001 From: Ryan Date: Thu, 25 Aug 2022 00:28:38 +1000 Subject: Move keyboard USB IDs and strings to data driven: develop (#18152) * Move keyboard USB IDs and strings to data driven: develop * Also do new onekeys --- keyboards/adafruit/macropad/config.h | 6 ------ keyboards/adafruit/macropad/info.json | 8 +++++++- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'keyboards/adafruit') diff --git a/keyboards/adafruit/macropad/config.h b/keyboards/adafruit/macropad/config.h index 1e055e273b..cc4cbc940c 100644 --- a/keyboards/adafruit/macropad/config.h +++ b/keyboards/adafruit/macropad/config.h @@ -22,12 +22,6 @@ #define MATRIX_ROWS 5 #define MATRIX_COLS 3 -#define VENDOR_ID 0x239A -#define PRODUCT_ID 0x0108 -#define DEVICE_VER 0x0001 -#define MANUFACTURER Adafruit -#define PRODUCT Macropad RP2040 - /* Keyboard Matrix Assignments */ // clang-format off #define DIRECT_PINS { \ diff --git a/keyboards/adafruit/macropad/info.json b/keyboards/adafruit/macropad/info.json index ffa31780a9..e9bd7d85b1 100644 --- a/keyboards/adafruit/macropad/info.json +++ b/keyboards/adafruit/macropad/info.json @@ -1,7 +1,13 @@ { - "keyboard_name": "Adafruit Macropad RP2040", + "keyboard_name": "Macropad RP2040", + "manufacturer": "Adafruit", "url": "https://learn.adafruit.com/adafruit-macropad-rp2040", "maintainer": "Jpe230", + "usb": { + "vid": "0x239A", + "pid": "0x0108", + "device_version": "0.0.1" + }, "layouts": { "LAYOUT": { "layout": [ -- cgit v1.2.3