The IPJOYSTICK object corresponds to the Control device object.

The IPJOYSTICK object sends events presented in the table. Procedure is started when the corresponding event appears.

Format of event procedure for the IPJOYSTICK object:


OnEvent("JOYSTICK","_id_","_event_")


Description of events of the IPJOYSTICK object.

Events

Parameter

Parameter description

"KEY_PRESSED" – Key pressed

button<>

The code of the key pressed