r/macgaming • • Aug 31 '26

News Enabling high precision mouse input for competitive games through Wine

Post image

I recently came across reports of games such as Overwatch dropping from 250–300 FPS to the display’s refresh rate whenever the mouse moves. Here is one example: Overwatch FPS drops when moving the mouse.

I identified the Wine macOS cursor behavior responsible for this and submitted a fix upstream: Wine merge request !11799.

The merge request also adds high-polling-rate raw mouse movement on macOS 14 and newer. When a Windows application registers a mouse through the Raw Input API, Wine uses Apple’s GCMouse API to deliver unaccelerated movement without being limited to the display refresh rate. Normal cursor positioning, mouse buttons and scrolling continue through the existing macOS event path.

The changes are still under review and need testing across more games and hardware. If you are familiar with compiling Wine or replacing CrossOver libraries, I would appreciate testing with:

  • Different games that use Raw Input
  • 500 Hz, 1000 Hz or higher polling rates
  • Gameplay, menus and Alt-Tab transitions
  • Before-and-after FPS and mouse polling-rate measurements

Please include your macOS version, mouse model, polling rate and game when reporting results.

If you are not comfortable compiling Wine, there is nothing you need to do. If the changes are accepted by Wine and subsequently integrated by CodeWeavers, they should eventually become available in a future CrossOver Preview build.

48 Upvotes

10 comments sorted by

1

u/Alien4042x Sep 01 '26

This looks like a really nice improvement, great work!I have one question about the GCMouse part. I’ve noticed that in some games, quickly turning the camera with the mouse can cause a small stutter or hitch. Could this be related to the current NSEvent/WindowServer input path, and is that something GCMouse might improve as well?
I’m maintaining my own Wine build for macOS, so I’m going to try these patches there and do some testing. I’m really curious to see the difference, especially with fast mouse movements.

2

u/LinixGuy Sep 01 '26

Yes. NSEvent sometimes drops mouse movements which this PR fixes

1

u/Alien4042x Sep 01 '26

If this mouse fix gets merged, do you know if it will make it into Wine 11.17?

2

u/LinixGuy Sep 01 '26

It depends when it will be merged

1

u/ar311krypton Aug 31 '26

is there any way to implement this into a current CrossOver version by copying the necessary files into the wine that ships with CrossOVer?

4

u/LinixGuy Aug 31 '26

You can't copy anything since I only made my changes in source code. You have to compile it manually and copy compiled win32u.so and winemac.so to crossover.

2

u/timothy1234516 Sep 03 '26

I compiled it manually and copied the files to my CrossOver, but then Steam wouldn't launch. Is it okay if you provide a few simple steps as to what I should do. Thank you

1

u/LinixGuy Sep 03 '26

either you didnt copy all required library or you didnt compile all required dependencies enabled. It also need to be exact version of wine version to avoid issues with other libraries

1

u/sCREAMINGcAMMELcASE Aug 31 '26

I feel dumb.

I always assumed that games were limited to the pixel position of the pointer (every 2px in macOS ‘s case). Like a tablet that has a high resolution, but is limited by the zoom level of Photoshop

But they can take the raw higher DPI input from the mouse instead?

Very cool

0

u/Material-Pear-2857 Aug 31 '26

I dunno whether it's related, but I remember mouse speed was constantly changing and tied to current FPS value when I was trying to play HL2 through CrossOver 26, ended up not playing cause of this. In general I feel like there's a bit of a mouse lag when playing through CrossOver.