InputSource

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

Entries

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

the device is a keyboard.

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

the device is a trackpoint

Link copied to clipboard

the device is a "pad", a collection of buttons, rings and strips found in drawing tablets

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
val nativeValue: <Error class: unknown class>
Link copied to clipboard

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.