DeepSpace  2019
OI.h
Go to the documentation of this file.
1 #ifndef _OI_HG_
3 #define _OI_HG_
4 
5 #include <frc/WPILib.h>
6 
7 class OI {
8  public:
9  OI();
10 
16  frc::XboxController* GetJoystickDrive(void);
17 
23  frc::XboxController* GetJoystickOperator(void);
24 
30  frc::XboxController* GetJoystickDebug(void);
31 
32 private:
33  frc::XboxController* pJoystickDrive;
34  frc::XboxController* pJoystickOperator;
35  frc::XboxController* pJoystickDebug;
36 };
37 
38 #endif // _OI_HG_
frc::XboxController * GetJoystickOperator(void)
Definition: OI.cpp:14
frc::XboxController * pJoystickOperator
Pointer for Operator&#39;s joystick.
Definition: OI.h:34
Operator Interface allows various commands to access the xbox controllers through the DriverStation...
Definition: OI.h:7
frc::XboxController * pJoystickDebug
Pointer for Debug joystick.
Definition: OI.h:35
frc::XboxController * GetJoystickDrive(void)
Definition: OI.cpp:10
OI()
Class constructor.
Definition: OI.cpp:4
frc::XboxController * GetJoystickDebug(void)
Definition: OI.cpp:18
frc::XboxController * pJoystickDrive
Pointer for Driver&#39;s joystick.
Definition: OI.h:33