UGDK
|
#include <inputmanager.h>
Public Member Functions | |
InputManager () | |
~InputManager () | |
void | Update (double) |
Vector2D | GetMousePosition (void) |
void | ShowCursor (bool toggle) |
bool | KeyPressed (Key key) |
bool | KeyReleased (Key key) |
bool | KeyDown (Key key) |
bool | KeyUp (Key key) |
bool | MousePressed (MouseButton button) |
bool | MouseReleased (MouseButton button) |
bool | MouseDown (MouseButton button) |
bool | MouseUp (MouseButton button) |
bool | CheckSequence (Key *sequence, int size) |
void | SimulateKeyPress (Key key) |
void | SimulateKeyRelease (Key key) |
bool ugdk::input::InputManager::CheckSequence | ( | Key * | sequence, |
int | size | ||
) |
bool ugdk::input::InputManager::KeyDown | ( | Key | key | ) |
bool ugdk::input::InputManager::KeyPressed | ( | Key | key | ) |
bool ugdk::input::InputManager::KeyReleased | ( | Key | key | ) |
bool ugdk::input::InputManager::KeyUp | ( | Key | key | ) |
bool ugdk::input::InputManager::MouseDown | ( | MouseButton | button | ) |
bool ugdk::input::InputManager::MousePressed | ( | MouseButton | button | ) |
bool ugdk::input::InputManager::MouseReleased | ( | MouseButton | button | ) |
bool ugdk::input::InputManager::MouseUp | ( | MouseButton | button | ) |
void ugdk::input::InputManager::ShowCursor | ( | bool | toggle | ) |
void ugdk::input::InputManager::SimulateKeyPress | ( | Key | key | ) |
void ugdk::input::InputManager::SimulateKeyRelease | ( | Key | key | ) |
void ugdk::input::InputManager::Update | ( | double | delta_t | ) |