libdonut  2.3.2
Application framework for cross-platform game development in C++20
List of all members
donut::events::ControllerAxisMovedEvent Struct Reference

Controller axis was moved. More...

#include <donut/events/Event.hpp>

Inheritance diagram for donut::events::ControllerAxisMovedEvent:
donut::events::ControllerAxisEventBase donut::events::ControllerEventBase donut::events::InputEventBase donut::events::EventBase

Additional Inherited Members

- Public Types inherited from donut::events::ControllerAxisEventBase
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 inherited from donut::events::ControllerAxisEventBase
ControllerAxis axis
 Physical controller axis. More...
 
i16 axisValue
 Current axis value in the range [-32768, 32767]. More...
 
- Public Attributes inherited from donut::events::ControllerEventBase
std::int32_t controllerId
 Unique identifier of the controller instance. More...
 
- Public Attributes inherited from donut::events::InputEventBase
std::uint32_t windowId
 Unique identifier of the window that this event belongs to, if any. More...
 

Detailed Description

Controller axis was moved.


The documentation for this struct was generated from the following file: