|
WPILib 2012
WPILibRoboticsLibraryforFRC
|
Classes | |
| union | KinectStickData |
Public Member Functions | |
| KinectStick (int id) | |
| virtual float | GetX (JoystickHand hand=kRightHand) |
| virtual float | GetY (JoystickHand hand=kRightHand) |
| virtual float | GetZ () |
| virtual float | GetTwist () |
| virtual float | GetThrottle () |
| virtual float | GetRawAxis (UINT32 axis) |
| virtual bool | GetTrigger (JoystickHand hand=kRightHand) |
| virtual bool | GetTop (JoystickHand hand=kRightHand) |
| virtual bool | GetBumper (JoystickHand hand=kRightHand) |
| virtual bool | GetRawButton (UINT32 button) |
| KinectStick::KinectStick | ( | int | id | ) | [explicit] |
| float KinectStick::GetRawAxis | ( | UINT32 | axis | ) | [virtual] |
Get the joystick axis value by axis number This is only supported for X in the default gestures and all others always returns 0
Implements GenericHID.
| float KinectStick::GetThrottle | ( | ) | [virtual] |
Get the Throttle joystick value This is not supported in the default gestures and always returns 0
Implements GenericHID.
| bool KinectStick::GetTop | ( | JoystickHand | hand = kRightHand | ) | [virtual] |
Get the top button value for the joystick
| hand |
Implements GenericHID.
| bool KinectStick::GetTrigger | ( | JoystickHand | hand = kRightHand | ) | [virtual] |
Get the trigger value for the joystick
| hand |
Implements GenericHID.
| float KinectStick::GetTwist | ( | ) | [virtual] |
Get the Twist joystick value This is not supported in the default gestures and always returns 0
Implements GenericHID.
| float KinectStick::GetX | ( | JoystickHand | hand = kRightHand | ) | [virtual] |
Get the X joystick value This is not supported in the default gestures and always returns 0
Implements GenericHID.
| float KinectStick::GetY | ( | JoystickHand | hand = kRightHand | ) | [virtual] |
Get the joystick Y value
| hand |
Implements GenericHID.
| float KinectStick::GetZ | ( | ) | [virtual] |
Get the Z joystick value This is not supported in the default gestures and always returns 0
Implements GenericHID.
1.7.4