java.lang.Object | |
↳ | dji.common.remotecontroller.DJIRCHardwareState.DJIRCFiveDButton |
Movement direction of the remote controller's 5D button.
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
public boolean | buttonPressed | true if the 5D button is pressed down
|
|||||||||
public boolean | isPresent | true if 5D button is present. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
DJIRCFiveDButton(boolean buttonUp, boolean buttonDown, boolean buttonLeft, boolean buttonRight, boolean buttonPressed) |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
DJIRCHardwareState.DJIRCFiveDButtonDirection |
getHorizontalMovement()
get the movement in the horizontal direction of the 5D button.
| ||||||||||
DJIRCHardwareState.DJIRCFiveDButtonDirection |
getVerticalMovement()
get the movement in the vertical direction of the 5D button.
| ||||||||||
boolean | isButtonDown() | ||||||||||
boolean | isButtonLeft() | ||||||||||
boolean | isButtonRight() | ||||||||||
boolean | isButtonUp() |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
true
if the 5D button is pressed down
true
if 5D button is present.
get the movement in the horizontal direction of the 5D button. Right is the positive direction and left is the negative direction.
get the movement in the vertical direction of the 5D button. Up is the positive direction and down is the negative direction.