Device Status events

<< Click to Display Table of Contents >>

Navigation:  Callbacks > Global events >

Device Status events

Usage (gig file script only):

On DeviceStatusChanged(deviceName : String, connected : boolean, reserved integer)

    // Execute if Gig Performer detects that a USB MIDI device has disconnected or reconnected

End

 

This callback is called if Gig Performer detects that a MIDI Device was connected or disconnected. Be very careful how you use this, particularly if you are responding to a disconnect. Note that this callback does not occur immediately after a device is reconnected, it may take some time before Gig Performer detects that the device is present.