1 #ifndef SETETRISDONGLE_HH
2 #define SETETRISDONGLE_HH
14 [[nodiscard]] std::string_view
getName()
const override;
20 [[nodiscard]]
byte read(EmuTime::param time)
override;
21 void write(
byte value, EmuTime::param time)
override;
23 template<
typename Archive>
24 void serialize(Archive& ar,
unsigned version);
Represents something you can plug devices into.
void plugHelper(Connector &connector, EmuTime::param time) override
std::string_view getName() const override
Name used to identify this pluggable.
std::string_view getDescription() const override
Description for this pluggable.
void serialize(Archive &ar, unsigned version)
byte read(EmuTime::param time) override
Read from the joystick device.
void write(byte value, EmuTime::param time) override
Write a value to the joystick device.
void unplugHelper(EmuTime::param time) override
This file implemented 3 utility functions: