Skip to content

Conversation

@hrydgard
Copy link
Owner

Unlike Windows, with SDL we need to switch the mouse into relative mode to get relative input, which hides the cursor. We do this in-game if mouse control is enabled, and during control mapping.

However in the latter case, we failed to disable it properly when exiting mapping. And also we accidentally saved the state across sessions.

Both problems fixed. Thanks to Aetheros on Discord for detailed reporting.

@hrydgard hrydgard added this to the v1.19.3 milestone Jul 10, 2025
@hrydgard hrydgard added SDL2 Issue on SDL (or Qt in SDL code) but not all ports. User Interface PPSSPP's own user interface / UX labels Jul 10, 2025
@hrydgard hrydgard force-pushed the mouse-mapping-fix branch from 1eb399c to 263d0b3 Compare July 10, 2025 18:29
@hrydgard hrydgard merged commit 791aee6 into master Jul 10, 2025
21 checks passed
@hrydgard hrydgard deleted the mouse-mapping-fix branch July 10, 2025 18:49
hrydgard added a commit that referenced this pull request Jul 11, 2025
SDL: Fix bug where the mouse got stuck in relative mode when mapping mouse inputs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

SDL2 Issue on SDL (or Qt in SDL code) but not all ports. User Interface PPSSPP's own user interface / UX

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants