diff --git a/keyboards/typek/config.h b/keyboards/typek/config.h index 70888597657..358fcfa86d4 100644 --- a/keyboards/typek/config.h +++ b/keyboards/typek/config.h @@ -22,6 +22,9 @@ along with this program. If not, see . #define WS2812_DMA_STREAM STM32_DMA2_STREAM5 #define WS2812_DMA_CHANNEL 6 +#define EECONFIG_KB_DATA_SIZE (3*6) + + /* LED MAP 0 , 1 , 2 Three indicators 3 , 4 , 5 Three RGBs on left side @@ -29,9 +32,3 @@ along with this program. If not, see . 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) */ -#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 diff --git a/keyboards/typek/info.json b/keyboards/typek/info.json index 3f12f19b4f1..4e5b6602d4a 100644 --- a/keyboards/typek/info.json +++ b/keyboards/typek/info.json @@ -43,8 +43,16 @@ "default": { "animation": "rainbow_swirl", "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", "maintainer": "Gondolindrim", "processor": "STM32F411",