|
openMSX
|
#include <KeyJoystick.hh>


Public Member Functions | |
| KeyJoystick (CommandController &commandController, MSXEventDistributor &eventDistributor, StateChangeDistributor &stateChangeDistributor, const std::string &name) | |
| virtual | ~KeyJoystick () |
| template<typename Archive > | |
| void | serialize (Archive &ar, unsigned version) |
Public Member Functions inherited from openmsx::JoystickDevice | |
| virtual byte | read (EmuTime::param time)=0 |
| Read from the joystick device. | |
| virtual void | write (byte value, EmuTime::param time)=0 |
| Write a value to the joystick device. | |
| virtual string_ref | getClass () const |
| A pluggable belongs to a certain class. | |
Public Member Functions inherited from openmsx::Pluggable | |
| Pluggable () | |
| virtual | ~Pluggable () |
| virtual const std::string & | getName () const |
| Name used to identify this pluggable. | |
| virtual string_ref | getDescription () const =0 |
| Description for this pluggable. | |
| void | plug (Connector &connector, EmuTime::param time) |
| This method is called when this pluggable is inserted in a connector. | |
| void | unplug (EmuTime::param time) |
| This method is called when this pluggable is removed from a conector. | |
| Connector * | getConnector () const |
| Get the connector this Pluggable is plugged into. | |
| bool | isPluggedIn () const |
| Returns true if this pluggable is currently plugged into a connector. | |
Additional Inherited Members | |
Protected Member Functions inherited from openmsx::Pluggable | |
| virtual void | plugHelper (Connector &newConnector, EmuTime::param time)=0 |
| virtual void | unplugHelper (EmuTime::param time)=0 |
| void | setConnector (Connector *conn) |
Static Protected 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 |
Private Member Functions inherited from openmsx::MSXEventListener | |
| virtual | ~MSXEventListener () |
| virtual void | signalEvent (const std::shared_ptr< const Event > &event, EmuTime::param time)=0 |
| This method gets called when an event you are subscribed to occurs. | |
| MSXEventListener () | |
Private Member Functions inherited from openmsx::StateChangeListener | |
| virtual void | signalStateChange (const std::shared_ptr< StateChange > &event)=0 |
| This method gets called when a StateChange event occurs. | |
| virtual void | stopReplay (EmuTime::param time)=0 |
| This method gets called when we switch from replayed events to live events. | |
| StateChangeListener () | |
| virtual | ~StateChangeListener () |
Definition at line 17 of file KeyJoystick.hh.
| openmsx::KeyJoystick::KeyJoystick | ( | CommandController & | commandController, |
| MSXEventDistributor & | eventDistributor, | ||
| StateChangeDistributor & | stateChangeDistributor, | ||
| const std::string & | name | ||
| ) |
Definition at line 43 of file KeyJoystick.cc.
References openmsx::JoystickDevice::JOY_BUTTONA, openmsx::JoystickDevice::JOY_BUTTONB, openmsx::JoystickDevice::JOY_DOWN, openmsx::JoystickDevice::JOY_LEFT, openmsx::JoystickDevice::JOY_RIGHT, and openmsx::JoystickDevice::JOY_UP.
|
virtual |
Definition at line 67 of file KeyJoystick.cc.
References openmsx::EmuTime::dummy(), and openmsx::Pluggable::isPluggedIn().
| void openmsx::KeyJoystick::serialize | ( | Archive & | ar, |
| unsigned | version | ||
| ) |
Definition at line 179 of file KeyJoystick.cc.
References openmsx::EmuTime::dummy(), openmsx::Pluggable::getConnector(), and openmsx::Pluggable::isPluggedIn().
1.8.1.2