Class

device/AbstractKey

(abstract) device/AbstractKey()

Constructor

# abstract new device/AbstractKey()

Abstract class for TV Key handling. All concrete TV Key handling should ultimately derived from this class.

Members

null | Object

# protected static _chars

KeyboardEvent.charCode to XDK virtual key data mapping. The keys of the object will be a character's unicode value, for example 38, and the values of the object will be an object like {id: "device:kb-vkey:&", text: "&"}. See module:device/key/keyMap for a few preset keyMap configuration.

Default Value:
  • null
See:
  • module:device/key/keyMap
null | Object

# protected static _keys

KeyboardEvent.keyCode to XDK virtual key data mapping. The keys of the object will be a keyboard keyCode, for example 38, and the values of the object will be an object like {id: "device:vkey:up"}. See module:device/key/keyMap for a few preset keyMap configuration.

Default Value:
  • null
See:
  • module:device/key/keyMap