There are a number of properties that can be specified for an input device.
| Property | Type | Value |
|---|---|---|
audio.mic | boolean (0 or 1) | A boolean represented numerically that indicates whether the device has a microphone. |
device.additionalSysfsLedsNode | string | A string representing the path to search for device lights to be used in addition to searching the device node itself for lights. |
device.internal | boolean (0 or 1) | A boolean represented numerically that indicates if this input device is part of the device as opposed to be externally attached. |
device.type | string | A string representing if the device is of a certain type. Valid values are: - rotaryEncoder- externalStylus |
device.wake | boolean (0 or 1) | A boolean that indicates if the device should wake the screen when an event is received. |
device.res | float | Ticks per radian for rotary encoders. |
device.scalingFactor | float | A scaling factor to reduce unintentional flings for rotary encoders. |
rotary_encoder.slop_threshold | float | Slop threshold for rotary encoder. |
rotary_encoder.slop_duration_ms | integer | Slop duration in milliseconds for rotary encoder. |
rotary_encoder.min_rotations_to_log | float | Minimum number of rotations to log for telemetry. |
device.viewBehavior_smoothScroll | boolean (0 or 1) | A boolean that indicates if scrolling from the device should be smooth. |
device.viewBehavior_primaryDirectionalMotionAxis | string | A string representing the primary directional motion axis for the device, parsed using MotionEvent::getAxisFromLabel. Example valid values include “X”, “Y”, and “HAT_X”. |