The JOYSTICK object does not correspond to any system object.

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

Format of event procedure for the JOYSTICK object:

 

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

 

Description of events of the JOYSTICK object.

Events

Parameter

Parameter description

"KEY_PRESSED" – Key pressed

button<>

The code of the key pressed