Example usage for Java android.view InputDevice fields, constructors, methods, implement or subclass
The text is from its open source code.
int | SOURCE_CLASS_BUTTON The input source has buttons or keys. |
int | SOURCE_CLASS_POINTER The input source is a pointing device associated with a display. |
int | SOURCE_CLASS_TRACKBALL The input source is a trackball navigation device. |
int | SOURCE_CLASS_POSITION The input source is an absolute positioning device not associated with a display (unlike #SOURCE_CLASS_POINTER ). |
int | SOURCE_CLASS_JOYSTICK The input source is a joystick. |
int | SOURCE_UNKNOWN The input source is unknown. |
int | SOURCE_KEYBOARD The input source is a keyboard. |
int | SOURCE_DPAD The input source is a DPad. |
int | SOURCE_GAMEPAD The input source is a game pad. |
int | SOURCE_TOUCHSCREEN The input source is a touch screen pointing device. |
int | SOURCE_MOUSE The input source is a mouse pointing device. |
int | SOURCE_STYLUS The input source is a stylus pointing device. |
int | SOURCE_TRACKBALL The input source is a trackball. |
int | SOURCE_TOUCHPAD The input source is a touch pad or digitizer tablet that is not associated with a display (unlike #SOURCE_TOUCHSCREEN ). |
int | SOURCE_TOUCH_NAVIGATION The input source is a touch device whose motions should be interpreted as navigation events. |
int | SOURCE_JOYSTICK The input source is a joystick. |
int | getControllerNumber() The controller number for a given input device. |
InputDevice | getDevice(int id) Gets information about the input device with the specified id. |
int[] | getDeviceIds() Gets the ids of all input devices in the system. |
int | getId() Gets the input device id. |
MotionRange | getMotionRange(int axis, int source) Gets information about the range of values for a particular MotionEvent axis used by a particular source on the device. |
List | getMotionRanges() Gets the ranges for all axes supported by the device. |
String | getName() Gets the name of this input device. |
int | getSources() Gets the input sources supported by this input device as a combined bitfield. |
Vibrator | getVibrator() Gets the vibrator service associated with the device, if there is one. |
boolean | isVirtual() Returns true if the device is a virtual input device rather than a real one, such as the virtual keyboard (see KeyCharacterMap#VIRTUAL_KEYBOARD ). |
String | toString() |