openMSX
Y8950KeyboardDevice.hh
Go to the documentation of this file.
1 #ifndef Y8950KEYBOARDDEVICE_HH
2 #define Y8950KEYBOARDDEVICE_HH
3 
4 #include "Pluggable.hh"
5 #include "openmsx.hh"
6 
7 namespace openmsx {
8 
10 {
11 public:
19  virtual void write(byte data, EmuTime::param time) = 0;
20 
28  virtual byte read(EmuTime::param time) = 0;
29 
30  // pluggable
31  std::string_view getClass() const final override;
32 };
33 
34 } // namespace openmsx
35 
36 #endif
openmsx.hh
openmsx::Y8950KeyboardDevice::read
virtual byte read(EmuTime::param time)=0
Read data from the device.
Pluggable.hh
openmsx::Pluggable
Definition: Pluggable.hh:11
openmsx::Y8950KeyboardDevice::write
virtual void write(byte data, EmuTime::param time)=0
Send data to the device.
openmsx::Y8950KeyboardDevice::getClass
std::string_view getClass() const final override
A pluggable belongs to a certain class.
Definition: Y8950KeyboardDevice.cc:5
openmsx::Y8950KeyboardDevice
Definition: Y8950KeyboardDevice.hh:9
openmsx
Thanks to enen for testing this on a real cartridge:
Definition: Autofire.cc:5