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

 JoystickAxisMotionEvent (int joystick_, unsigned axis_, int value_)
unsigned getAxis () const
int getValue () const
- Public Member Functions inherited from openmsx::JoystickEvent
int getJoystick () const
- Public Member Functions inherited from openmsx::TimedEvent
uint64_t getRealTime () const

Static Public Attributes

static constexpr unsigned X_AXIS = 0
static constexpr unsigned Y_AXIS = 1

Additional Inherited Members

- Protected Member Functions inherited from openmsx::JoystickEvent
 JoystickEvent (int joystick_)

Detailed Description

Definition at line 239 of file Event.hh.

Constructor & Destructor Documentation

◆ JoystickAxisMotionEvent()

openmsx::JoystickAxisMotionEvent::JoystickAxisMotionEvent ( int  joystick_,
unsigned  axis_,
int  value_ 

Definition at line 245 of file Event.hh.

Member Function Documentation

◆ getAxis()

unsigned openmsx::JoystickAxisMotionEvent::getAxis ( ) const

Definition at line 248 of file Event.hh.

◆ getValue()

int openmsx::JoystickAxisMotionEvent::getValue ( ) const

Definition at line 249 of file Event.hh.

Member Data Documentation


constexpr unsigned openmsx::JoystickAxisMotionEvent::X_AXIS = 0

Definition at line 242 of file Event.hh.


constexpr unsigned openmsx::JoystickAxisMotionEvent::Y_AXIS = 1

Definition at line 243 of file Event.hh.

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