OXYGENHUB
◆ main openmsx / src / input / DummyJoystick.cc
456 B · C++ · last changed chore(): initial commit 1 month ago source blame history raw
1
#include "DummyJoystick.hh"
2
3
namespace openmsx {
4
5
uint8_t DummyJoystick::read(EmuTime /*time*/)
6
{
7
	return 0x3F;
8
}
9
10
void DummyJoystick::write(uint8_t /*value*/, EmuTime /*time*/)
11
{
12
	// do nothing
13
}
14
15
zstring_view DummyJoystick::getDescription() const
16
{
17
	return {};
18
}
19
20
void DummyJoystick::plugHelper(Connector& /*connector*/,
21
                               EmuTime /*time*/)
22
{
23
}
24
25
void DummyJoystick::unplugHelper(EmuTime /*time*/)
26
{
27
}
28
29
} // namespace openmsx