Public Member Functions | Static Public Attributes | List of all members
openmsx::JoystickAxisMotionEvent Class Referencefinal

#include <Event.hh>

Inheritance diagram for openmsx::JoystickAxisMotionEvent:
Inheritance graph
Collaboration diagram for openmsx::JoystickAxisMotionEvent:
Collaboration graph

Public Member Functions

uint8_t getAxis () const
int16_t getValue () const
- Public Member Functions inherited from openmsx::JoystickEvent
JoystickId getJoystick () const
 SdlEvent (const SDL_Event &e)
- Public Member Functions inherited from openmsx::SdlEvent
 SdlEvent (const SDL_Event &e)
const SDL_Event & getSdlEvent () const
const SDL_CommonEvent & getCommonSdlEvent () const

Static Public Attributes

static constexpr uint8_t X_AXIS = 0
static constexpr uint8_t Y_AXIS = 1

Additional Inherited Members

- Protected Attributes inherited from openmsx::SdlEvent
SDL_Event evt

Detailed Description

Definition at line 186 of file Event.hh.

Member Function Documentation

◆ getAxis()

uint8_t openmsx::JoystickAxisMotionEvent::getAxis ( ) const

Definition at line 194 of file Event.hh.

References openmsx::SdlEvent::evt.

◆ getValue()

int16_t openmsx::JoystickAxisMotionEvent::getValue ( ) const

Definition at line 195 of file Event.hh.

References openmsx::SdlEvent::evt.

Member Data Documentation


constexpr uint8_t openmsx::JoystickAxisMotionEvent::X_AXIS = 0

Definition at line 189 of file Event.hh.


constexpr uint8_t openmsx::JoystickAxisMotionEvent::Y_AXIS = 1

Definition at line 190 of file Event.hh.

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