Use the [Sglw2hcm] section of the global.ini file to define the custom events that are fired when you are using the <PARAM NAME="LocalLaunch" VALUE="Desktop"> setting.
For more information on the LocalLaunch parameter, refer to Universal parameters.
By default, all of the events are disabled:
[Sglw2hcm] FireCustomEvents=0
Defines the events to fire.
To enable a single event, enter the event’s value. For example, to fire the KeyboardLock event, type FireCustomEvents=256.
To enable multiple events, add the events’ values together and enter the sum. For example, to fire the AfterConnect and BeforeDisconnect events, type FireCustomEvents=2052.
Event | Value | Description |
---|---|---|
None | 0 | No events are fired. |
KeyDown | 1 | Fires when a key is pressed down in the BlueZone session. |
KeyUp | 2 | Fires when a key is let up in the BlueZone session. |
AfterConnect | 4 | Fires after the BlueZone session connects to the host system. |
AfterDisconnect | 8 | Fires after the BlueZone session disconnects from the host system. |
CursorMove | 16 | Fires when the cursor position changes in the BlueZone session. |
ReadyToSend | 32 | Fires when the keyboard lock state changes in the BlueZone session. |
Click | 64 | Fires when a mouse button is clicked in the BlueZone session. |
HostScreenChange | 128 | Fires when the screen changes in the BlueZone session. |
KeyboardLock | 256 | Fires when the keyboard lock state changes in the BlueZone session. |
BeforeConnect | 512 | Fires before the BlueZone session connects to the host system. |
EndOfData | 1024 | Fires when the host system stops sending data to the BlueZone session. |
BeforeDisconnect | 2048 | Fires before the BlueZone session disconnects from the host system. |
Resize | 4096 | Fires when the BlueZone session window is resized. |
KeyPress | 8192 | Fires when a key is pressed in the BlueZone session. |
OnBlueZoneEvent | 16384 | Fires when an event occurs that was defined using the OnEvent() method. |
All events | -1 | Fires all events. |