1
0

Refactor keyboard/keymap use of deprecated isLeftHand (#25891)

This commit is contained in:
Joel Challis
2025-12-21 20:52:48 +00:00
committed by GitHub
parent d420bcad33
commit f82d4d8680
14 changed files with 25 additions and 29 deletions

View File

@@ -115,7 +115,7 @@ const char *read_logo(void) {
}
oled_rotation_t oled_init_user(oled_rotation_t rotation) {
return isLeftHand ? OLED_ROTATION_180 : OLED_ROTATION_0;
return is_keyboard_left() ? OLED_ROTATION_180 : OLED_ROTATION_0;
}
bool oled_task_user(void) {

View File

@@ -115,7 +115,7 @@ const char *read_logo(void) {
}
oled_rotation_t oled_init_user(oled_rotation_t rotation) {
return isLeftHand ? OLED_ROTATION_180 : OLED_ROTATION_0;
return is_keyboard_left() ? OLED_ROTATION_180 : OLED_ROTATION_0;
}
bool oled_task_user(void) {

View File

@@ -199,7 +199,7 @@ const char *read_logo(void) {
}
oled_rotation_t oled_init_user(oled_rotation_t rotation) {
return isLeftHand ? OLED_ROTATION_180 : OLED_ROTATION_0;
return is_keyboard_left() ? OLED_ROTATION_180 : OLED_ROTATION_0;
}
bool oled_task_user(void) {