Keyboard Support

Contact and Search

Keyman.com Homepage

Header bottom

Keyman.com

Other versions
Version 8.0

Index

On this page

You are viewing documentation of version 8.0, which is not included in the latest version. Click here to open the index page for version 18.0.

Function: addHotKey

Add hot key handler to array of document-level hotkeys triggered by key-up event.

Parameters: Integer (keyCode), Integer (shiftState), function (handler)

Returns: Nothing

Note: shiftState is a bitwise combination of SHIFT (0x10), CTRL (0x20) and ALT (0x40). Left/right modifier key distinctions are not supported for hotkey handling.