| Package | Description |
|---|---|
| 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.
|
| Modifier and Type | Field and Description |
|---|---|
static Joystick.ButtonType |
Joystick.ButtonType.kNumButton
button: num button types
|
static Joystick.ButtonType |
Joystick.ButtonType.kTop
button: top button
|
static Joystick.ButtonType |
Joystick.ButtonType.kTrigger
button: trigger
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
Joystick.getButton(Joystick.ButtonType button)
Get buttons based on an enumerated type.
|
Copyright © 2015. All rights reserved.