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_, unsigned joyNum_, byte press_, byte release_)
 
unsigned getJoystick () const
 
byte getPress () const
 
byte 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 62 of file Joystick.cc.

Constructor & Destructor Documentation

◆ JoyState() [1/2]

openmsx::JoyState::JoyState ( )
default

◆ JoyState() [2/2]

openmsx::JoyState::JoyState ( EmuTime::param  time_,
unsigned  joyNum_,
byte  press_,
byte  release_ 
)
inline

Definition at line 66 of file Joystick.cc.

Member Function Documentation

◆ getJoystick()

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

Definition at line 73 of file Joystick.cc.

◆ getPress()

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

Definition at line 74 of file Joystick.cc.

◆ getRelease()

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

Definition at line 75 of file Joystick.cc.

◆ serialize()

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

Definition at line 77 of file Joystick.cc.


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