InputDeviceEvent

lumin. InputDeviceEvent

InputDeviceEvent - Input device event provides information when a device or it's data changes.

Extends

Methods

getDeviceId() → {number}

Returns:

The device Id

Type
number

getEventType() → {lumin.input.DeviceEventType}

Returns:

DeviceEventType which describes the type of event that occured.

Type
lumin.input.DeviceEventType

getPrismId() → {BigInt}

Inherited From:

Returns the Prism ID of the target Prism.

Returns:

the Prism ID of the target Prism.

Type
BigInt

getSource() → {lumin.input.EventSource}

Returns:

The device source

Type
lumin.input.EventSource

isConnected() → {boolean}

Returns:

true if the device is connected, otherwise false

Type
boolean

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

toString() → {string}

Inherited From:

Returns a string representation of this event for debug purposes.

Returns:
Type
string