|
" 2013 FRC Java API " |
|||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use GenericHID.Hand | |
|---|---|
| edu.wpi.first.wpilibj | The WPI Robotics library (WPILibJ) is a set of Java classes that interfaces to the hardware in the FRC control system and your robot. |
| Uses of GenericHID.Hand in edu.wpi.first.wpilibj |
|---|
| Fields in edu.wpi.first.wpilibj declared as GenericHID.Hand | |
|---|---|
static GenericHID.Hand |
GenericHID.Hand.kLeft
hand: left |
static GenericHID.Hand |
GenericHID.Hand.kRight
hand: right |
| Methods in edu.wpi.first.wpilibj with parameters of type GenericHID.Hand | |
|---|---|
abstract boolean |
GenericHID.getBumper(GenericHID.Hand hand)
Is the bumper pressed |
boolean |
Joystick.getBumper(GenericHID.Hand hand)
This is not supported for the Joystick. |
boolean |
KinectStick.getBumper(GenericHID.Hand hand)
Get the button value for the button set as the default bumper in (@link Joystick) |
abstract boolean |
GenericHID.getTop(GenericHID.Hand hand)
Is the top button pressed |
boolean |
Joystick.getTop(GenericHID.Hand hand)
Read the state of the top button on the joystick. |
boolean |
KinectStick.getTop(GenericHID.Hand hand)
Get the button value for the button set as the default top in (@link Joystick) |
abstract boolean |
GenericHID.getTrigger(GenericHID.Hand hand)
Is the trigger pressed |
boolean |
Joystick.getTrigger(GenericHID.Hand hand)
Read the state of the trigger on the joystick. |
boolean |
KinectStick.getTrigger(GenericHID.Hand hand)
Get the button value for the button set as the default trigger in (@link Joystick) |
abstract double |
GenericHID.getX(GenericHID.Hand hand)
Get the x position of HID |
double |
Joystick.getX(GenericHID.Hand hand)
Get the X value of the joystick. |
double |
KinectStick.getX(GenericHID.Hand hand)
Get the X value of the KinectStick. |
abstract double |
GenericHID.getY(GenericHID.Hand hand)
Get the y position of the HID |
double |
Joystick.getY(GenericHID.Hand hand)
Get the Y value of the joystick. |
double |
KinectStick.getY(GenericHID.Hand hand)
Get the Y value of the KinectStick. |
abstract double |
GenericHID.getZ(GenericHID.Hand hand)
Get the z position of the HID |
double |
Joystick.getZ(GenericHID.Hand hand)
Get the Z value of the joystick. |
double |
KinectStick.getZ(GenericHID.Hand hand)
Get the Z value of the KinectStick. |
|
" 2013 FRC Java API " |
|||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||