libdonut
2.3.2
Application framework for cross-platform game development in C++20
|
Controller axis Event base. More...
#include <donut/events/Event.hpp>
Public Types | |
enum class | ControllerAxis : std::uint8_t { LEFT_STICK_X = 0 , LEFT_STICK_Y = 1 , RIGHT_STICK_X = 2 , RIGHT_STICK_Y = 3 , LEFT_TRIGGER = 4 , RIGHT_TRIGGER = 5 , INVALID = 255 } |
Controller axis enumeration. More... | |
Public Attributes | |
ControllerAxis | axis |
Physical controller axis. More... | |
i16 | axisValue |
Current axis value in the range [-32768, 32767]. More... | |
![]() | |
std::int32_t | controllerId |
Unique identifier of the controller instance. More... | |
![]() | |
std::uint32_t | windowId |
Unique identifier of the window that this event belongs to, if any. More... | |
Controller axis Event base.
|
strong |
Controller axis enumeration.
ControllerAxis donut::events::ControllerAxisEventBase::axis |
Physical controller axis.
i16 donut::events::ControllerAxisEventBase::axisValue |
Current axis value in the range [-32768, 32767].