11class MSXEventDistributor;
12class StateChangeDistributor;
22 template<
typename Archive>
23 void serialize(Archive& ar,
unsigned version);
27 [[nodiscard]] std::string_view getName()
const override;
28 [[nodiscard]] std::string_view getDescription()
const override;
29 void plugHelper(
Connector& connector, EmuTime::param time)
override;
30 void unplugHelper(EmuTime::param time)
override;
33 [[nodiscard]] uint8_t read(EmuTime::param time)
override;
34 void write(uint8_t value, EmuTime::param time)
override;
37 void signalMSXEvent(
const Event& event,
38 EmuTime::param time)
noexcept override;
40 void signalStateChange(
const StateChange& event)
override;
41 void stopReplay(EmuTime::param time)
noexcept override;
48 uint8_t buttonStatus = 0x3E;
49 uint8_t lastValue = 0;
void serialize(Archive &ar, unsigned version)
ArkanoidPad(MSXEventDistributor &eventDistributor, StateChangeDistributor &stateChangeDistributor)
Represents something you can plug devices into.
Base class for all external MSX state changing events.
This file implemented 3 utility functions:
SERIALIZE_CLASS_VERSION(CassettePlayer, 2)