openMSX
DummyY8950KeyboardDevice.cc
Go to the documentation of this file.
2 
3 namespace openmsx {
4 
5 void DummyY8950KeyboardDevice::write(byte /*data*/, EmuTime::param /*time*/)
6 {
7  // ignore data
8 }
9 
10 byte DummyY8950KeyboardDevice::read(EmuTime::param /*time*/)
11 {
12  return 255;
13 }
14 
16 {
17  return {};
18 }
19 
21  EmuTime::param /*time*/)
22 {
23 }
24 
25 void DummyY8950KeyboardDevice::unplugHelper(EmuTime::param /*time*/)
26 {
27 }
28 
29 } // namespace openmsx
Represents something you can plug devices into.
Definition: Connector.hh:20
void unplugHelper(EmuTime::param time) override
uint8_t byte
8 bit unsigned integer
Definition: openmsx.hh:26
void plugHelper(Connector &connector, EmuTime::param time) override
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.
Thanks to enen for testing this on a real cartridge:
Definition: Autofire.cc:5