mirror of
https://github.com/team2059/Zaphod
synced 2024-12-18 20:12:28 -05:00
21 lines
474 B
C++
21 lines
474 B
C++
#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();
|
|
};
|