jakibaki / In-Home-Switching

Allows you to stream your PC display to your Nintendo Switch!
GNU General Public License v3.0
440 stars 41 forks source link

No cursor in-game #15

Open Veight opened 5 years ago

Veight commented 5 years ago

Unable to see my cursor while I am in-game in POE. Not sure if this is specifically in-home-switching but I can see it fine while on my computer.

cgutman commented 5 years ago

The mouse cursor isn't always included in the captured output (possibly depending on the graphics driver and application), so the DD API provides the cursor bitmap to draw on top of the final output when displayed. The current version of In Home Switching doesn't do that, so the mouse cursor will not be displayed in cases where it's not included in the captured image.

Fortunately, rendering this client-side should be trivial with SDL2.

https://docs.microsoft.com/en-us/windows/desktop/direct3ddxgi/desktop-dup-api#updating-the-desktop-pointer

Svahnen commented 5 years ago

Great! i hope this will be fixed soon as i see commits about SDL2 😸 Happened to me as well in Battlerite btw.

Svahnen commented 5 years ago

A temporary workaround is to enable pointer trails image