ppy / osu

rhythm is just a *click* away!
https://osu.ppy.sh
MIT License
15.17k stars 2.25k forks source link

Cursor leaving game window and not aligned with OS cursor in fullscreen (Laser) #25806

Open kevinyanboi opened 9 months ago

kevinyanboi commented 9 months ago

Type

Game behaviour

Bug description

When I'm playing the game cursor doesn't line up with the OS cursor so it does things like pop up the task bar and go onto my second monitor, and when I use tablet the game cursor kinda freaks out teleporting to the position of the OS cursor and game cursor.

Screenshots or videos

https://www.reddit.com/r/osugame/comments/18kqzm9/game_cursor_isnt_aligned_with_actual_cursor_in/

Version

Lazer on windows 10

Logs

database.log input.log network.log performance.log runtime.log updater.log

longnguyen2004 commented 9 months ago

Game cursor not lining up with OS cursor is expected, as the game draws its own cursor, but we should lock the OS cursor inside the game's window to prevent it from going out of bounds like you said. For now, you can use something like Special K to lock the OS cursor inside the game's window.

About the tablet, are you using the built-in tablet support, or an external tablet driver?

bdach commented 9 months ago

Game cursor not lining up with OS cursor is expected, as the game draws its own cursor, but we should lock the OS cursor inside the game's window to prevent it from going out of bounds like you said

cursor confining already should take place if fullscreen.