Class: InputContext
InkInput.InputContext(environment, sensorContext)
new InputContext(environment, sensorContext)
Parameters:
Name | Type | Description |
---|---|---|
environment | InkInput.Environment | |
sensorContext | InkInput.SensorContext |
Extends
Methods
addChannelsContext(channelsContext)
Associate channel group with underlying sensorContext
Parameters:
Name | Type | Description |
---|---|---|
channelsContext | InkInput.SensorChannelsContext | Grouping context |
(static) createDefaultInstance(environment, device, inkProvider) → InkInput.InputContext
Creates default input context instance
Parameters:
Name | Type | Description |
---|---|---|
environment | InkInput.Environment | |
device | InkInput.InputDevice | |
inkProvider | InkInput.InkInputProvider |
Returns:
default instance
Type