Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/defold/defold
/ HideMouseCursor
Function
HideMouseCursor
engine/hid/src/hid.cpp:570–573 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
568
}
569
570
void HideMouseCursor(HContext context)
571
{
572
dmPlatform::SetDeviceState(context->m_Window, WINDOW_DEVICE_STATE_CURSOR, false);
573
}
574
575
bool GetCursorVisible(HContext context)
576
{
Callers
1
SetMouseLock
Function · 0.85
Calls
1
SetDeviceState
Function · 0.50
Tested by
no test coverage detected