mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-12-24 18:25:01 +06:00
Merge remote-tracking branch 'origin/master' into develop
This commit is contained in:
commit
b9e67347f1
@ -17,5 +17,3 @@
|
||||
#pragma once
|
||||
|
||||
#define IS31FL3733_I2C_ADDRESS_1 IS31FL3733_I2C_ADDRESS_GND_GND
|
||||
|
||||
#define RGB_MATRIX_LED_COUNT 64
|
||||
|
@ -12,7 +12,77 @@
|
||||
"driver": "is31fl3733",
|
||||
"led_flush_limit": 26,
|
||||
"led_process_limit": 20,
|
||||
"max_brightness": 160
|
||||
"max_brightness": 160,
|
||||
"layout": [
|
||||
{"matrix": [0, 0], "x": 0, "y": 0, "flags": 1},
|
||||
{"matrix": [0, 1], "x": 16, "y": 0, "flags": 4},
|
||||
{"matrix": [0, 2], "x": 32, "y": 0, "flags": 4},
|
||||
{"matrix": [0, 3], "x": 48, "y": 0, "flags": 4},
|
||||
{"matrix": [0, 4], "x": 64, "y": 0, "flags": 4},
|
||||
{"matrix": [0, 5], "x": 80, "y": 0, "flags": 4},
|
||||
{"matrix": [0, 6], "x": 96, "y": 0, "flags": 4},
|
||||
{"matrix": [0, 7], "x": 112, "y": 0, "flags": 4},
|
||||
{"matrix": [0, 8], "x": 128, "y": 0, "flags": 4},
|
||||
{"matrix": [0, 9], "x": 144, "y": 0, "flags": 4},
|
||||
{"matrix": [0, 10], "x": 160, "y": 0, "flags": 4},
|
||||
{"matrix": [0, 11], "x": 176, "y": 0, "flags": 4},
|
||||
{"matrix": [0, 12], "x": 192, "y": 0, "flags": 4},
|
||||
{"matrix": [0, 13], "x": 216, "y": 0, "flags": 1},
|
||||
|
||||
{"matrix": [1, 0], "x": 4, "y": 16, "flags": 1},
|
||||
{"matrix": [1, 1], "x": 24, "y": 16, "flags": 4},
|
||||
{"matrix": [1, 2], "x": 40, "y": 16, "flags": 4},
|
||||
{"matrix": [1, 3], "x": 56, "y": 16, "flags": 4},
|
||||
{"matrix": [1, 4], "x": 72, "y": 16, "flags": 4},
|
||||
{"matrix": [1, 5], "x": 88, "y": 16, "flags": 4},
|
||||
{"matrix": [1, 6], "x": 104, "y": 16, "flags": 4},
|
||||
{"matrix": [1, 7], "x": 120, "y": 16, "flags": 4},
|
||||
{"matrix": [1, 8], "x": 136, "y": 16, "flags": 4},
|
||||
{"matrix": [1, 9], "x": 152, "y": 16, "flags": 4},
|
||||
{"matrix": [1, 10], "x": 168, "y": 16, "flags": 4},
|
||||
{"matrix": [1, 11], "x": 184, "y": 16, "flags": 4},
|
||||
{"matrix": [1, 12], "x": 200, "y": 16, "flags": 4},
|
||||
{"matrix": [1, 13], "x": 220, "y": 16, "flags": 1},
|
||||
|
||||
{"matrix": [2, 0], "x": 6, "y": 32, "flags": 1},
|
||||
{"matrix": [2, 1], "x": 28, "y": 32, "flags": 4},
|
||||
{"matrix": [2, 2], "x": 44, "y": 32, "flags": 4},
|
||||
{"matrix": [2, 3], "x": 60, "y": 32, "flags": 4},
|
||||
{"matrix": [2, 4], "x": 76, "y": 32, "flags": 4},
|
||||
{"matrix": [2, 5], "x": 92, "y": 32, "flags": 4},
|
||||
{"matrix": [2, 6], "x": 108, "y": 32, "flags": 4},
|
||||
{"matrix": [2, 7], "x": 124, "y": 32, "flags": 4},
|
||||
{"matrix": [2, 8], "x": 140, "y": 32, "flags": 4},
|
||||
{"matrix": [2, 9], "x": 156, "y": 32, "flags": 4},
|
||||
{"matrix": [2, 10], "x": 172, "y": 32, "flags": 4},
|
||||
{"matrix": [2, 11], "x": 188, "y": 32, "flags": 4},
|
||||
{"matrix": [2, 12], "x": 214, "y": 32, "flags": 1},
|
||||
|
||||
{"matrix": [3, 0], "x": 8, "y": 48, "flags": 1},
|
||||
{"matrix": [3, 1], "x": 32, "y": 48, "flags": 4},
|
||||
{"matrix": [3, 2], "x": 48, "y": 48, "flags": 4},
|
||||
{"matrix": [3, 3], "x": 64, "y": 48, "flags": 4},
|
||||
{"matrix": [3, 4], "x": 80, "y": 48, "flags": 4},
|
||||
{"matrix": [3, 5], "x": 96, "y": 48, "flags": 4},
|
||||
{"matrix": [3, 6], "x": 112, "y": 48, "flags": 4},
|
||||
{"matrix": [3, 7], "x": 128, "y": 48, "flags": 4},
|
||||
{"matrix": [3, 8], "x": 144, "y": 48, "flags": 4},
|
||||
{"matrix": [3, 9], "x": 160, "y": 48, "flags": 4},
|
||||
{"matrix": [3, 10], "x": 176, "y": 48, "flags": 4},
|
||||
{"matrix": [3, 11], "x": 192, "y": 48, "flags": 4},
|
||||
{"matrix": [3, 12], "x": 208, "y": 48, "flags": 4},
|
||||
{"matrix": [3, 13], "x": 224, "y": 48, "flags": 1},
|
||||
|
||||
{"matrix": [4, 0], "x": 2, "y": 64, "flags": 1},
|
||||
{"matrix": [4, 1], "x": 22, "y": 64, "flags": 1},
|
||||
{"matrix": [4, 2], "x": 42, "y": 64, "flags": 1},
|
||||
{"matrix": [4, 5], "x": 102, "y": 64, "flags": 4},
|
||||
{"matrix": [4, 9], "x": 160, "y": 64, "flags": 1},
|
||||
{"matrix": [4, 10], "x": 176, "y": 64, "flags": 1},
|
||||
{"matrix": [4, 11], "x": 192, "y": 64, "flags": 4},
|
||||
{"matrix": [4, 12], "x": 208, "y": 64, "flags": 4},
|
||||
{"matrix": [4, 13], "x": 224, "y": 64, "flags": 4}
|
||||
]
|
||||
},
|
||||
"build": {
|
||||
"lto": true
|
||||
|
@ -94,24 +94,4 @@ const is31fl3733_led_t PROGMEM g_is31fl3733_leds[IS31FL3733_LED_COUNT] = {
|
||||
{0, SW10_CS10, SW11_CS10, SW12_CS10},
|
||||
{0, SW10_CS15, SW11_CS15, SW12_CS15}
|
||||
};
|
||||
|
||||
led_config_t g_led_config = {{
|
||||
{ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13 },
|
||||
{ 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27 },
|
||||
{ 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40},
|
||||
{ 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54 },
|
||||
{ 55, 56, 57, 58, 59, 60, 61, 62, 63}
|
||||
}, {
|
||||
{ 0, 0 }, { 16, 0 }, { 32, 0 }, { 48, 0 }, { 64, 0 }, { 80, 0 }, { 96, 0 }, { 112, 0 }, { 128, 0 }, { 144, 0 }, { 160, 0 }, { 176, 0 }, { 192, 0 }, { 216, 0 },
|
||||
{ 4, 16 }, { 18, 16 }, { 34, 16 }, { 50, 16 }, { 66, 16 }, { 82, 16 }, { 98, 16 }, { 114, 16 }, { 130, 16 }, { 146, 16 }, { 162, 16 }, { 178, 16 }, { 194, 16 }, { 220, 16 },
|
||||
{ 6, 32 }, { 20, 32 }, { 36, 32 }, { 52, 32 }, { 68, 32 }, { 84, 32 }, { 100, 32 }, { 116, 32 }, { 132, 32 }, { 148, 32 }, { 164, 32 }, { 180, 32 }, { 212, 32 },
|
||||
{ 9, 48 }, { 27, 48 }, { 43, 48 }, { 59, 48 }, { 75, 48 }, { 91, 48 }, { 107, 48 }, { 123, 48 }, { 139, 48 }, { 155, 48 }, { 171, 48 }, { 187, 48 }, { 203, 48 }, { 219, 48 },
|
||||
{ 2, 64 }, { 16, 64 }, { 32, 64 }, { 64, 64 }, { 114, 64 }, { 130, 64 }, { 146, 64 }, { 204, 64 }, { 224, 64 }
|
||||
}, {
|
||||
1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1,
|
||||
1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1,
|
||||
1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1,
|
||||
1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1,
|
||||
1, 1, 1, 4, 1, 1, 4, 4, 4,
|
||||
}};
|
||||
#endif
|
Loading…
Reference in New Issue
Block a user