Gets the current direction of the point-of-view of the specified joystick.
Direction.f = UBE_JoystickPointOfView(Joystick.i [, Mode.i])
Joystick
The index of the connected joysticks. Mode
One of the following constants: The default mode is
#UBE_DEGREE
Unit of the angle is degree. #UBE_RADIAN
Unit of the angle is radians. #UBE_DEGREE
.
0.0
for no direction or the current direction in degree:
45.0
,90.0
,135.0
,180.0
,225.0
,270.0
,315.0
or360.0
.