- createColorCursor
void createColorCursor(int h_x, int h_y)
- cursor
SDL_Cursor* cursor()
Undocumented in source. Be warned that the author may not have intended to support it.
- cursorHandle
SDL_Cursor* cursorHandle()
Undocumented in source. Be warned that the author may not have intended to support it.
- cursorVisible
void cursorVisible(bool visible)
- defaultCursor
SDL_Cursor* defaultCursor()
Undocumented in source. Be warned that the author may not have intended to support it.
- isKeyDown
bool isKeyDown(KeyCode key)
- isKeyHold
bool isKeyHold(KeyCode key)
- isKeyHold
bool isKeyHold(KeyModFlag key)
- isKeyNone
bool isKeyNone(KeyCode key)
- isKeyUp
bool isKeyUp(KeyCode key)
- isMouseButtonPressed
bool isMouseButtonPressed(MouseButton button)
- isMouseMoving
bool isMouseMoving()
- isMouseScrolling
bool isMouseScrolling()
- isServiceRunning
bool isServiceRunning()
Returns true if Input service is running.
- lastMousePosition
Vector2I lastMousePosition()
- lockMouse
void lockMouse(bool lock)
- markKeyAsJustReleased
bool markKeyAsJustReleased(SDL_Scancode scancode)
Undocumented in source. Be warned that the author may not have intended to support it.
- markKeyAsPressed
bool markKeyAsPressed(SDL_Scancode scancode)
Undocumented in source. Be warned that the author may not have intended to support it.
- mouseDeltaWheel
Vector2I mouseDeltaWheel()
- mouseDeltaWheelX
int mouseDeltaWheelX()
- mouseDeltaWheelY
int mouseDeltaWheelY()
- mousePosition
Vector2I mousePosition()
Returns current position of the mouse.
- mouseRelativeDirection
Vector2I mouseRelativeDirection()
Returns the relative direction of the mouse.
- previousMousePosition
Vector2I previousMousePosition()
Returns previous position of the mouse.
- relativeMouseMode
void relativeMouseMode(bool relative)
- restartService
void restartService()
- setCurrentCursor
void setCurrentCursor()
- startMouseCapture
void startMouseCapture()
Capture the mouse and track input outside the MainWindow.
- startService
void startService()
- stopMouseCapture
void stopMouseCapture()
- stopService
void stopService()
- updateMouse
void updateMouse()
Undocumented in source. Be warned that the author may not have intended to support it.
- updateMouseButtons
void updateMouseButtons(const(SDL_MouseButtonEvent)* event)
Undocumented in source. Be warned that the author may not have intended to support it.
- updateMouseMotion
void updateMouseMotion(const(SDL_MouseMotionEvent)* event)
Undocumented in source. Be warned that the author may not have intended to support it.
- updateMouseWheel
void updateMouseWheel(const(SDL_MouseWheelEvent)* event)
Undocumented in source. Be warned that the author may not have intended to support it.
- useSystemCursor
void useSystemCursor(SystemCursor cursor)
- windowGrab
void windowGrab(bool grabbed)