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

[Mac/SDL] TODO: show/hide cursor, dynamically set cursor position #1858

Open
time-killer-games opened this issue Sep 19, 2019 · 1 comment
Open

Comments

@time-killer-games
Copy link
Contributor

time-killer-games commented Sep 19, 2019

These functions will help to make note of for implementing these GML features.

func CGDisplayHideCursor(CGDirectDisplayID) -> CGError
https://developer.apple.com/documentation/coregraphics/1456534-cgdisplayhidecursor

func CGDisplayShowCursor(CGDirectDisplayID) -> CGError
https://developer.apple.com/documentation/coregraphics/1455867-cgdisplayshowcursor

func CGWarpMouseCursorPosition(_ newCursorPosition: CGPoint)
https://developer.apple.com/documentation/coregraphics/1456387-cgwarpmousecursorposition

@time-killer-games
Copy link
Contributor Author

time-killer-games commented Sep 20, 2019

SDL's implementation of these functions don't do anything on Mac based on my testing back when we had Mac and SDL somewhat working

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

1 participant