34 #define impHandler(name) void name(const MouseInput &mouseInput)
35 #define impHandler0(name) void name(const MouseInput &mouseInput A_UNUSED)
44 static const int lim1 = 10;
45 static const int diff = 20;
58 const int x2 = abs(
x);
59 const int y2 = abs(
y);
62 if ((y2 != 0) && x2 * 10 / y2 > diff)
67 if ((x2 != 0) && y2 * 10 / x2 > diff)
107 moveChar(mouseInput.getX(), mouseInput.getY());
116 moveChar(mouseInput.getX(), mouseInput.getY());
void setActionActive(const InputActionT index, const bool value)
void padClick(const MouseInput &mouseInput)
static void moveChar(int x, int y)
void setHalfJoyPad(const int s)
#define impHandler0(name)
void padOut(const MouseInput &mouseInput)
void padEvents(const MouseInput &mouseInput)
void padUp(const MouseInput &mouseInput)
TouchManager touchManager