#include <JoystickDevice.hh>
|
virtual uint8_t | read (EmuTime::param time)=0 |
| Read from the joystick device.
|
|
virtual void | write (uint8_t value, EmuTime::param time)=0 |
| Write a value to the joystick device.
|
|
std::string_view | getClass () const final |
| A pluggable belongs to a certain class.
|
|
virtual | ~Pluggable ()=default |
|
virtual std::string_view | getName () const |
| Name used to identify this pluggable.
|
|
virtual std::string_view | 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 connector.
|
|
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.
|
|
|
static constexpr uint8_t | JOY_UP = 0x01 |
|
static constexpr uint8_t | JOY_DOWN = 0x02 |
|
static constexpr uint8_t | JOY_LEFT = 0x04 |
|
static constexpr uint8_t | JOY_RIGHT = 0x08 |
|
static constexpr uint8_t | JOY_BUTTONA = 0x10 |
|
static constexpr uint8_t | JOY_BUTTONB = 0x20 |
|
static constexpr uint8_t | RD_PIN1 = 0x01 |
|
static constexpr uint8_t | RD_PIN2 = 0x02 |
|
static constexpr uint8_t | RD_PIN3 = 0x04 |
|
static constexpr uint8_t | RD_PIN4 = 0x08 |
|
static constexpr uint8_t | RD_PIN6 = 0x10 |
|
static constexpr uint8_t | RD_PIN7 = 0x20 |
|
static constexpr uint8_t | WR_PIN6 = 0x01 |
|
static constexpr uint8_t | WR_PIN7 = 0x02 |
|
static constexpr uint8_t | WR_PIN8 = 0x04 |
|
Definition at line 9 of file JoystickDevice.hh.
◆ getClass()
std::string_view openmsx::JoystickDevice::getClass |
( |
| ) |
const |
|
finalvirtual |
◆ read()
virtual uint8_t openmsx::JoystickDevice::read |
( |
EmuTime::param |
time | ) |
|
|
pure virtual |
◆ write()
virtual void openmsx::JoystickDevice::write |
( |
uint8_t |
value, |
|
|
EmuTime::param |
time |
|
) |
| |
|
pure virtual |
◆ JOY_BUTTONA
constexpr uint8_t openmsx::JoystickDevice::JOY_BUTTONA = 0x10 |
|
staticconstexpr |
◆ JOY_BUTTONB
constexpr uint8_t openmsx::JoystickDevice::JOY_BUTTONB = 0x20 |
|
staticconstexpr |
◆ JOY_DOWN
constexpr uint8_t openmsx::JoystickDevice::JOY_DOWN = 0x02 |
|
staticconstexpr |
◆ JOY_LEFT
constexpr uint8_t openmsx::JoystickDevice::JOY_LEFT = 0x04 |
|
staticconstexpr |
◆ JOY_RIGHT
constexpr uint8_t openmsx::JoystickDevice::JOY_RIGHT = 0x08 |
|
staticconstexpr |
◆ JOY_UP
constexpr uint8_t openmsx::JoystickDevice::JOY_UP = 0x01 |
|
staticconstexpr |
◆ RD_PIN1
constexpr uint8_t openmsx::JoystickDevice::RD_PIN1 = 0x01 |
|
staticconstexpr |
◆ RD_PIN2
constexpr uint8_t openmsx::JoystickDevice::RD_PIN2 = 0x02 |
|
staticconstexpr |
◆ RD_PIN3
constexpr uint8_t openmsx::JoystickDevice::RD_PIN3 = 0x04 |
|
staticconstexpr |
◆ RD_PIN4
constexpr uint8_t openmsx::JoystickDevice::RD_PIN4 = 0x08 |
|
staticconstexpr |
◆ RD_PIN6
constexpr uint8_t openmsx::JoystickDevice::RD_PIN6 = 0x10 |
|
staticconstexpr |
◆ RD_PIN7
constexpr uint8_t openmsx::JoystickDevice::RD_PIN7 = 0x20 |
|
staticconstexpr |
◆ WR_PIN6
constexpr uint8_t openmsx::JoystickDevice::WR_PIN6 = 0x01 |
|
staticconstexpr |
◆ WR_PIN7
constexpr uint8_t openmsx::JoystickDevice::WR_PIN7 = 0x02 |
|
staticconstexpr |
◆ WR_PIN8
constexpr uint8_t openmsx::JoystickDevice::WR_PIN8 = 0x04 |
|
staticconstexpr |
The documentation for this class was generated from the following files: