19#ifndef BASEEVENTHANDLER_H
20#define BASEEVENTHANDLER_H
Base class for input event handlers.
Definition baseeventhandler.h:33
virtual ~BaseEventHandler()
Definition baseeventhandler.cpp:30
virtual void sendMouseButtonEvent(JoyButtonSlot *slot, bool pressed)=0
QString getErrorString()
Definition baseeventhandler.cpp:32
virtual void sendMouseAbsEvent(int xDis, int yDis, int screen)
Move cursor to selected absolute location (x, y) on selected display.
Definition baseeventhandler.cpp:46
virtual QString getName()=0
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 void printPostMessages()
Do nothing by default. Allow child classes to specify text to output to a text stream.
Definition baseeventhandler.cpp:38
QString lastErrorString
Definition baseeventhandler.h:64
virtual void sendTextEntryEvent(QString maintext)
Definition baseeventhandler.cpp:68
virtual QString getIdentifier()=0
virtual void sendMouseEvent(int xDis, int yDis)=0
Move cursor to selected relative location (deltax delaty)
virtual void sendKeyboardEvent(JoyButtonSlot *slot, bool pressed)=0