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

#include <DummyY8950KeyboardDevice.hh>

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

Public Member Functions

void write (byte data, EmuTime::param time) override
 Send data to the device.
 
byte read (EmuTime::param time) override
 Read data from the device.
 
std::string_view getDescription () const override
 Description for this pluggable.
 
void plugHelper (Connector &connector, EmuTime::param time) override
 
void unplugHelper (EmuTime::param time) override
 
- Public Member Functions inherited from openmsx::Y8950KeyboardDevice
std::string_view getClass () const final
 A pluggable belongs to a certain class.
 
- Public Member Functions inherited from openmsx::Pluggable
virtual ~Pluggable ()=default
 
virtual std::string_view getName () const
 Name used to identify 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.
 
ConnectorgetConnector () 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
 Pluggable ()
 
void setConnector (Connector *conn)
 

Detailed Description

Definition at line 8 of file DummyY8950KeyboardDevice.hh.

Member Function Documentation

◆ getDescription()

std::string_view openmsx::DummyY8950KeyboardDevice::getDescription ( ) const
overridevirtual

Description for this pluggable.

Implements openmsx::Pluggable.

Definition at line 15 of file DummyY8950KeyboardDevice.cc.

◆ plugHelper()

void openmsx::DummyY8950KeyboardDevice::plugHelper ( Connector connector,
EmuTime::param  time 
)
overridevirtual

Implements openmsx::Pluggable.

Definition at line 20 of file DummyY8950KeyboardDevice.cc.

◆ read()

byte openmsx::DummyY8950KeyboardDevice::read ( EmuTime::param  time)
overridevirtual

Read data from the device.

Normally this are the keys that are pressed but you might also connect a non-keyboard device. A 0-bit means corresponding key is pressed 1-bit not pressed

Implements openmsx::Y8950KeyboardDevice.

Definition at line 10 of file DummyY8950KeyboardDevice.cc.

◆ unplugHelper()

void openmsx::DummyY8950KeyboardDevice::unplugHelper ( EmuTime::param  time)
overridevirtual

Implements openmsx::Pluggable.

Definition at line 25 of file DummyY8950KeyboardDevice.cc.

◆ write()

void openmsx::DummyY8950KeyboardDevice::write ( byte  data,
EmuTime::param  time 
)
overridevirtual

Send data to the device.

Normally this is used to select a certain row from the keyboard but you might also connect a non-keyboard device. A 1-bit means corresponding row is selected ( 0V) 0-bit not selected (+5V)

Implements openmsx::Y8950KeyboardDevice.

Definition at line 5 of file DummyY8950KeyboardDevice.cc.


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