Fix errors flagged by generate-api (#19784)

This commit is contained in:
Ryan 2023-02-09 14:34:21 +11:00 committed by GitHub
parent b0604aca47
commit c67285587c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
15 changed files with 107 additions and 38 deletions

View file

@ -3,7 +3,6 @@
"manufacturer": "Yiancar",
"url": "",
"maintainer": "qmk",
"bootloader": "atmel-dfu",
"usb": {
"vid": "0xFEED",
"pid": "0x5050",

View file

@ -17,7 +17,6 @@
"rows": ["D3", "D2", "F7", "F6", "F5", "F0"]
},
"processor": "atmega32u4",
"rgblight": {
"led_count": 48,
"pin": "B2",

View file

@ -9,5 +9,20 @@
"device_version": "0.0.1"
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu"
"bootloader": "atmel-dfu",
"layouts": {
"LAYOUT": {
"layout": [
{"x": 0, "y": 0},
{"x": 1, "y": 0},
{"x": 2, "y": 0},
{"x": 3, "y": 0},
{"label": "Encoder 1 CCW", "x": 0, "y": 1},
{"label": "Encoder 1 CW", "x": 1, "y": 1},
{"label": "Encoder 2 CCW", "x": 2, "y": 1},
{"label": "Encoder 2 CW", "x": 3, "y": 1}
]
}
}
}

View file

@ -15,23 +15,3 @@
*/
#include "bear_65.h"
#ifdef RGB_MATRIX_ENABLE
led_config_t g_led_config = { {
// Key Matrix to LED Index
{ NO_LED, 4 , 4 , 4 , 4 , 3 , 3 , 3 , 3 , 2 , 2 , 2 , 2 , 1 , NO_LED},
{ NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, 6 },
{ 6 , NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, 6 , 0 , 6 },
{ 7 , 5 , NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, 11 },
{ 7 , NO_LED, NO_LED, 8 , NO_LED, 8 , 9 , NO_LED, 9 , 7 , 10 , 11 , 11 , 11 , 1 },
}, {
// LED Index to Physical Position
{224, 32}, {224, 10}, {192, 10}, {128, 25},
{70, 10}, {16, 10}, {16, 32}, {16, 64},
{64, 64}, {112, 64}, {176, 64}, {224, 64}
}, {
// LED Index to Flag
LED_FLAG_ALL, LED_FLAG_ALL, LED_FLAG_ALL, LED_FLAG_ALL, LED_FLAG_ALL, LED_FLAG_ALL,
LED_FLAG_ALL, LED_FLAG_ALL, LED_FLAG_ALL, LED_FLAG_ALL, LED_FLAG_ALL, LED_FLAG_ALL
} };
#endif

View file

@ -168,7 +168,7 @@
{"label":"Left", "x":17.25, "y":4},
{"label":"Down", "x":18.25, "y":4},
{"label":"Right", "x":19.25, "y":4}]
}
},
"LAYOUT_wk_bs": {
"layout": [
{"label":"Esc", "x":0.5, "y":0},

View file

@ -1 +1 @@
DEFAULT_FOLDER = jacky_studio/bear65/rev1
DEFAULT_FOLDER = jacky_studio/bear_65/rev1

View file

@ -8,7 +8,7 @@
"pid": "0x0082",
"device_version": "0.0.2"
},
"processor": "F072",
"processor": "STM32F072",
"bootloader": "stm32-dfu",
"layouts": {
"LAYOUT_m80v2s": {

View file

@ -7,5 +7,92 @@
"device_version": "0.0.1"
},
"processor": "STM32F103",
"bootloader": "stm32duino"
"bootloader": "stm32duino",
"layouts": {
"LAYOUT": {
"layout": [
{"x": 0.5, "y": 0},
{"x": 1.75, "y": 0},
{"x": 2.75, "y": 0},
{"x": 3.75, "y": 0},
{"x": 4.75, "y": 0},
{"x": 5.75, "y": 0},
{"x": 6.75, "y": 0},
{"x": 7.75, "y": 0},
{"x": 9.25, "y": 0},
{"x": 10.25, "y": 0},
{"x": 11.25, "y": 0},
{"x": 12.25, "y": 0},
{"x": 13.25, "y": 0},
{"x": 14.25, "y": 0},
{"x": 15.25, "y": 0, "w": 2},
{"x": 0.25, "y": 1},
{"x": 1.5, "y": 1, "w": 1.5},
{"x": 3, "y": 1},
{"x": 4, "y": 1},
{"x": 5, "y": 1},
{"x": 6, "y": 1},
{"x": 7, "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": 15, "y": 1},
{"x": 16, "y": 1, "w": 1.5},
{"x": 0, "y": 2},
{"x": 1.25, "y": 2, "w": 1.75},
{"x": 3, "y": 2},
{"x": 4, "y": 2},
{"x": 5, "y": 2},
{"x": 6, "y": 2},
{"x": 7, "y": 2},
{"x": 9.5, "y": 2},
{"x": 10.5, "y": 2},
{"x": 11.5, "y": 2},
{"x": 12.5, "y": 2},
{"x": 13.5, "y": 2},
{"x": 14.5, "y": 2},
{"x": 15.5, "y": 2, "w": 2.25},
{"x": 1, "y": 3, "w": 2.25},
{"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": 9.75, "y": 3},
{"x": 10.75, "y": 3},
{"x": 11.75, "y": 3},
{"x": 12.75, "y": 3},
{"x": 13.75, "y": 3},
{"x": 14.75, "y": 3},
{"x": 15.75, "y": 3},
{"x": 16.75, "y": 3, "w": 1.25},
{"x": 1, "y": 4, "w": 1.25},
{"x": 2.25, "y": 4, "w": 1.25},
{"x": 4.75, "y": 4, "w": 1.25},
{"x": 6, "y": 4, "w": 2.25},
{"x": 9.75, "y": 4, "w": 2.75},
{"x": 12.5, "y": 4, "w": 1.25},
{"x": 14.75, "y": 4},
{"x": 15.75, "y": 4},
{"x": 16.75, "y": 4}
]
}
}
}

View file

@ -3,8 +3,6 @@
"manufacturer": "ryanbaekr",
"url": "",
"maintainer": "ryanbaekr",
"processor": "atmega32u4",
"bootloader": "caterina",
"usb": {
"vid": "0x7262",
"pid": "0x0001",

View file

@ -3,8 +3,6 @@
"manufacturer": "ryanbaekr",
"url": "",
"maintainer": "ryanbaekr",
"processor": "atmega32u4",
"bootloader": "caterina",
"usb": {
"vid": "0x7262",
"pid": "0x0018",

View file

@ -3,8 +3,6 @@
"manufacturer": "ryanbaekr",
"url": "",
"maintainer": "ryanbaekr",
"processor": "atmega32u4",
"bootloader": "caterina",
"usb": {
"vid": "0x7262",
"pid": "0x0069",

View file

@ -3,8 +3,6 @@
"manufacturer": "ryanbaekr",
"url": "",
"maintainer": "ryanbaekr",
"processor": "atmega32u4",
"bootloader": "caterina",
"usb": {
"vid": "0x7262",
"pid": "0x0086",

View file

@ -3,7 +3,6 @@
"keyboard_name": "Splitography",
"url": "https://softhruf.love/collections/writers",
"maintainer": "qmk",
"processor": "atmega32u4",
"diode_direction": "COL2ROW",
"features": {
"steno": true,

View file

@ -1,6 +1,5 @@
{
"keyboard_name": "nz64",
"processor": "STM32F401",
"usb": {
"pid": "0xAAAF",
"device_version": "1.0.0"

View file

@ -1,6 +1,5 @@
{
"keyboard_name": "zhou65",
"processor": "STM32F401",
"usb": {
"pid": "0xAAAD",
"device_version": "1.0.0"