Move keyboard USB IDs and strings to data driven: R (#17885)

This commit is contained in:
Ryan
2022-08-04 08:05:40 +10:00
committed by GitHub
parent 92bcbee226
commit b40c03140e
136 changed files with 419 additions and 486 deletions

View File

@@ -17,13 +17,6 @@
#include "config_common.h"
/* USB Device descriptor parameter */
#define VENDOR_ID 0x726B // rk - "rainkeebs"
#define PRODUCT_ID 0x7973 // ys - "yasui"
#define DEVICE_VER 0x0001
#define MANUFACTURER rainkeebs
#define PRODUCT yasui
/* key matrix size */
#define MATRIX_ROWS 4
#define MATRIX_COLS 10

View File

@@ -1,7 +1,13 @@
{
"keyboard_name": "Yasui",
"manufacturer": "rainkeebs",
"url": "https://www.rainkeebs.mx/product/yasui-keyboard-kit",
"maintainer": "rainkeebs",
"usb": {
"vid": "0x726B",
"pid": "0x7973",
"device_version": "0.0.1"
},
"layouts": {
"LAYOUT": {
"layout": [{"x":0, "y":0}, {"x":1, "y":0}, {"x":2, "y":0}, {"x":3, "y":0}, {"x":4, "y":0}, {"x":5, "y":0}, {"x":6, "y":0}, {"x":7, "y":0}, {"x":8, "y":0}, {"x":9, "y":0}, {"x":0, "y":1}, {"x":1, "y":1}, {"x":2, "y":1}, {"x":3, "y":1}, {"x":4, "y":1}, {"x":5, "y":1}, {"x":6, "y":1}, {"x":7, "y":1}, {"x":8, "y":1}, {"x":9, "y":1}, {"x":0, "y":2}, {"x":1, "y":2}, {"x":2, "y":2}, {"x":3, "y":2}, {"x":4, "y":2}, {"x":5, "y":2}, {"x":6, "y":2}, {"x":7, "y":2}, {"x":8, "y":2}, {"x":9, "y":2}, {"x":0, "y":3}, {"x":1, "y":3}, {"x":2, "y":3}, {"x":3, "y":3}, {"x":4, "y":3}, {"x":5, "y":3}, {"x":6, "y":3}, {"x":7, "y":3}, {"x":8, "y":3}, {"x":9, "y":3}]