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
uint8_t byte
8 bit unsigned integer
Definition: openmsx.hh:26
virtual void write(byte data, EmuTime::param time)=0
Send data to the device.
virtual byte read(EmuTime::param time)=0
Read data from the device.
Thanks to enen for testing this on a real cartridge:
Definition: Autofire.cc:5
std::string_view getClass() const final override
A pluggable belongs to a certain class.