forked from mastermune/InputRedirectionClient-Qt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgpmanager.h
32 lines (25 loc) · 830 Bytes
/
gpmanager.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#ifndef GPMANAGER_H
#define GPMANAGER_H
#include <QGamepadManager>
#include <QGamepad>
#include "global.h"
class GamepadMonitor : public QObject
{
public:
GamepadMonitor(QObject *parent);
private:
QGamepadManager::GamepadAxis axLeftX, axLeftY, axRightX, axRightY;
void leftX(QGamepadManager::GamepadAxis axis, double value);
void leftY(QGamepadManager::GamepadAxis axis, double value);
void rightX(QGamepadManager::GamepadAxis axis, double value);
void rightY(QGamepadManager::GamepadAxis axis, double value);
void rsSmashX(double value);
void rsSmashY(void);
void samusReturnsAimingX(double value);
void samusReturnsAimingY(void);
void rsFaceButtonsX(double value);
void rsFaceButtonsY(void);
void rsDpadX(double value);
void rsDPadY(void);
};
#endif // GPMANAGER_H