belongs to Maven artifact com.android.support:support-compat:28.0.0-alpha1
InputDeviceCompat
public
final
class
InputDeviceCompat
extends Object
java.lang.Object | |
↳ | android.support.v4.view.InputDeviceCompat |
Helper class for accessing values in InputDevice
.
Summary
Constants | |
---|---|
int |
SOURCE_ANY
A special input source constant that is used when filtering input devices to match devices that provide any type of input source. |
int |
SOURCE_CLASS_BUTTON
The input source has buttons or keys. |
int |
SOURCE_CLASS_JOYSTICK
The input source is a joystick. |
int |
SOURCE_CLASS_MASK
A mask for input source classes. |
int |
SOURCE_CLASS_NONE
The input source has no class. |
int |
SOURCE_CLASS_POINTER
The input source is a pointing device associated with a display. |
int |
SOURCE_CLASS_POSITION
The input source is an absolute positioning device not associated with a display
(unlike |
int |
SOURCE_CLASS_TRACKBALL
The input source is a trackball navigation device. |
int |
SOURCE_DPAD
The input source is a DPad. |
int |
SOURCE_GAMEPAD
The input source is a game pad. |
int |
SOURCE_HDMI
The input source is a device connected through HDMI-based bus. |
int |
SOURCE_JOYSTICK
The input source is a joystick. |
int |
SOURCE_KEYBOARD
The input source is a keyboard. |
int |
SOURCE_MOUSE
The input source is a mouse pointing device. |
int |
SOURCE_ROTARY_ENCODER
The input source is a rotating encoder device whose motions should be interpreted as akin to those of a scroll wheel. |
int |
SOURCE_STYLUS
The input source is a stylus pointing device. |
int |
SOURCE_TOUCHPAD
The input source is a touch pad or digitizer tablet that is not
associated with a display (unlike |
int |
SOURCE_TOUCHSCREEN
The input source is a touch screen pointing device. |
int |
SOURCE_TOUCH_NAVIGATION
The input source is a touch device whose motions should be interpreted as navigation events. |
int |
SOURCE_TRACKBALL
The input source is a trackball. |
int |
SOURCE_UNKNOWN
The input source is unknown. |
Inherited methods | |
---|---|
![]()
java.lang.Object
|