Sleeping Wombat GUI
0.100
swGUI
|
State of keyboard buttons. More...
#include <KeyboardState.h>
Public Member Functions | |
KeyboardState () | |
~KeyboardState () | |
const KeyState * | GetKeyboardState () const |
Gets array with keyboard state. Array has size KEYBOARD_STATE_KEYS_NUMBER. You can use Keyboard::PhysicalKeys to acces individual elements. More... | |
const KeyState & | operator[] (Keyboard::PhysicalKeys key) const |
Access state of specific key. More... | |
void | ApplyEvent (const DeviceEvent &event) |
Sets state depending on event. More... | |
Funkcje do ustawiania stanu (tylko dla dzieci IInput) | |
KeyState * | KeysState () |
void | RemoveEvents () |
Removes information about pressed or unpressed buttons. Key states remain unchanged. More... | |
Private Attributes | |
KeyState | m_keyboardState [KEYBOARD_STATE_KEYS_NUMBER] |
State of keyboard buttons.
|
inlineexplicit |
|
inline |
|
inline |
Sets state depending on event.
|
inline |
Gets array with keyboard state. Array has size KEYBOARD_STATE_KEYS_NUMBER. You can use Keyboard::PhysicalKeys to acces individual elements.
|
inline |
|
inline |
Access state of specific key.
|
inline |
Removes information about pressed or unpressed buttons. Key states remain unchanged.
|
private |