Skip to main content

Class: InputContext

InkInput.InputContext(environment, sensorContext)

new InputContext(environment, sensorContext)

Parameters:
NameTypeDescription
environmentInkInput.Environment
sensorContextInkInput.SensorContext

Extends

Methods

addChannelsContext(channelsContext)

Associate channel group with underlying sensorContext

Parameters:
NameTypeDescription
channelsContextInkInput.SensorChannelsContextGrouping context

(static) createDefaultInstance(environment, device, inkProvider) → InkInput.InputContext

Creates default input context instance

Parameters:
NameTypeDescription
environmentInkInput.Environment
deviceInkInput.InputDevice
inkProviderInkInput.InkInputProvider
Returns:

default instance

Type

InkInput.InputContext

Home