1
0
Fork 0

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

@ -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