17 #include <QtCore/QObject> 30 virtual void reset() = 0;
34 virtual bool buttonWasPressed(
int buttonNumber) = 0;
37 virtual bool buttonIsPressed(
int buttonNumber) = 0;
40 virtual bool isPadPressed(
int pad)
const = 0;
43 virtual int padX(
int pad)
const = 0;
46 virtual int padY(
int pad)
const = 0;
49 virtual int wheel()
const = 0;
52 virtual bool isConnected()
const = 0;
57 virtual bool disconnect() = 0;
67 void wheelEvent(
int percent);
73 void pad(
int pad,
int x,
int y);
78 void button(
int button,
int pressed);
82 void custom(
const QString &s);
#define TRIKCONTROL_EXPORT
Definition: declSpec.h:23
Definition: trikCommunicator.h:27
Remote control of a robot via Android gamepad.
Definition: gamepadInterface.h:24
var x
Definition: file-test.js:2
var y
Definition: file-test.js:5