KeyInputEventData

lumin. KeyInputEventData

KeyInputEventData - Key input event

Extends

Methods

getDeviceId() → {number}

Inherited From:
Returns:

The device Id

Type
number

getEventSource() → {lumin.input.EventSource}

Inherited From:
Returns:

The event source

Type
lumin.input.EventSource

getEventType() → {lumin.input.EventType}

Inherited From:
Returns:

The event type

Type
lumin.input.EventType

getPrismId() → {number}

Inherited From:

Returns the Prism ID of the target Prism.

Returns:

the Prism ID of the target Prism.

Type
number

isInputEventType() → {boolean}

Inherited From:

Returns true if this is an input event (a subclass of InputEventData).

Returns:

true if this is an input event

Type
boolean

keyCode() → {lumin.input.KeyCodes}

Returns:

The key code
Key code identifies the key value for keyboard, buttons etc
it is one of the type: AKEYCODE_XXX.
Refer to keycodes.h in android tree.

Type
lumin.input.KeyCodes

keyVal() → {number}

Returns:

The key value

Type
number

metaKeys() → {number}

Returns:

The meta key flag (for Control, Shift, Alt, etc.)

Type
number

toString() → {string}

Inherited From:

Returns a string representation of this event for debug purposes.

Returns:
Type
string