Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ddnet/ddnet
/ MouseModeAbsolute
Method
MouseModeAbsolute
src/engine/client/input.cpp:285–290 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
283
}
284
285
void CInput::MouseModeAbsolute()
286
{
287
m_InputGrabbed = false;
288
SDL_SetRelativeMouseMode(SDL_FALSE);
289
Graphics()->SetWindowGrab(false);
290
}
291
292
void CInput::MouseModeRelative()
293
{
Callers
1
OnRender
Method · 0.80
Calls
2
Graphics
Function · 0.85
SetWindowGrab
Method · 0.45
Tested by
no test coverage detected