TGamolfCustomJoystickService.isPressed Method

Check if button "ButtonID" from controller "JoystickID" is pressed or not

Unit: Gamolf.RTL.Joystick
function isPressed(JoystickID: byte; ButtonID: byte): boolean

Parameters

JoystickID
Type: System.Byte

ButtonID
Type: System.Byte

Return Value

Type: System.Boolean

 

Implements

Gamolf.RTL.Joystick.IGamolfJoystickService.isPressed