Move keyboard USB IDs and strings to data driven: X (#17925)

This commit is contained in:
Ryan
2022-08-06 18:45:43 +10:00
committed by GitHub
parent 64acbcb42a
commit 0e3cc6af12
68 changed files with 218 additions and 245 deletions

View File

@@ -2,13 +2,6 @@
#include "config_common.h"
// USB Device descriptor parameter
#define VENDOR_ID 0x5845 // XE
#define PRODUCT_ID 0x5396 // Snap96
#define DEVICE_VER 0x0001
#define MANUFACTURER Xelus
#define PRODUCT Snap96
// key matrix size
#define MATRIX_ROWS 12
#define MATRIX_COLS 10

View File

@@ -1,7 +1,13 @@
{
"keyboard_name": "Snap96",
"manufacturer": "Xelus",
"url": "",
"maintainer": "Xelus22",
"usb": {
"vid": "0x5845",
"pid": "0x5396",
"device_version": "0.0.1"
},
"layouts": {
"LAYOUT_all": {
"layout": [