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
@@ -116,7 +116,7 @@ bool Document::handle_nav_command(Rml::Event& event, NavCommand cmd) {
}
void Document::toggle_cursor_if_gyro(bool cursor_enabled) {
if (dusk::getSettings().game.gyroMode.getValue() == GyroMode::Mouse)
if (dusk::getSettings().game.enableMouseAim)
{
if (cursor_enabled) {
ImGui::GetIO().ConfigFlags &= ~ImGuiConfigFlags_NoMouseCursorChange;