Johan fix
This commit is contained in:
@@ -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;
|
||||
};
|
||||
Reference in New Issue
Block a user