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

[Bug]: 🔴 Mouse cursor in macOS not syncing with in-game cursor during gameplay #1145

Open
1 task done
Quernest opened this issue Sep 25, 2024 · 0 comments
Open
1 task done

Comments

@Quernest
Copy link

Description

I am using an external monitor, keyboard, and mouse. When I launch games in any mode (fullscreen or windowed), the macOS cursor is not locked to the center of the screen. It moves freely to the edges of the screen, while the in-game cursor stays centered. As a result, the two cursors are not synchronized, and the macOS cursor controls the camera movement. This significantly affects the gameplay experience. For example, if I try to turn 360 degrees, I can’t do it because the macOS cursor hits the edge of the screen and stops moving, preventing further camera rotation.

I have encountered this issue in all games (Skyrim, Dark Souls 3, The Witcher 3, Stalker, etc.). I tried enabling the “automatically capture the mouse in full-screen windows” option in Wine configuration, but it didn’t fix the problem.

Please look at the attached video and some links to similar issues on Reddit to demonstrate this issue.

Video:
https://github.com/user-attachments/assets/0296d79c-0163-4069-9083-49f641486de6

Links:
https://www.reddit.com/r/macgaming/comments/1cngnbr/cursor_not_locking_to_the_middle_of_the_screen_on/
https://www.reddit.com/r/macgaming/comments/1c3c5cc/cursor_gets_stuck_on_either_side_of_the_screen/

Steps to reproduce

  1. Open Whisky and launch any game (issue observed across multiple games).
  2. Set the game to either fullscreen or windowed mode.
  3. Move the cursor to the bottom and up (probably the dock panel is the issue).
  4. Attempt to move the in-game camera or character by moving the mouse.

Expected behaviour

  • The macOS cursor should be confined to the center of the screen and hidden during gameplay, allowing the in-game cursor to control the camera movement without interference.
  • Users should be able to rotate freely and continuously in-game (e.g., a full 360-degree turn) without the macOS cursor restricting the movement by hitting the edge of the screen.

Logs

Whisky Version: 2.3.2
Date: 2024-09-25T10:50:31Z
macOS Version: 15.0.0

Bottle Name: Game
Bottle URL: /Users/test/Library/Containers/com.isaacmarovitz.Whisky/Bottles/C944F8A4-9E53-43DC-9F53-CF286AD5732D

Wine Version: 7.7.0
Windows Version: win10
Enhanced Sync: msync

Metal HUD: false
Metal Trace: false

Arguments: winecfg

Environment:
{
    "DXVK_ASYNC" = 1;
    "GST_DEBUG" = 1;
    WINEDEBUG = "fixme-all";
    WINEESYNC = 1;
    WINEMSYNC = 1;
    WINEPREFIX = "/Users/test/Library/Containers/com.isaacmarovitz.Whisky/Bottles/C944F8A4-9E53-43DC-9F53-CF286AD5732D";
}

2024-09-25 13:50:32.286 wine64-preloader[42465:3482254] +[IMKClient subclass]: chose IMKClient_Legacy
2024-09-25 13:50:32.489 wine64-preloader[42465:3482254] +[IMKInputSession subclass]: chose IMKInputSession_Legacy

What version of Whisky are you using?

2.3.2

What version of macOS are you using?

Sonoma (macOS 14)

Issue Language

  • Yes my issue is written in English
@Quernest Quernest added the bug label Sep 25, 2024
@IsaacMarovitz IsaacMarovitz removed the bug label Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants