Add GUI option to rotate both screens at once

This commit is contained in:
Lorenzooone
2024-05-21 04:48:43 +02:00
parent 73ab63dc5e
commit 5d0eb382f6
3 changed files with 16 additions and 0 deletions

View File

@@ -813,6 +813,14 @@ void WindowScreen::poll() {
case ROTATION_MENU_BOTTOM_ROTATION_INC:
this->rotation_change(this->m_info.bot_rotation, true);
break;
case ROTATION_MENU_BOTH_ROTATION_DEC:
this->rotation_change(this->m_info.top_rotation, false);
this->rotation_change(this->m_info.bot_rotation, false);
break;
case ROTATION_MENU_BOTH_ROTATION_INC:
this->rotation_change(this->m_info.top_rotation, true);
this->rotation_change(this->m_info.bot_rotation, true);
break;
default:
break;
}