-
Cast constructor, converting any binary integer to a
InputSource.Declaration
Swift
@inlinable init!<I>(_ raw: I) where I : BinaryIntegerParameters
rawThe raw integer value to initialise the enum from
-
the device is a mouse. (This will be reported for the core pointer, even if it is something else, such as a trackball.)
Declaration
Swift
static let mouse: GdkInputSource -
the device is a stylus of a graphics tablet or similar device.
Declaration
Swift
static let pen: GdkInputSource -
the device is an eraser. Typically, this would be the other end of a stylus on a graphics tablet.
Declaration
Swift
static let eraser: GdkInputSource -
the device is a graphics tablet “puck” or similar device.
Declaration
Swift
static let cursor: GdkInputSource -
the device is a keyboard.
Declaration
Swift
static let keyboard: GdkInputSource -
the device is a direct-input touch device, such as a touchscreen or tablet. This device type has been added in 3.4.
Declaration
Swift
static let touchscreen: GdkInputSource -
the device is an indirect touch device, such as a touchpad. This device type has been added in 3.4.
Declaration
Swift
static let touchpad: GdkInputSource -
the device is a trackpoint. This device type has been added in 3.22
Declaration
Swift
static let trackpoint: GdkInputSource -
the device is a “pad”, a collection of buttons, rings and strips found in drawing tablets. This device type has been added in 3.22.
Declaration
Swift
static let tabletPad: GdkInputSource
View on GitHub
Install in Dash
InputSource Extension Reference