InputSource#

class InputSource#

An enumeration describing the type of an input device in general terms.

Fields#

class InputSource
KEYBOARD#

The device is a keyboard.

MOUSE#

The device is a mouse. (This will be reported for the core pointer, even if it is something else, such as a trackball.)

PEN#

The device is a stylus of a graphics tablet or similar device.

TABLET_PAD#

The device is a “pad”, a collection of buttons, rings and strips found in drawing tablets

TOUCHPAD#

The device is an indirect touch device, such as a touchpad

TOUCHSCREEN#

The device is a direct-input touch device, such as a touchscreen or tablet

TRACKPOINT#

The device is a trackpoint