OXYGENHUB
◆ main openmsx / src / input / DummyJoystick.hh
467 B · C++ · last changed chore(): initial commit 1 month ago source blame history raw
1
#ifndef DUMMYJOYSTICK_HH
2
#define DUMMYJOYSTICK_HH
3
4
#include "JoystickDevice.hh"
5
6
namespace openmsx {
7
8
class DummyJoystick final : public JoystickDevice
9
{
10
public:
11
	[[nodiscard]] uint8_t read(EmuTime time) override;
12
	void write(uint8_t value, EmuTime time) override;
13
	[[nodiscard]] zstring_view getDescription() const override;
14
	void plugHelper(Connector& connector, EmuTime time) override;
15
	void unplugHelper(EmuTime time) override;
16
};
17
18
} // namespace openmsx
19
20
#endif