openMSX
Public Member Functions | List of all members
openmsx::JoyState Class Referencefinal
Inheritance diagram for openmsx::JoyState:
Inheritance graph
[legend]
Collaboration diagram for openmsx::JoyState:
Collaboration graph
[legend]

Public Member Functions

 JoyState ()=default
 
 JoyState (EmuTime::param time_, int joyNum_, uint8_t press_, uint8_t release_)
 
int getJoystick () const
 
uint8_t getPress () const
 
uint8_t getRelease () const
 
template<typename Archive >
void serialize (Archive &ar, unsigned)
 
- Public Member Functions inherited from openmsx::StateChange
virtual ~StateChange ()=default
 
EmuTime::param getTime () const
 
template<typename Archive >
void serialize (Archive &ar, unsigned)
 

Additional Inherited Members

- Protected Member Functions inherited from openmsx::StateChange
 StateChange ()
 
 StateChange (EmuTime::param time_)
 

Detailed Description

Definition at line 60 of file Joystick.cc.

Constructor & Destructor Documentation

◆ JoyState() [1/2]

openmsx::JoyState::JoyState ( )
default

◆ JoyState() [2/2]

openmsx::JoyState::JoyState ( EmuTime::param  time_,
int  joyNum_,
uint8_t  press_,
uint8_t  release_ 
)
inline

Definition at line 64 of file Joystick.cc.

Member Function Documentation

◆ getJoystick()

int openmsx::JoyState::getJoystick ( ) const
inline

Definition at line 71 of file Joystick.cc.

◆ getPress()

uint8_t openmsx::JoyState::getPress ( ) const
inline

Definition at line 72 of file Joystick.cc.

◆ getRelease()

uint8_t openmsx::JoyState::getRelease ( ) const
inline

Definition at line 73 of file Joystick.cc.

◆ serialize()

template<typename Archive >
void openmsx::JoyState::serialize ( Archive &  ar,
unsigned   
)
inline

Definition at line 75 of file Joystick.cc.


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