MCPcopy 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
285void CInput::MouseModeAbsolute()
286{
287 m_InputGrabbed = false;
288 SDL_SetRelativeMouseMode(SDL_FALSE);
289 Graphics()->SetWindowGrab(false);
290}
291
292void CInput::MouseModeRelative()
293{

Callers 1

OnRenderMethod · 0.80

Calls 2

GraphicsFunction · 0.85
SetWindowGrabMethod · 0.45

Tested by

no test coverage detected