Move keyboard USB IDs and strings to data driven: N (#17865)

This commit is contained in:
Ryan
2022-08-02 10:10:48 +10:00
committed by GitHub
parent 7222969964
commit 056a44c7d3
114 changed files with 367 additions and 434 deletions

View File

@@ -19,13 +19,6 @@
#include "config_common.h"
/* USB Device descriptor parameter */
#define VENDOR_ID 0x8968
#define PRODUCT_ID 0x4E4D
#define DEVICE_VER 0x0001
#define MANUFACTURER Yiancar-Designs
#define PRODUCT NK1
/* key matrix size */
#define MATRIX_ROWS 1
#define MATRIX_COLS 1

View File

@@ -1,7 +1,13 @@
{
"keyboard_name": "NK1",
"manufacturer": "Yiancar-Designs",
"url": "www.yiancar-designs.com",
"maintainer": "yiancar",
"usb": {
"vid": "0x8968",
"pid": "0x4E4D",
"device_version": "0.0.1"
},
"layouts": {
"LAYOUT_ortho_1x1": {
"layout": [{"x": 0, "y": 0}]