mirror of
https://github.com/Cian-H/qmk_firmware.git
synced 2026-08-20 12:52:51 +01:00
Make default layer size 16-bit (#15286)
Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com>
This commit is contained in:
co-authored by
James Young
parent
cfcd647b2e
commit
0da6562c4d
@@ -37,7 +37,7 @@ enum tap_dances{
|
||||
|
||||
bool encoder_update_user(uint8_t index, bool clockwise) {
|
||||
if (index == 0) { /* First encoder*/
|
||||
switch(biton32(layer_state)){
|
||||
switch(get_highest_layer(layer_state)){
|
||||
case _MAIN:
|
||||
if (clockwise) {
|
||||
tap_code(KC_VOLU);
|
||||
|
||||
Reference in New Issue
Block a user