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;
std::variant< KeyUpEvent, KeyDownEvent, MouseMotionEvent, MouseButtonUpEvent, MouseButtonDownEvent, MouseWheelEvent, JoystickAxisMotionEvent, JoystickHatEvent, JoystickButtonUpEvent, JoystickButtonDownEvent, OsdControlReleaseEvent, OsdControlPressEvent, WindowEvent, TextEvent, FileDropEvent, QuitEvent, FinishFrameEvent, CliCommandEvent, GroupEvent, BootEvent, FrameDrawnEvent, BreakEvent, SwitchRendererEvent, TakeReverseSnapshotEvent, AfterTimedEvent, MachineLoadedEvent, MachineActivatedEvent, MachineDeactivatedEvent, MidiInReaderEvent, MidiInWindowsEvent, MidiInCoreMidiEvent, MidiInCoreMidiVirtualEvent, MidiInALSAEvent, Rs232TesterEvent, Rs232NetEvent, ImGuiDelayedActionEvent, ImGuiActiveEvent > Event