Skip to main content

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

FunctionDescription
enableTriggersEnable/disable all physical triggers on the device.

Constants

ConstantsDescription
DL_KEYBOARD_MGR_VERThe 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.