|
Berserk
|
#include <EventJoystick.hpp>


Public Member Functions | |
| BRK_API | EventJoystick ()=default |
| BRK_API | ~EventJoystick () override=default |
| BRK_API const EventType & | GetEventType () const override |
| BRK_API void | SetJoystick (Ref< Joystick > joystick) |
| BRK_API void | SetAction (InputAction action) |
| BRK_API void | SetButton (InputJoystickButton button) |
| BRK_API const Ref< Joystick > & | GetJoystick () const |
| BRK_API InputAction | GetAction () const |
| BRK_API InputJoystickButton | GetButton () const |
Public Member Functions inherited from Event | |
| BRK_API | Event ()=default |
| BRK_API | ~Event () override=default |
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 |
Static Public Member Functions | |
| static BRK_API const EventType & | GetEventTypeStatic () |
Additional Inherited Members | |
Protected Member Functions inherited from RefCnt | |
| virtual void | Destroy () const |
Joystick input event.
|
default |
|
overridedefault |
| InputAction EventJoystick::GetAction | ( | ) | const |
| InputJoystickButton EventJoystick::GetButton | ( | ) | const |
|
overridevirtual |
Implements Event.
|
static |
| void EventJoystick::SetAction | ( | InputAction | action | ) |
| void EventJoystick::SetButton | ( | InputJoystickButton | button | ) |