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

@@ -17,12 +17,6 @@
#include "config_common.h"
#define VENDOR_ID 0x5842
#define PRODUCT_ID 0x4B6E
#define DEVICE_VER 0x0001
#define MANUFACTURER X-BOWS
#define PRODUCT KNIGHT
#define MATRIX_ROWS 6
#define MATRIX_COLS 15
#define MATRIX_ROW_PINS { F7, F6, F5, F4, F1, F0 }

View File

@@ -1,7 +1,13 @@
{
"keyboard_name": "KNIGHT",
"manufacturer": "X-BOWS",
"url": "",
"maintainer": "xbows-qmk",
"usb": {
"vid": "0x5842",
"pid": "0x4B6E",
"device_version": "0.0.1"
},
"layouts": {
"LAYOUT": {
"layout": [

View File

@@ -17,12 +17,6 @@
#include "config_common.h"
#define VENDOR_ID 0x5842
#define PRODUCT_ID 0x4B50
#define DEVICE_VER 0x0001
#define MANUFACTURER X-BOWS
#define PRODUCT KNIGHT_PLUS
#define MATRIX_ROWS 6
#define MATRIX_COLS 15
#define MATRIX_ROW_PINS { F7, F6, F5, F4, F1, F0 }

View File

@@ -1,7 +1,13 @@
{
"keyboard_name": "KNIGHT_PLUS",
"manufacturer": "X-BOWS",
"url": "",
"maintainer": "xbows-qmk",
"usb": {
"vid": "0x5842",
"pid": "0x4B50",
"device_version": "0.0.1"
},
"layouts": {
"LAYOUT": {
"layout": [

View File

@@ -17,12 +17,6 @@
#include "config_common.h"
#define VENDOR_ID 0x5842
#define PRODUCT_ID 0x4E61
#define DEVICE_VER 0x0001
#define MANUFACTURER X-BOWS
#define PRODUCT NATURE
#define MATRIX_ROWS 6
#define MATRIX_COLS 15
#define MATRIX_ROW_PINS { F7, F6, F5, F4, F1, F0 }

View File

@@ -1,7 +1,13 @@
{
"keyboard_name": "NATURE",
"manufacturer": "X-BOWS",
"url": "",
"maintainer": "xbows-qmk",
"usb": {
"vid": "0x5842",
"pid": "0x4E61",
"device_version": "0.0.1"
},
"layouts": {
"LAYOUT": {
"layout": [

View File

@@ -17,12 +17,6 @@
#include "config_common.h"
#define VENDOR_ID 0x5842
#define PRODUCT_ID 0x4E75
#define DEVICE_VER 0x0001
#define MANUFACTURER X-BOWS
#define PRODUCT NUMPAD
#define MATRIX_ROWS 6
#define MATRIX_COLS 4
#define MATRIX_ROW_PINS { B5, B4, C6, B6, D7, B3 }

View File

@@ -1,7 +1,13 @@
{
"keyboard_name": "NUMPAD",
"manufacturer": "X-BOWS",
"url": "",
"maintainer": "xbows-qmk",
"usb": {
"vid": "0x5842",
"pid": "0x4E75",
"device_version": "0.0.1"
},
"layouts": {
"LAYOUT": {
"layout": [

View File

@@ -17,12 +17,6 @@
#include "config_common.h"
#define VENDOR_ID 0x5842
#define PRODUCT_ID 0x5261
#define DEVICE_VER 0x0001
#define MANUFACTURER X-BOWS
#define PRODUCT Ranger
#define MATRIX_ROWS 6
#define MATRIX_COLS 16
#define MATRIX_ROW_PINS { C7, B6, B4, C6, B5, D6 }

View File

@@ -1,7 +1,13 @@
{
"keyboard_name": "Ranger",
"manufacturer": "X-BOWS",
"url": "",
"maintainer": "xbows-qmk",
"usb": {
"vid": "0x5842",
"pid": "0x5261",
"device_version": "0.0.1"
},
"layout_aliases": {
"LAYOUT": "LAYOUT_tkl_ansi"
},

View File

@@ -1,10 +1,5 @@
#pragma once
#include "config_common.h"
#define VENDOR_ID 0xFEED
#define PRODUCT_ID 0x1224
#define DEVICE_VER 0x0001
#define MANUFACTURER X-BOWS
#define PRODUCT WOO-DY
#define MATRIX_ROWS 5
#define MATRIX_COLS 15

View File

@@ -1,7 +1,13 @@
{
"keyboard_name": "WOO-DY",
"manufacturer": "X-BOWS",
"url": "",
"maintainer": "qmk",
"usb": {
"vid": "0xFEED",
"pid": "0x1224",
"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":10, "y":0}, {"x":11, "y":0}, {"x":12, "y":0}, {"x":13, "y":0, "w":2}, {"x":15, "y":0}, {"x":0, "y":1, "w":1.5}, {"x":1.5, "y":1}, {"x":2.5, "y":1}, {"x":3.5, "y":1}, {"x":4.5, "y":1}, {"x":5.5, "y":1}, {"x":6.5, "y":1}, {"x":7.5, "y":1}, {"x":8.5, "y":1}, {"x":9.5, "y":1}, {"x":10.5, "y":1}, {"x":11.5, "y":1}, {"x":12.5, "y":1}, {"x":13.5, "y":1, "w":1.5}, {"x":15, "y":1}, {"x":0, "y":2, "w":1.75}, {"x":1.75, "y":2}, {"x":2.75, "y":2}, {"x":3.75, "y":2}, {"x":4.75, "y":2}, {"x":5.75, "y":2}, {"x":6.75, "y":2}, {"x":7.75, "y":2}, {"x":8.75, "y":2}, {"x":9.75, "y":2}, {"x":10.75, "y":2}, {"x":11.75, "y":2}, {"x":12.75, "y":2, "w":2.25}, {"x":15, "y":2}, {"x":0, "y":3, "w":2.25}, {"x":2.25, "y":3}, {"x":3.25, "y":3}, {"x":4.25, "y":3}, {"x":5.25, "y":3}, {"x":6.25, "y":3}, {"x":7.25, "y":3}, {"x":8.25, "y":3}, {"x":9.25, "y":3}, {"x":10.25, "y":3}, {"x":11.25, "y":3}, {"x":12.25, "y":3, "w":1.75}, {"x":14, "y":3}, {"x":15, "y":3}, {"x":0, "y":4, "w":1.25}, {"x":1.25, "y":4, "w":1.25}, {"x":2.5, "y":4, "w":1.5}, {"x":4, "y":4, "w":6.25}, {"x":10.25, "y":4, "w":1.5}, {"x":11.75, "y":4, "w":1.25}, {"x":13, "y":4}, {"x":14, "y":4}, {"x":15, "y":4}]