WPILib  2014.0
WPIRoboticsLibraryforFRC
 All Classes Functions Variables Pages
Public Types | Public Member Functions | List of all members
GenericHID Class Referenceabstract

#include <GenericHID.h>

Inheritance diagram for GenericHID:
Joystick KinectStick

Public Types

enum  JoystickHand { kLeftHand = 0, kRightHand = 1 }
 

Public Member Functions

virtual float GetX (JoystickHand hand=kRightHand)=0
 
virtual float GetY (JoystickHand hand=kRightHand)=0
 
virtual float GetZ ()=0
 
virtual float GetTwist ()=0
 
virtual float GetThrottle ()=0
 
virtual float GetRawAxis (uint32_t axis)=0
 
virtual bool GetTrigger (JoystickHand hand=kRightHand)=0
 
virtual bool GetTop (JoystickHand hand=kRightHand)=0
 
virtual bool GetBumper (JoystickHand hand=kRightHand)=0
 
virtual bool GetRawButton (uint32_t button)=0
 

Detailed Description

GenericHID Interface


The documentation for this class was generated from the following file: