Move keyboard USB IDs and strings to data driven, pass 2: S-Y (#18093)

This commit is contained in:
Ryan
2022-08-20 10:48:38 +10:00
committed by GitHub
parent f4dcce7e59
commit 201f1a8f47
119 changed files with 351 additions and 386 deletions

View File

@@ -1,6 +1,12 @@
{
"keyboard_name": "XD004",
"manufacturer": "XIUDI",
"maintainer": "qmk",
"usb": {
"vid": "0x7844",
"pid": "0x0404",
"device_version": "0.0.1"
},
"layouts": {
"LAYOUT_all": {
"layout": [{"label":"L", "x":0, "y":0}, {"label":"O", "x":1, "y":0}, {"label":"V", "x":2, "y":0}, {"label":"E", "x":3, "y":0}]

View File

@@ -25,14 +25,6 @@ where some things are disabled to save space as well.
#include "config_common.h"
/* USB Device descriptor parameter */
#define VENDOR_ID 0x7844 // "XD"
#define PRODUCT_ID 0x0404
#define DEVICE_VER 0x0001
// Note: unsure about manufacturer
#define MANUFACTURER XIUDI
#define PRODUCT XD004 v1
/* key matrix size */
#define MATRIX_ROWS 1
#define MATRIX_COLS 4