12 class MSXEventDistributor;
13 class StateChangeDistributor;
15 class CommandController;
29 template<
typename Archive>
30 void serialize(Archive& ar,
unsigned version);
33 void createTouchpadStateChange(EmuTime::param time,
34 byte x,
byte y,
bool touch,
bool button);
39 [[nodiscard]] std::string_view getName()
const override;
40 [[nodiscard]] std::string_view getDescription()
const override;
41 void plugHelper(
Connector& connector, EmuTime::param time)
override;
42 void unplugHelper(EmuTime::param time)
override;
45 [[nodiscard]]
byte read(EmuTime::param time)
override;
46 void write(
byte value, EmuTime::param time)
override;
49 void signalMSXEvent(
const std::shared_ptr<const Event>& event,
50 EmuTime::param time) noexcept
override;
52 void signalStateChange(
const std::shared_ptr<StateChange>& event)
override;
53 void stopReplay(EmuTime::param time) noexcept
override;
Represents something you can plug devices into.
Represents the output window/screen of openMSX.
void serialize(Archive &ar, unsigned version)
Touchpad(MSXEventDistributor &eventDistributor, StateChangeDistributor &stateChangeDistributor, Display &display, CommandController &commandController)
This file implemented 3 utility functions:
constexpr KeyMatrixPosition x
Keyboard bindings.