mirror of
https://github.com/qmk/qmk_firmware.git
synced 2026-10-01 14:29:08 +02:00
Refactor core use of deprecated isLeftHand (#25888)
This commit is contained in:
@@ -144,7 +144,7 @@ __attribute__((weak)) void matrix_slave_scan_user(void) {}
|
||||
|
||||
__attribute__((weak)) void matrix_init(void) {
|
||||
#ifdef SPLIT_KEYBOARD
|
||||
thisHand = isLeftHand ? 0 : (MATRIX_ROWS_PER_HAND);
|
||||
thisHand = is_keyboard_left() ? 0 : (MATRIX_ROWS_PER_HAND);
|
||||
thatHand = MATRIX_ROWS_PER_HAND - thisHand;
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user