mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-07-20 14:42:03 +00:00
Move LED MAP and EEPROM config to info.json
This commit is contained in:
parent
ead8350a65
commit
ce5a4e6af0
@ -22,6 +22,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
#define WS2812_DMA_STREAM STM32_DMA2_STREAM5
|
#define WS2812_DMA_STREAM STM32_DMA2_STREAM5
|
||||||
#define WS2812_DMA_CHANNEL 6
|
#define WS2812_DMA_CHANNEL 6
|
||||||
|
|
||||||
|
#define EECONFIG_KB_DATA_SIZE (3*6)
|
||||||
|
|
||||||
|
|
||||||
/* LED MAP
|
/* LED MAP
|
||||||
0 , 1 , 2 Three indicators
|
0 , 1 , 2 Three indicators
|
||||||
3 , 4 , 5 Three RGBs on left side
|
3 , 4 , 5 Three RGBs on left side
|
||||||
@ -29,9 +32,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
35, 34, 33, 32, 31, 30, 29, 28, 27, 26, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6 Left RGB wing (30 LEDs)
|
35, 34, 33, 32, 31, 30, 29, 28, 27, 26, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6 Left RGB wing (30 LEDs)
|
||||||
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, 64, 65 Right RGB wing (30 LEDs)
|
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, 64, 65 Right RGB wing (30 LEDs)
|
||||||
*/
|
*/
|
||||||
#define RGBLIGHT_LED_MAP {0 , 1 , 2, 3 , 4 , 5, 66, 67, 68, 35, 34, 33, 32, 31, 30, 29, 28, 27, 26, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 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, 64, 65 }
|
|
||||||
|
|
||||||
#define EECONFIG_KB_DATA_SIZE (3*6)
|
|
||||||
|
|
||||||
#define WEAR_LEVELING_LOGICAL_SIZE 2048
|
|
||||||
#define WEAR_LEVELING_BACKING_SIZE 4096
|
|
||||||
|
@ -43,6 +43,14 @@
|
|||||||
"default": {
|
"default": {
|
||||||
"animation": "rainbow_swirl",
|
"animation": "rainbow_swirl",
|
||||||
"val": 200
|
"val": 200
|
||||||
|
},
|
||||||
|
"led_map": [0 , 1 , 2, 3 , 4 , 5, 66, 67, 68, 35, 34, 33, 32, 31, 30, 29, 28, 27, 26, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 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, 64, 65]
|
||||||
|
},
|
||||||
|
"eeprom": {
|
||||||
|
"driver": "wear_leveling",
|
||||||
|
"wear_leveling": {
|
||||||
|
"backing_size": 4096,
|
||||||
|
"logical_size": 2048
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"url": "https://www.gok.design/type-k",
|
"url": "https://www.gok.design/type-k",
|
||||||
|
Loading…
Reference in New Issue
Block a user