Untie existing mouse logic from gyro

This commit is contained in:
Irastris
2026-05-11 01:51:11 -04:00
parent ba6ef0d250
commit 320f4558a8
14 changed files with 153 additions and 117 deletions
+1 -1
View File
@@ -377,7 +377,7 @@ namespace dusk {
}
// Hide mouse cursor if the F1 menu is not open and the cursor is idle for 3 seconds.
if (dusk::getSettings().game.gyroMode.getValue() != GyroMode::Mouse)
if (!dusk::getSettings().game.enableMouseAim)
{
ImGuiIO& io = ImGui::GetIO();
if (io.MouseDelta.x != 0.0f || io.MouseDelta.y != 0.0f) {