summaryrefslogtreecommitdiffstats
path: root/keyboards/adafruit
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2022-08-25 00:28:38 +1000
committerGitHub <noreply@github.com>2022-08-24 15:28:38 +0100
commitcf41c24db853f825150802d30dce73ba507b69c0 (patch)
tree832ea3d643dabefb6174fc2849f1700b3a5b6902 /keyboards/adafruit
parente06ea4a10fd57abfc51f4021dfc2dbe15e5432b2 (diff)
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
Diffstat (limited to 'keyboards/adafruit')
-rw-r--r--keyboards/adafruit/macropad/config.h6
-rw-r--r--keyboards/adafruit/macropad/info.json8
2 files changed, 7 insertions, 7 deletions
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": [