openMSX
Public Types | Public Member Functions | List of all members
openmsx::BooleanJoystickAxis Class Reference

#include <BooleanInput.hh>

Public Types

enum class  Direction : uint8_t { POS , NEG }
 

Public Member Functions

 BooleanJoystickAxis (JoystickId joystick_, uint8_t axis_, Direction direction_)
 
auto getJoystick () const
 
auto getAxis () const
 
auto getDirection () const
 

Detailed Description

Definition at line 111 of file BooleanInput.hh.

Member Enumeration Documentation

◆ Direction

enum class openmsx::BooleanJoystickAxis::Direction : uint8_t
strong
Enumerator
POS 
NEG 

Definition at line 114 of file BooleanInput.hh.

Constructor & Destructor Documentation

◆ BooleanJoystickAxis()

openmsx::BooleanJoystickAxis::BooleanJoystickAxis ( JoystickId  joystick_,
uint8_t  axis_,
Direction  direction_ 
)
inlineexplicit

Definition at line 116 of file BooleanInput.hh.

Member Function Documentation

◆ getAxis()

auto openmsx::BooleanJoystickAxis::getAxis ( ) const
inline

Definition at line 120 of file BooleanInput.hh.

◆ getDirection()

auto openmsx::BooleanJoystickAxis::getDirection ( ) const
inline

Definition at line 121 of file BooleanInput.hh.

◆ getJoystick()

auto openmsx::BooleanJoystickAxis::getJoystick ( ) const
inline

Definition at line 119 of file BooleanInput.hh.


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