The IPJOYSTICK object corresponds to the Control device object.

The IPJOYSTICK object sends the events presented in the table. The procedure is started when the corresponding event occurs.

The format of the event procedure for the IPJOYSTICK object:


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


Description of the events of the IPJOYSTICK object.

Events

Parameter

Parameter description

"KEY_PRESSED"Key pressed

button<>

The code of the key