kimera: Reduce memory usage
- Disable Fading LED by default - Remove layer1 and fns
This commit is contained in:
parent
030658e5f4
commit
abf70607d1
@ -144,7 +144,7 @@ BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
|
|||||||
KEYMAP_IN_EEPROM_ENABLE = yes # External keymap in eeprom
|
KEYMAP_IN_EEPROM_ENABLE = yes # External keymap in eeprom
|
||||||
#KEYMAP_SECTION_ENABLE = yes # Fixed address keymap for keymap editor
|
#KEYMAP_SECTION_ENABLE = yes # Fixed address keymap for keymap editor
|
||||||
SOFTPWM_LED_ENABLE = yes # Enable SoftPWM to drive backlight
|
SOFTPWM_LED_ENABLE = yes # Enable SoftPWM to drive backlight
|
||||||
FADING_LED_ENABLE = yes # Enable fading backlight
|
#FADING_LED_ENABLE = yes # Enable fading backlight
|
||||||
BREATHING_LED_ENABLE = yes # Enable breathing backlight
|
BREATHING_LED_ENABLE = yes # Enable breathing backlight
|
||||||
LEDMAP_ENABLE = yes # Enable LED mapping
|
LEDMAP_ENABLE = yes # Enable LED mapping
|
||||||
LEDMAP_IN_EEPROM_ENABLE = yes # Read LED mapping from eeprom
|
LEDMAP_IN_EEPROM_ENABLE = yes # Read LED mapping from eeprom
|
||||||
|
@ -107,7 +107,7 @@ BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
|
|||||||
KEYMAP_IN_EEPROM_ENABLE = yes # External keymap in eeprom
|
KEYMAP_IN_EEPROM_ENABLE = yes # External keymap in eeprom
|
||||||
#KEYMAP_SECTION_ENABLE = yes # Fixed address keymap for keymap editor
|
#KEYMAP_SECTION_ENABLE = yes # Fixed address keymap for keymap editor
|
||||||
SOFTPWM_LED_ENABLE = yes # Enable SoftPWM to drive backlight
|
SOFTPWM_LED_ENABLE = yes # Enable SoftPWM to drive backlight
|
||||||
FADING_LED_ENABLE = yes # Enable fading backlight
|
#FADING_LED_ENABLE = yes # Enable fading backlight
|
||||||
BREATHING_LED_ENABLE = yes # Enable breathing backlight
|
BREATHING_LED_ENABLE = yes # Enable breathing backlight
|
||||||
LEDMAP_ENABLE = yes # Enable LED mapping
|
LEDMAP_ENABLE = yes # Enable LED mapping
|
||||||
LEDMAP_IN_EEPROM_ENABLE = yes # Read LED mapping from eeprom
|
LEDMAP_IN_EEPROM_ENABLE = yes # Read LED mapping from eeprom
|
||||||
|
@ -138,7 +138,7 @@ BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
|
|||||||
KEYMAP_IN_EEPROM_ENABLE = yes # External keymap in eeprom
|
KEYMAP_IN_EEPROM_ENABLE = yes # External keymap in eeprom
|
||||||
#KEYMAP_SECTION_ENABLE = yes # Fixed address keymap for keymap editor
|
#KEYMAP_SECTION_ENABLE = yes # Fixed address keymap for keymap editor
|
||||||
SOFTPWM_LED_ENABLE = yes # Enable SoftPWM to drive backlight
|
SOFTPWM_LED_ENABLE = yes # Enable SoftPWM to drive backlight
|
||||||
FADING_LED_ENABLE = yes # Enable fading backlight
|
#FADING_LED_ENABLE = yes # Enable fading backlight
|
||||||
BREATHING_LED_ENABLE = yes # Enable breathing backlight
|
BREATHING_LED_ENABLE = yes # Enable breathing backlight
|
||||||
LEDMAP_ENABLE = yes # Enable LED mapping
|
LEDMAP_ENABLE = yes # Enable LED mapping
|
||||||
LEDMAP_IN_EEPROM_ENABLE = yes # Read LED mapping from eeprom
|
LEDMAP_IN_EEPROM_ENABLE = yes # Read LED mapping from eeprom
|
||||||
|
@ -28,28 +28,6 @@ const uint8_t keymaps[][MATRIX_SIZE] PROGMEM = {
|
|||||||
CAPS,A, S, D, F, G, H, J, K, L, SCLN,QUOT, ENT, P4, P5, P6, \
|
CAPS,A, S, D, F, G, H, J, K, L, SCLN,QUOT, ENT, P4, P5, P6, \
|
||||||
LSFT,Z, X, C, V, B, N, M, COMM,DOT, SLSH, RSFT, UP, P1, P2, P3, PENT, \
|
LSFT,Z, X, C, V, B, N, M, COMM,DOT, SLSH, RSFT, UP, P1, P2, P3, PENT, \
|
||||||
LCTL,LGUI,LALT, SPC, RALT,RGUI,FN0, RCTL, LEFT,DOWN,RGHT, P0, PDOT ),
|
LCTL,LGUI,LALT, SPC, RALT,RGUI,FN0, RCTL, LEFT,DOWN,RGHT, P0, PDOT ),
|
||||||
/* Keymap 1: Fn Layer
|
|
||||||
* ,---------------------------------------------------------------------------------------.
|
|
||||||
* | | | | | | | | | | | | | | | | | | | |
|
|
||||||
* |---------------------------------------------------------------------------------------|
|
|
||||||
* | | | | | | | | | | | | | | | | | | | | | |
|
|
||||||
* |---------------------------------------------------------------------------------------|
|
|
||||||
* | |Fn1|Fn2|Fn3| | | | | | | | | | | | | | | | | |
|
|
||||||
* |-----------------------------------------------------------------------------------| |
|
|
||||||
* | | | | | | | | | | | | | | | | | | |
|
|
||||||
* |-----------------------------------------------------------| ,---. |----------------
|
|
||||||
* | | | | | | | | | | | | | | | | | | | |
|
|
||||||
* |-----------------------------------------------------------------------------------| |
|
|
||||||
* | | | | | | | | | | | | | | | |
|
|
||||||
* `---------------------------------------------------------------------------------------'
|
|
||||||
*/
|
|
||||||
KEYMAP_ANSI_104(
|
|
||||||
TRNS, TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS, TRNS,TRNS,TRNS, \
|
|
||||||
TRNS,FN1, FN2, FN3, TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS, TRNS,TRNS,TRNS, NLCK,TRNS,TRNS,TRNS, \
|
|
||||||
TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS, TRNS,TRNS,TRNS, TRNS,TRNS,TRNS,TRNS, \
|
|
||||||
TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS, TRNS, TRNS,TRNS,TRNS, \
|
|
||||||
TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS, TRNS, TRNS, TRNS,TRNS,TRNS,TRNS, \
|
|
||||||
TRNS,TRNS,TRNS, TRNS, TRNS,TRNS,TRNS,TRNS, TRNS,TRNS,TRNS, TRNS, TRNS ),
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -60,11 +38,6 @@ const uint16_t fn_actions[FN_ACTIONS_COUNT] __attribute__ ((section (".keymap.fn
|
|||||||
#else
|
#else
|
||||||
const uint16_t fn_actions[] PROGMEM = {
|
const uint16_t fn_actions[] PROGMEM = {
|
||||||
#endif
|
#endif
|
||||||
/* Poker2 Layout */
|
|
||||||
[0] = ACTION_LAYER_MOMENTARY(1),
|
|
||||||
[1] = ACTION_BACKLIGHT_TOGGLE(),
|
|
||||||
[2] = ACTION_BACKLIGHT_DECREASE(),
|
|
||||||
[3] = ACTION_BACKLIGHT_INCREASE(),
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#ifdef KEYMAP_IN_EEPROM_ENABLE
|
#ifdef KEYMAP_IN_EEPROM_ENABLE
|
||||||
|
@ -39,41 +39,6 @@ const uint8_t keymaps[][MATRIX_SIZE] PROGMEM = {
|
|||||||
NO, SPC, NO, RALT,RGUI,FN0, RCTL,NO, LEFT,DOWN,RGHT,NO, NO, NO, NO, NO, \
|
NO, SPC, NO, RALT,RGUI,FN0, RCTL,NO, LEFT,DOWN,RGHT,NO, NO, NO, NO, NO, \
|
||||||
NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, \
|
NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, \
|
||||||
NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, NO ),
|
NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, NO ),
|
||||||
|
|
||||||
/* Keymap 1: Fn Layer
|
|
||||||
* ,----------------------------------------. ,------------------------------------------------.
|
|
||||||
* | || | | | | | | | | | | | | | | | | ||Fn2|Fn1|Fn3|
|
|
||||||
* |---------------||-----------------------| |-----------------------------------||-----------|
|
|
||||||
* | | | | || | | | | | | | | | | | | | | || | | |
|
|
||||||
* |---------------||-------------------------. `-----------------------------------||-----------|
|
|
||||||
* | | | | || | | | | | | | | | | | | | | || | | |
|
|
||||||
* |-----------| ||--------------------------. `---------------------------------||-----------|
|
|
||||||
* | | | | || | | | | | | | | | | | | | || |
|
|
||||||
* |---------------||----------------------------. `-------------------------------|| ,---. |
|
|
||||||
* | | | | || | | | | | | | | | | | | || | | |
|
|
||||||
* |-----------| ||----------------------------| |------------------------------||-----------|
|
|
||||||
* | | | || | | | | | | | | | || | | |
|
|
||||||
* `---------------------------------------------' `-------------------------------------------'
|
|
||||||
*/
|
|
||||||
KEYMAP_16x16(
|
|
||||||
NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, \
|
|
||||||
NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, \
|
|
||||||
NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, \
|
|
||||||
NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, \
|
|
||||||
NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, \
|
|
||||||
NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, \
|
|
||||||
NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, \
|
|
||||||
NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, \
|
|
||||||
|
|
||||||
NO, NO, NO, NO, NO, NO, NO, NO, FN2, FN1, FN3, NO, NO, NO, NO, NO, \
|
|
||||||
NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, \
|
|
||||||
NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, \
|
|
||||||
NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, \
|
|
||||||
NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, \
|
|
||||||
NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, \
|
|
||||||
NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, \
|
|
||||||
NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, NO, NO ),
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -84,11 +49,6 @@ const uint16_t fn_actions[FN_ACTIONS_COUNT] __attribute__ ((section (".keymap.fn
|
|||||||
#else
|
#else
|
||||||
const uint16_t fn_actions[] PROGMEM = {
|
const uint16_t fn_actions[] PROGMEM = {
|
||||||
#endif
|
#endif
|
||||||
/* Poker2 Layout */
|
|
||||||
[0] = ACTION_LAYER_MOMENTARY(1),
|
|
||||||
[1] = ACTION_BACKLIGHT_TOGGLE(),
|
|
||||||
[2] = ACTION_BACKLIGHT_DECREASE(),
|
|
||||||
[3] = ACTION_BACKLIGHT_INCREASE(),
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#ifdef KEYMAP_IN_EEPROM_ENABLE
|
#ifdef KEYMAP_IN_EEPROM_ENABLE
|
||||||
|
Reference in New Issue
Block a user