DLKeyboardMgr
Summary
The DLKeyboardMgr namespace handles the configuration and use of the physical triggers. The interface described here is found in dl_keyboard.js
.
Functions
Function | Description |
---|---|
enableTriggers | Enable/disable all physical triggers on the device. |
Constants
Constants | Description |
---|---|
DL_KEYBOARD_MGR_VER | The version of DLKeyboardMgr. |
Functions
enableTriggers
enableTriggers(enable: boolean): boolean
Enable/disable all physical triggers on the device.
Parameters
- enable: Set true to enable all triggers, false to disable them.
Returns
True if the trigger changes were successful.
Example
if (!DLKeyboardMgr.enableTriggers(false)) {
alert("Error disabling all triggers.");
}
Constants
DL_KEYBOARD_MGR_VER
The version of the DLKeyboardMgr.