openMSX
InputEventFactory.hh
Go to the documentation of this file.
1#ifndef INPUTEVENTFACTORY_HH
2#define INPUTEVENTFACTORY_HH
3
4#include "Event.hh"
5#include <string_view>
6
7namespace openmsx {
8
9class TclObject;
10class Interpreter;
11
12namespace InputEventFactory
13{
14 [[nodiscard]] Event createInputEvent(std::string_view str, Interpreter& interp);
15 [[nodiscard]] Event createInputEvent(const TclObject& str, Interpreter& interp);
16}
17
18} // namespace openmsx
19
20#endif
Event createInputEvent(const TclObject &str, Interpreter &interp)
This file implemented 3 utility functions:
Definition Autofire.cc:11
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
Definition Event.hh:444