Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[INVALID] [BUG]: Mouse cursor locked in PCSX2 game screen with no apparent way to release it #12168

Closed
davidhedlund opened this issue Jan 7, 2025 · 3 comments
Labels

Comments

@davidhedlund
Copy link

Describe the Bug

Description

When using the mouse mapping feature in PCSX2, the mouse cursor becomes locked within the game screen once it's activated. As far as I know, there is no apparent way to release the cursor control back to the operating system, which is not ideal for seamless gameplay and multitasking. Despite extensive experimentation and research lasting over two hours, I have been unable to find a solution to this issue.

Current Behavior

  • The mouse cursor is locked within the PCSX2 game screen once it starts being used
  • No apparent keyboard shortcut exists to release cursor control
  • Alt+Tab works to switch away, but the cursor is not visible.

Additional Context

  • Other emulators like Yuzu have implemented similar features (e.g., "Ctrl + F9 is the default hotkey to take and release control of the mouse while playing")
  • This feature would greatly improve user experience, especially for users who need to multitask or quickly access other applications while gaming

Reproduction Steps

  1. Enable mouse mapping in PCSX2:

    • Go to Settings -> Controllers
    • In Global settings tab: Enable "Mouse Mapping"
  2. Configure Controller Port 1:

    • Set Right analog stick mappings:
      • Up: Click and move mouse cursor up
      • Down: Click and move mouse cursor down
      • Left: Click and move mouse cursor left
      • Right: Click and move mouse cursor right
  3. Start a game

Expected Behavior

  • A keyboard shortcut should exist to toggle mouse control between PCSX2 and the operating system
  • Alternatively, the cursor should be visible and usable when you Alt-Tab as well

PCSX2 Revision

2.2.2

Operating System

Linux (64bit) - Specify distro below

If Linux - Specify Distro

Ubuntu 22.04

Logs & Dumps

No response

@Jakey757
Copy link
Contributor

Jakey757 commented Jan 7, 2025

Open the pause menu with escape (default hotkey), pause probably works too (space).

@JordanTheToaster
Copy link
Member

This is not a bug you can hit space to pause and that will release the mouse.

@davidhedlund
Copy link
Author

davidhedlund commented Jan 8, 2025

Open the pause menu with escape (default hotkey), pause probably works too (space).

Hey @Jakey757 and @JordanTheToaster! Thanks for helping me troubleshoot my settings - you're totally awesome! 🎮✨

Both methods worked. However, I just realized why my Hotkeys were not visible; Because I scripted my config file:

@davidhedlund davidhedlund changed the title [BUG]: Mouse cursor locked in PCSX2 game screen with no apparent way to release it [INVALID] [BUG]: Mouse cursor locked in PCSX2 game screen with no apparent way to release it Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants