Move keyboard USB IDs and strings to data driven, pass 2: D-E (#17956)

This commit is contained in:
Ryan
2022-08-15 13:30:12 +10:00
committed by GitHub
parent 1027aed83a
commit 51d5aad25b
121 changed files with 354 additions and 517 deletions

View File

@@ -18,7 +18,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#include "config_common.h"
#define VENDOR_ID 0x9906
#define PRODUCT_ID 0x0013
#define MANUFACTURER dELIKEEb

View File

@@ -1,7 +1,11 @@
{
"keyboard_name": "vanana",
"manufacturer": "dELIKEEb",
"url": "",
"maintainer": "noclew",
"usb": {
"vid": "0x9906",
"pid": "0x0013"
},
"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":9, "y":0}, {"x":10, "y":0}, {"x":11, "y":0}, {"x":12, "y":0}, {"x":13, "y":0}, {"x":14, "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":9, "y":1}, {"x":10, "y":1}, {"x":11, "y":1}, {"x":12, "y":1}, {"x":13, "y":1}, {"x":14, "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":7, "y":2}, {"x":9, "y":2}, {"x":10, "y":2}, {"x":11, "y":2}, {"x":12, "y":2}, {"x":13, "y":2}, {"x":14, "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":7, "y":3}, {"x":9, "y":3}, {"x":10, "y":3}, {"x":11, "y":3}, {"x":12, "y":3}, {"x":13, "y":3}, {"x":14, "y":3}, {"x":1, "y":4}, {"x":2, "y":4}, {"x":3, "y":4}, {"x":4, "y":4, "w":1.25}, {"x":5.25, "y":4, "w":1.5}, {"x":8.25, "y":4, "w":1.5}, {"x":9.75, "y":4, "w":1.25}, {"x":11, "y":4}, {"x":12, "y":4}, {"x":13, "y":4}]

View File

@@ -17,10 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
/* USB Device descriptor parameter */
#define DEVICE_VER 0x0001
#define PRODUCT Vanana rev1
/* key matrix size */
#define MATRIX_ROWS 5
#define MATRIX_COLS 12

View File

@@ -0,0 +1,6 @@
{
"keyboard_name": "Vanana rev1",
"usb": {
"device_version": "0.0.1"
}
}

View File

@@ -17,10 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
/* USB Device descriptor parameter */
#define DEVICE_VER 0x0002
#define PRODUCT Vanana rev2
/* key matrix size */
#define MATRIX_ROWS 6
#define MATRIX_COLS 10

View File

@@ -0,0 +1,6 @@
{
"keyboard_name": "Vanana rev2",
"usb": {
"device_version": "0.0.2"
}
}