10 return "tetris2-protection";
15 return "Tetris II Special Edition dongle";
45template<
typename Archive>
Represents something you can plug devices into.
static constexpr uint8_t JOY_RIGHT
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)
uint8_t read(EmuTime::param time) override
Read from the joystick device.
void unplugHelper(EmuTime::param time) override
void write(uint8_t value, EmuTime::param time) override
Write a value to the joystick device.
This file implemented 3 utility functions:
#define INSTANTIATE_SERIALIZE_METHODS(CLASS)