An enumeration describing the type of an input device in general terms.
GDK_SOURCE_MOUSE
the device is a mouse. (This will be reported for the core
pointer, even if it is something else, such as a trackball.)
GDK_SOURCE_PEN
the device is a stylus of a graphics tablet or similar device.
GDK_SOURCE_ERASER
the device is an eraser. Typically, this would be the other end
of a stylus on a graphics tablet.
GDK_SOURCE_CURSOR
the device is a graphics tablet "puck" or similar device.
GDK_SOURCE_KEYBOARD
the device is a keyboard.
GDK_SOURCE_TOUCHSCREEN
the device is a direct-input touch device, such
as a touchscreen or tablet. This device type has been added in 3.4.
GDK_SOURCE_TOUCHPAD
the device is an indirect touch device, such
as a touchpad. This device type has been added in 3.4.
An enumeration describing the type of an input device in general terms. GDK_SOURCE_MOUSE the device is a mouse. (This will be reported for the core pointer, even if it is something else, such as a trackball.) GDK_SOURCE_PEN the device is a stylus of a graphics tablet or similar device. GDK_SOURCE_ERASER the device is an eraser. Typically, this would be the other end of a stylus on a graphics tablet. GDK_SOURCE_CURSOR the device is a graphics tablet "puck" or similar device. GDK_SOURCE_KEYBOARD the device is a keyboard. GDK_SOURCE_TOUCHSCREEN the device is a direct-input touch device, such as a touchscreen or tablet. This device type has been added in 3.4. GDK_SOURCE_TOUCHPAD the device is an indirect touch device, such as a touchpad. This device type has been added in 3.4.