check DPad
Checks if the DPad is pressed in a specific direction.
Return
True if the DPad is pressed in the specified direction, false otherwise.
Parameters
index
The index of the DPad direction.
Checks if the DPad is pressed at a specific angle.
Return
True if the DPad is pressed at the specified angle, false otherwise.
Parameters
angle
The angle to check.
in Degrees
Whether the angle is in degrees.