TGamolf Custom Joystick Service .get DPad Method
Return the DPad value between (0-359° or 65535) Compare it to Top, TopRight/RightTop, Right, BottomRight/RightBottom, Bottom, BottomLeft/LeftBottom, Left, LeftTop/TopLeft, Center values from TJoystickDPad enumeration
function getDPad(JoystickID: byte; FromXYWhenNoDPadAvailable: boolean): word
Parameters
- JoystickID
- Type: System.Byte
- FromXYWhenNoDPadAvailable
- Type: System.Boolean
Return Value
Type: System.Word