Berserk
|
Glfw device implementation. More...
#include <GlfwInputDevices.hpp>
Public Member Functions | |
BRK_API | GlfwJoystick (int32 HND) |
BRK_API | ~GlfwJoystick () override=default |
void | Update () |
void | UpdateState (InputDeviceState state) |
int32 | GetHND () const |
![]() | |
BRK_API | ~Joystick () override=default |
const StringName & | GetName () const |
const StringName & | GetGUID () const |
InputDeviceState | GetState () const |
const std::vector< float > & | GetAxesStates () const |
const std::vector< InputAction > & | GetButtonsStates () 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_BUTTONS = 20 |
static const uint32 | MAX_AXES = 10 |
![]() | |
virtual void | Destroy () const |
![]() | |
StringName | mName |
StringName | mGUID |
InputDeviceState | mState |
std::vector< float > | mAxes |
std::vector< InputAction > | mButtons |
Glfw device implementation.
|
explicit |
|
overridedefault |
|
inline |
void GlfwJoystick::Update | ( | ) |
void GlfwJoystick::UpdateState | ( | InputDeviceState | state | ) |