mirror of
https://git.citron-emu.org/citron/emulator
synced 2026-01-04 01:03:44 +00:00
feat: Toggle Gyro for Controller Overlay
Signed-off-by: Collecting <collecting@noreply.localhost>
This commit is contained in:
@@ -70,6 +70,7 @@ void ControllerOverlay::UpdateControllerState() {
|
||||
Core::HID::EmulatedController* controller = GetPlayer1Controller(system);
|
||||
if (controller_widget && controller) {
|
||||
controller_widget->SetController(controller);
|
||||
controller_widget->gyro_visible = controller->IsGyroOverlayVisible();
|
||||
controller_widget->UpdateInput();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user