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

@@ -16,13 +16,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "config_common.h"
/* USB Device descriptor parameter */
#define VENDOR_ID 0x0717
#define PRODUCT_ID 0x0003
#define DEVICE_VER 0x0001
#define MANUFACTURER Neil Brian Ramirez
#define PRODUCT [n]2
/* key matrix size */
#define MATRIX_ROWS 2
#define MATRIX_COLS 2

View File

@@ -1,7 +1,13 @@
{
"keyboard_name": "[n]2",
"manufacturer": "Neil Brian Ramirez",
"url": "",
"maintainer": "Neil Brian Ramirez",
"usb": {
"vid": "0x0717",
"pid": "0x0003",
"device_version": "0.0.1"
},
"layouts": {
"LAYOUT": {
"layout": [{"x":0, "y":0}, {"x":0, "y":1}]