Function setRelativeMouseMode

Wraps SDL_SetRelativeMouseMode which sets relative mouse mode

void setRelativeMouseMode (
  bool newRelativeMouseMode
) @trusted;

Parameters

NameDescription
newRelativeMouseMode true to enable relative mouse mode, otherwise false

Throws

dsdl2.SDLException if failed to toggle relative mouse mode