Details
An enumeration describing the type of an input device in general terms.
(define-g-enum "GdkInputSource" gdk-input-source
(:export t
:type-initializer "gdk_input_source_get_type")
:mouse
:pen
:eraser
:cursor
:keyboard
:touchscreen
:touchpad
:trackpoint
:tablet-pad) - :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.
- :eraser
- The device is an eraser. Typically, this would be the other end of a stylus on a graphics tablet.
- :cursor
- The device is a graphics tablet "puck" or similar device.
- :keyboard
- The device is a keyboard.
- :touchscreen
- The device is a direct-input touch device, such as a touchscreen or tablet. This device type has been added in 3.4.
- :touchpad
- The device is an indirect touch device, such as a touchpad. This device type has been added in 3.4.
- :trackpoint
- The device is a trackpoint. This device type has been added in 3.22.
- :tablet-pad
- 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.
|
| See also |