12 [[nodiscard]] std::string_view
getName()
const override;
18 [[nodiscard]]
byte read(EmuTime::param time)
override;
19 void write(
byte value, EmuTime::param time)
override;
21 template<
typename Archive>
22 void serialize(Archive& ar,
unsigned version);
Represents something you can plug devices into.
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 serialize(Archive &ar, unsigned version)
std::string_view getDescription() const override
Description for this pluggable.
void plugHelper(Connector &connector, EmuTime::param time) override
std::string_view getName() const override
Name used to identify this pluggable.
void unplugHelper(EmuTime::param time) override
This file implemented 3 utility functions: