Files
Alex Henning c7e17b8e35 Added PacGoat code for C++.
Change-Id: I4fd19fbdc65c25c5bbcdce937a31bc6fa1c11cb4
2014-06-25 16:49:14 -07:00

25 lines
350 B
C++

/*
* DoubleButton.h
*
* Created on: Jun 24, 2014
* Author: alex
*/
#ifndef DOUBLEBUTTON_H_
#define DOUBLEBUTTON_H_
#include "WPILib.h"
class DoubleButton : public Trigger {
private:
Joystick* joy;
int button1, button2;
public:
DoubleButton(Joystick* joy, int button1, int button2);
bool Get();
};
#endif /* DOUBLEBUTTON_H_ */