AntiMicroX
Public Member Functions | Protected Attributes
WinVMultiEventHandler Class Reference

#include <winvmultieventhandler.h>

Inheritance diagram for WinVMultiEventHandler:
[legend]
Collaboration diagram for WinVMultiEventHandler:
[legend]

Public Member Functions

 WinVMultiEventHandler (QObject *parent=0)
 
 ~WinVMultiEventHandler ()
 
virtual bool init ()
 
virtual bool cleanup ()
 
virtual void sendKeyboardEvent (JoyButtonSlot *slot, bool pressed)
 
virtual void sendMouseButtonEvent (JoyButtonSlot *slot, bool pressed)
 
virtual void sendMouseEvent (int xDis, int yDis)
 Move cursor to selected relative location (deltax delaty) More...
 
virtual void sendMouseAbsEvent (int xDis, int yDis, int screen)
 Move cursor to selected absolute location (x, y) on selected display. More...
 
virtual void sendMouseSpringEvent (unsigned int xDis, unsigned int yDis, unsigned int width, unsigned int height)
 
virtual void sendTextEntryEvent (QString maintext)
 
virtual QString getName ()
 
virtual QString getIdentifier ()
 
- Public Member Functions inherited from BaseEventHandler
 BaseEventHandler (QObject *parent=nullptr)
 
virtual ~BaseEventHandler ()
 
virtual void sendMouseSpringEvent (int xDis, int yDis, int width, int height)
 Do nothing by default. Useful for child classes to define behavior. More...
 
virtual void printPostMessages ()
 Do nothing by default. Allow child classes to specify text to output to a text stream. More...
 
QString getErrorString ()
 

Protected Attributes

pvmulti_client vmulti
 
BYTE mouseButtons
 
BYTE shiftKeys
 
BYTE multiKeys
 
BYTE extraKeys
 
QVector< BYTE > keyboardKeys
 
WinSendInputEventHandler sendInputHandler
 
QtKeyMapperBasenativeKeyMapper
 
- Protected Attributes inherited from BaseEventHandler
QString lastErrorString
 

Constructor & Destructor Documentation

◆ WinVMultiEventHandler()

WinVMultiEventHandler::WinVMultiEventHandler ( QObject *  parent = 0)
explicit

◆ ~WinVMultiEventHandler()

WinVMultiEventHandler::~WinVMultiEventHandler ( )
Here is the call graph for this function:

Member Function Documentation

◆ cleanup()

bool WinVMultiEventHandler::cleanup ( )
virtual

Implements BaseEventHandler.

Here is the caller graph for this function:

◆ getIdentifier()

QString WinVMultiEventHandler::getIdentifier ( )
virtual

Implements BaseEventHandler.

◆ getName()

QString WinVMultiEventHandler::getName ( )
virtual

Implements BaseEventHandler.

◆ init()

bool WinVMultiEventHandler::init ( )
virtual

Implements BaseEventHandler.

Here is the call graph for this function:

◆ sendKeyboardEvent()

void WinVMultiEventHandler::sendKeyboardEvent ( JoyButtonSlot slot,
bool  pressed 
)
virtual

Implements BaseEventHandler.

Here is the call graph for this function:

◆ sendMouseAbsEvent()

void WinVMultiEventHandler::sendMouseAbsEvent ( int  xDis,
int  yDis,
int  screen 
)
virtual

Move cursor to selected absolute location (x, y) on selected display.

Do nothing by default. Useful for child classes to define behavior.

Parameters
Displacementof X coordinate
Displacementof Y coordinate
Screennumber or -1 to use default

Reimplemented from BaseEventHandler.

Here is the caller graph for this function:

◆ sendMouseButtonEvent()

void WinVMultiEventHandler::sendMouseButtonEvent ( JoyButtonSlot slot,
bool  pressed 
)
virtual

Implements BaseEventHandler.

Here is the call graph for this function:

◆ sendMouseEvent()

void WinVMultiEventHandler::sendMouseEvent ( int  xDis,
int  yDis 
)
virtual

Move cursor to selected relative location (deltax delaty)

Implements BaseEventHandler.

◆ sendMouseSpringEvent()

void WinVMultiEventHandler::sendMouseSpringEvent ( unsigned int  xDis,
unsigned int  yDis,
unsigned int  width,
unsigned int  height 
)
virtual
Here is the call graph for this function:

◆ sendTextEntryEvent()

void WinVMultiEventHandler::sendTextEntryEvent ( QString  maintext)
virtual

Reimplemented from BaseEventHandler.

Here is the call graph for this function:

Field Documentation

◆ extraKeys

BYTE WinVMultiEventHandler::extraKeys
protected

◆ keyboardKeys

QVector<BYTE> WinVMultiEventHandler::keyboardKeys
protected

◆ mouseButtons

BYTE WinVMultiEventHandler::mouseButtons
protected

◆ multiKeys

BYTE WinVMultiEventHandler::multiKeys
protected

◆ nativeKeyMapper

QtKeyMapperBase* WinVMultiEventHandler::nativeKeyMapper
protected

◆ sendInputHandler

WinSendInputEventHandler WinVMultiEventHandler::sendInputHandler
protected

◆ shiftKeys

BYTE WinVMultiEventHandler::shiftKeys
protected

◆ vmulti

pvmulti_client WinVMultiEventHandler::vmulti
protected

The documentation for this class was generated from the following files: