 |
AntiMicroX
|
Go to the documentation of this file.
19 #ifndef BASEEVENTHANDLER_H
20 #define BASEEVENTHANDLER_H
40 virtual bool init() = 0;
67 #endif // BASEEVENTHANDLER_H
virtual void sendMouseSpringEvent(int xDis, int yDis, int width, int height)
Do nothing by default. Useful for child classes to define behavior.
Definition: baseeventhandler.cpp:60
virtual QString getName()=0
BaseEventHandler(QObject *parent=nullptr)
Definition: baseeventhandler.cpp:25
virtual void sendMouseButtonEvent(JoyButtonSlot *slot, bool pressed)=0
virtual void sendMouseAbsEvent(int xDis, int yDis, int screen)
Move cursor to selected absolute location (x, y) on selected display.
Definition: baseeventhandler.cpp:46
QString getErrorString()
Definition: baseeventhandler.cpp:32
Base class for input event handlers.
Definition: baseeventhandler.h:32
virtual void sendKeyboardEvent(JoyButtonSlot *slot, bool pressed)=0
QString lastErrorString
Definition: baseeventhandler.h:64
virtual ~BaseEventHandler()
Definition: baseeventhandler.cpp:30
virtual QString getIdentifier()=0
virtual void sendMouseEvent(int xDis, int yDis)=0
Move cursor to selected relative location (deltax delaty)
virtual void sendTextEntryEvent(QString maintext)
Definition: baseeventhandler.cpp:68
virtual void printPostMessages()
Do nothing by default. Allow child classes to specify text to output to a text stream.
Definition: baseeventhandler.cpp:38