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
|
@ -95,9 +95,9 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
|||
bool encoder_update_user(uint8_t index, bool clockwise) {
|
||||
if (index == 0) {
|
||||
if (clockwise) {
|
||||
tap_code(dynamic_keymap_get_keycode(biton32(layer_state), 4, 3));
|
||||
tap_code(dynamic_keymap_get_keycode(get_highest_layer(layer_state), 4, 3));
|
||||
} else {
|
||||
tap_code(dynamic_keymap_get_keycode(biton32(layer_state), 4, 4));
|
||||
tap_code(dynamic_keymap_get_keycode(get_highest_layer(layer_state), 4, 4));
|
||||
}
|
||||
}
|
||||
return true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue