mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-21 01:01:43 +00:00
Added PacGoat code for C++.
Change-Id: I4fd19fbdc65c25c5bbcdce937a31bc6fa1c11cb4
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
#ifndef OI_H
|
||||
#define OI_H
|
||||
|
||||
#include "WPILib.h"
|
||||
#include "Triggers/DoubleButton.h"
|
||||
|
||||
class OI {
|
||||
private:
|
||||
Joystick* joystick;
|
||||
JoystickButton *L1, *L2, *R1, *R2;
|
||||
DoubleButton* sticks;
|
||||
public:
|
||||
OI();
|
||||
Joystick* GetJoystick();
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user