Function setMouseCapture
Wraps SDL_CaptureMouse
(from SDL 2.0.4) which sets mouse capture
void setMouseCapture
(
bool newMouseCapture
) @trusted;
Parameters
Name | Description |
---|---|
newMouseCapture | true to enable mouse capture, otherwise false |
Throws
dsdl2
if failed to toggle mouse capture