macOS mouse on wrong monitor
Is there an existing issue for this?
- I have searched the existing issues
Is your issue described in the documentation?
- I have read the documentation
Is your issue present in the latest beta/pre-release?
This issue is present in the latest pre-release
Describe the Bug
Filing for @andygrundman
A ton of Mac code got removed in https://github.com/LizardByte/Sunshine/commit/687e12d013a838e1769ffdf996eb1d5ef8402660 in src/platform/macos/input.cpp and I guess it now lives in libvirtualhid. The issue I'm running into is that now there is no logging code for mouse events. Not sure if it's always been broken but the mouse doesn't play nice with additional displays. It looks like this lost the code that knows which display is being streamed or something, and I have no idea how that info is supposed to be handled now. I think this is the old code that worked it out, although looking at the output_name config won't work with SCK. https://github.com/LizardByte/Sunshine/blob/cf52f4b6f33cc9d143f0f6bb67c9891fe3563e54/src/platform/macos/input.cpp#L687-L707
Expected Behavior
- Add debug logging
- Fix mouse input when using multiple displays
Additional Context
No response
Host Operating System
macOS
Operating System Version
27
Architecture
arm64/aarch64
Package
macOS - dmg
GPU Type
n/a
GPU Model
GPU Driver/Mesa Version
Capture Method
AVCaptureScreen (macOS)
Apps
Log output
Online logs
No response
Source: LizardByte/Sunshine