2
0
mirror of https://github.com/team2059/Zaphod synced 2024-12-28 20:12:29 -05:00
zaphod/Subsystems/Controller.h

21 lines
474 B
C
Raw Normal View History

#include <WPILib.h>
#include "../Definitions.h"
class JoystickController
{
private:
Joystick *rightJoystick, *leftJoystick;
public:
int leftJoystickValues[];
int rightJoystickValues[];
float leftJoystickAxisValues[];
float rightJoystickAxisValues[];
float throttle;
JoystickController();
void updateJoysticks();
void getRightJoystick();
void getLeftJoystick();
void getLeftJoystickAxis();
void getRightJoystickAxis();
};