TGamolfCustomJoystickService.getDPadFromXY Method
Definition
Get orientation (like DPad) from (x,y) axis
Delphi
function getDPadFromXY(X: single; Y: single): word
Parameters
- X
- Single
- Y
- Single
Returns
Word
Get orientation (like DPad) from (x,y) axis
function getDPadFromXY(X: single; Y: single): word