|
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 |
Public Member Functions inherited from Joystick | |
| 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 |
Public Member Functions inherited from RefCnt | |
| virtual | ~RefCnt () |
| bool | IsUnique () const |
| std::int32_t | GetRefs () const |
| std::int32_t | AddRef () const |
| std::int32_t | RelRef () const |
Additional Inherited Members | |
Static Public Attributes inherited from Joystick | |
| static const uint32 | MAX_BUTTONS = 20 |
| static const uint32 | MAX_AXES = 10 |
Protected Member Functions inherited from RefCnt | |
| virtual void | Destroy () const |
Protected Attributes inherited from Joystick | |
| 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 | ) |