Move SetMouseCursor from rcore to android, desktop, web
This commit is contained in:
parent
430f6dd1e7
commit
694190ea12
1 changed files with 41 additions and 15 deletions
|
|
@ -1099,7 +1099,6 @@ void SetMousePosition(int x, int y)
|
|||
glfwSetCursorPos(CORE.Window.handle, CORE.Input.Mouse.currentPosition.x, CORE.Input.Mouse.currentPosition.y);
|
||||
}
|
||||
|
||||
|
||||
// Get mouse wheel movement Y
|
||||
float GetMouseWheelMove(void)
|
||||
{
|
||||
|
|
@ -1111,6 +1110,13 @@ float GetMouseWheelMove(void)
|
|||
return result;
|
||||
}
|
||||
|
||||
// Set mouse cursor
|
||||
// NOTE: This is a no-op on platforms other than PLATFORM_DESKTOP
|
||||
void SetMouseCursor(int cursor)
|
||||
{
|
||||
TRACELOG(LOG_INFO, "SetMouseCursor not implemented in rcore_web.c");
|
||||
}
|
||||
|
||||
// Get touch position X for touch point 0 (relative to screen size)
|
||||
int GetTouchX(void)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue