Package com.pocolifo.robobase.control
Class GamepadController
java.lang.Object
com.pocolifo.robobase.control.GamepadController
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionbooleana()booleanb()booleandown()booleanleft()booleanleftBumper(InputType<Boolean> leftBumper) floatleftTrigger(InputType<Float> leftTrigger) booleanright()booleanrightBumper(InputType<Boolean> rightBumper) floatrightTrigger(InputType<Float> rightTrigger) booleanup()voidupdate()booleanx()booleany() 
- 
Constructor Details
- 
GamepadController
public GamepadController(com.qualcomm.robotcore.hardware.Gamepad gamepad)  
 - 
 - 
Method Details
- 
x
 - 
x
public boolean x() - 
y
 - 
y
public boolean y() - 
a
 - 
a
public boolean a() - 
b
 - 
b
public boolean b() - 
rightTrigger
 - 
rightTrigger
public float rightTrigger() - 
leftTrigger
 - 
leftTrigger
public float leftTrigger() - 
rightBumper
 - 
rightBumper
public boolean rightBumper() - 
leftBumper
 - 
leftBumper
public boolean leftBumper() - 
up
 - 
up
public boolean up() - 
down
 - 
down
public boolean down() - 
right
 - 
right
public boolean right() - 
left
 - 
left
public boolean left() - 
update
public void update() 
 -