Berserk
|
Glfw device implementation. More...
#include <GlfwInputDevices.hpp>
Public Member Functions | |
BRK_API | GlfwKeyboard () |
BRK_API | ~GlfwKeyboard () override=default |
void | UpdateKey (InputKeyboardKey key, InputAction action) |
![]() | |
BRK_API | ~Keyboard () override=default |
const StringName & | GetName () const |
InputDeviceState | GetState () const |
const std::vector< InputAction > & | GetKeysStates () const |
![]() | |
virtual | ~RefCnt () |
bool | IsUnique () const |
std::int32_t | GetRefs () const |
std::int32_t | AddRef () const |
std::int32_t | RelRef () const |
Additional Inherited Members | |
![]() | |
static const uint32 | MAX_KEYS = 100 |
![]() | |
virtual void | Destroy () const |
![]() | |
StringName | mName |
InputDeviceState | mState |
std::vector< InputAction > | mKeys |
Glfw device implementation.
GlfwKeyboard::GlfwKeyboard | ( | ) |
|
overridedefault |
void GlfwKeyboard::UpdateKey | ( | InputKeyboardKey | key, |
InputAction | action | ||
) |