Value | Meaning |
---|---|
AINPUT_SOURCE_CLASS_MASK255 | mask |
AINPUT_SOURCE_CLASS_NONE0 | none |
AINPUT_SOURCE_CLASS_BUTTON1 | button |
AINPUT_SOURCE_CLASS_POINTER2 | pointer |
AINPUT_SOURCE_CLASS_NAVIGATION4 | navigation |
AINPUT_SOURCE_CLASS_POSITION8 | position |
AINPUT_SOURCE_CLASS_JOYSTICK16 | joystick |
Input source masks.
Refer to the documentation on android.view.InputDevice for more details about input sources and their correct interpretation.