Function setRelativeMouseMode
Wraps SDL_SetRelativeMouseMode
which sets relative mouse mode
void setRelativeMouseMode
(
bool newRelativeMouseMode
) @trusted;
Parameters
Name | Description |
---|---|
newRelativeMouseMode | true to enable relative mouse mode, otherwise false |
Throws
dsdl2
if failed to toggle relative mouse mode