Make default layer size 16-bit (#15286)
Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com>
This commit is contained in:
parent
cfcd647b2e
commit
0da6562c4d
293 changed files with 1249 additions and 1309 deletions
|
@ -59,7 +59,7 @@ __attribute__ ((weak)) void matrix_scan_keymap(void) { }
|
|||
__attribute__ ((weak)) bool process_record_keymap(uint16_t keycode, keyrecord_t *record) {
|
||||
return true;
|
||||
}
|
||||
__attribute__ ((weak)) uint32_t layer_state_set_keymap (uint32_t state) {
|
||||
__attribute__ ((weak)) layer_state_t layer_state_set_keymap (layer_state_t state) {
|
||||
return state;
|
||||
}
|
||||
__attribute__ ((weak)) void led_set_keymap(uint8_t usb_led) { }
|
||||
|
@ -551,7 +551,7 @@ layer_state_t layer_state_set_user(layer_state_t state) {
|
|||
state = layer_state_set_keymap (state);
|
||||
#ifdef RGBLIGHT_ENABLE
|
||||
// Change RGB lighting depending on the last layer activated
|
||||
rgblight_change( biton32(state) );
|
||||
rgblight_change( get_highest_layer(state) );
|
||||
#endif
|
||||
return state;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue