rpui.input

Undocumented in source.

Members

Enums

KeyCode
enum KeyCode

break the dependence on SDL Keyboard

MouseButton
enum MouseButton

break the dependence on SFML Mouse

Functions

createMouseButtonFromButtonSdlEvent
MouseButton createMouseButtonFromButtonSdlEvent(SDL_Event event)
Undocumented in source. Be warned that the author may not have intended to support it.
createMouseButtonFromSdlState
MouseButton createMouseButtonFromSdlState(Uint32 state)
Undocumented in source. Be warned that the author may not have intended to support it.
isClickKey
bool isClickKey(KeyCode key)
Undocumented in source. Be warned that the author may not have intended to support it.
isKeyPressed
bool isKeyPressed(KeyCode key)
Undocumented in source. Be warned that the author may not have intended to support it.
setKeyPressed
void setKeyPressed(KeyCode key, bool pressed)
Undocumented in source. Be warned that the author may not have intended to support it.
testKeyState
bool testKeyState(KeyCode key, bool state)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta