mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-02-24 15:50:48 +00:00
Merge remote-tracking branch 'origin/develop' into xap
This commit is contained in:
commit
804145b6c0
@ -200,7 +200,7 @@ void process_hand_swap(keyevent_t *event) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
# ifdef ENCODER_MAP_ENABLE
|
# ifdef ENCODER_MAP_ENABLE
|
||||||
else if (IS_ENCODEREVENT(*event) && pos.row == KEYLOC_ENCODER_CW || pos.row == KEYLOC_ENCODER_CCW) {
|
else if (IS_ENCODEREVENT(*event) && (pos.row == KEYLOC_ENCODER_CW || pos.row == KEYLOC_ENCODER_CCW)) {
|
||||||
static uint8_t encoder_swap_state[((NUM_ENCODERS) + (CHAR_BIT)-1) / (CHAR_BIT)];
|
static uint8_t encoder_swap_state[((NUM_ENCODERS) + (CHAR_BIT)-1) / (CHAR_BIT)];
|
||||||
size_t index = pos.col;
|
size_t index = pos.col;
|
||||||
bool do_swap = should_swap_hands(index, encoder_swap_state, event->pressed);
|
bool do_swap = should_swap_hands(index, encoder_swap_state, event->pressed);
|
||||||
|
Loading…
Reference in New Issue
Block a user