Johan fix

This commit is contained in:
2016-06-20 17:16:29 +02:00
parent f84fcfa4e2
commit da0b1f5588
16 changed files with 4429 additions and 7 deletions
+20
View File
@@ -0,0 +1,20 @@
#pragma once
#include "Vector.h"
class Controller{
public:
Controller(int controllerId);
~Controller();
Vec3f ypr;
Vec2f joystick;
bool button, joystickButton, magnetSwitch;
int controllerId;
void setConnected(bool connected);
bool isConnected(void);
void rumble(int duration, int power);
private:
bool connected = false;
};