TGamolfCustomJoystickService.getDPad 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

Unit: Gamolf.RTL.Joystick
function getDPad(JoystickID: byte; FromXYWhenNoDPadAvailable: boolean): word

Parameters

JoystickID
Type: System.Byte

FromXYWhenNoDPadAvailable
Type: System.Boolean

Return Value

Type: System.Word

 

Implements

Gamolf.RTL.Joystick.IGamolfJoystickService.getDPad