AntiMicroX
Functions
event.cpp File Reference
#include <QApplication>
#include <QCursor>
#include <QDebug>
#include <QFileInfo>
#include <QMessageBox>
#include <QProcess>
#include <QScreen>
#include <QStringList>
#include <QVariant>
#include <cmath>
#include "event.h"
#include "eventhandlerfactory.h"
#include "globalvariables.h"
#include "joybuttontypes/joybutton.h"
#include "logger.h"
Include dependency graph for event.cpp:

Functions

void fakeAbsMouseCoordinates (double springX, double springY, int width, int height, int &finalx, int &finaly, int screen)
 
QString detectedScriptExt (QString file)
 detects executor for selected file (for .py files python, for .exe "" etc) More...
 
void sendevent (JoyButtonSlot *slot, bool pressed)
 
void sendevent (int code1, int code2)
 
void sendSpringEventRefactor (PadderCommon::springModeInfo *fullSpring, PadderCommon::springModeInfo *relativeSpring, int *const mousePosX, int *const mousePosY)
 
void sendSpringEvent (PadderCommon::springModeInfo *fullSpring, PadderCommon::springModeInfo *relativeSpring, int *const mousePosX, int *const mousePosY)
 
int X11KeySymToKeycode (QString key)
 
QString keycodeToKeyString (int keycode, int alias)
 
int X11KeyCodeToX11KeySym (int keycode)
 
QString keysymToKeyString (int keysym, int alias)
 
void sendKeybEvent (JoyButtonSlot *slot, bool pressed)
 

Function Documentation

◆ detectedScriptExt()

QString detectedScriptExt ( QString  file)

detects executor for selected file (for .py files python, for .exe "" etc)

Here is the caller graph for this function:

◆ fakeAbsMouseCoordinates()

void fakeAbsMouseCoordinates ( double  springX,
double  springY,
int  width,
int  height,
int &  finalx,
int &  finaly,
int  screen 
)
Here is the caller graph for this function:

◆ keycodeToKeyString()

QString keycodeToKeyString ( int  keycode,
int  alias 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ keysymToKeyString()

QString keysymToKeyString ( int  keysym,
int  alias 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ sendevent() [1/2]

void sendevent ( int  code1,
int  code2 
)
Here is the call graph for this function:

◆ sendevent() [2/2]

void sendevent ( JoyButtonSlot slot,
bool  pressed 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ sendKeybEvent()

void sendKeybEvent ( JoyButtonSlot slot,
bool  pressed 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ sendSpringEvent()

void sendSpringEvent ( PadderCommon::springModeInfo fullSpring,
PadderCommon::springModeInfo relativeSpring,
int *const  mousePosX,
int *const  mousePosY 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ sendSpringEventRefactor()

void sendSpringEventRefactor ( PadderCommon::springModeInfo fullSpring,
PadderCommon::springModeInfo relativeSpring,
int *const  mousePosX,
int *const  mousePosY 
)
Here is the call graph for this function:

◆ X11KeyCodeToX11KeySym()

int X11KeyCodeToX11KeySym ( int  keycode)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ X11KeySymToKeycode()

int X11KeySymToKeycode ( QString  key)
Here is the call graph for this function:
Here is the caller graph for this function: