openMSX
Public Member Functions | List of all members
openmsx::KeyJoystick Class Referencefinal

#include <KeyJoystick.hh>

Inheritance diagram for openmsx::KeyJoystick:
Inheritance graph
[legend]
Collaboration diagram for openmsx::KeyJoystick:
Collaboration graph
[legend]

Public Member Functions

 KeyJoystick (CommandController &commandController, MSXEventDistributor &eventDistributor, StateChangeDistributor &stateChangeDistributor, std::string name)
 
 ~KeyJoystick () override
 
template<typename Archive >
void serialize (Archive &ar, unsigned version)
 
- Public Member Functions inherited from openmsx::JoystickDevice
string_view getClass () const final override
 A pluggable belongs to a certain class. More...
 
- Public Member Functions inherited from openmsx::Pluggable
virtual ~Pluggable ()=default
 
void plug (Connector &connector, EmuTime::param time)
 This method is called when this pluggable is inserted in a connector. More...
 
void unplug (EmuTime::param time)
 This method is called when this pluggable is removed from a conector. More...
 
ConnectorgetConnector () const
 Get the connector this Pluggable is plugged into. More...
 
bool isPluggedIn () const
 Returns true if this pluggable is currently plugged into a connector. More...
 

Additional Inherited Members

- Static Public Attributes inherited from openmsx::JoystickDevice
static const int JOY_UP = 0x01
 
static const int JOY_DOWN = 0x02
 
static const int JOY_LEFT = 0x04
 
static const int JOY_RIGHT = 0x08
 
static const int JOY_BUTTONA = 0x10
 
static const int JOY_BUTTONB = 0x20
 
static const int RD_PIN1 = 0x01
 
static const int RD_PIN2 = 0x02
 
static const int RD_PIN3 = 0x04
 
static const int RD_PIN4 = 0x08
 
static const int RD_PIN6 = 0x10
 
static const int RD_PIN7 = 0x20
 
static const int WR_PIN6 = 0x01
 
static const int WR_PIN7 = 0x02
 
static const int WR_PIN8 = 0x04
 
- Protected Member Functions inherited from openmsx::Pluggable
 Pluggable ()
 
void setConnector (Connector *conn)
 

Detailed Description

Definition at line 16 of file KeyJoystick.hh.

Constructor & Destructor Documentation

◆ KeyJoystick()

openmsx::KeyJoystick::KeyJoystick ( CommandController commandController,
MSXEventDistributor eventDistributor,
StateChangeDistributor stateChangeDistributor,
std::string  name 
)

◆ ~KeyJoystick()

openmsx::KeyJoystick::~KeyJoystick ( )
override

Member Function Documentation

◆ serialize()

template<typename Archive >
void openmsx::KeyJoystick::serialize ( Archive &  ar,
unsigned  version 
)

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