TGamolfCustomJoystickService.hasJoystickButtonsAPI Method

Definition

Override this function and return true for platforms where buttons place are known. By default, it's false;

Delphi
function hasJoystickButtonsAPI: boolean

Returns

Boolean

Remarks

If "true" use TJoystickButtons enumeration to check if a button is pressed. If "false" use buttons ID to check if a button is pressed.