:right-sidebar: True InputSource =================================================================== .. currentmodule:: gi.repository.Gdk .. class:: InputSource :no-contents-entry: An enumeration describing the type of an input device in general terms. Fields ------ .. rst-class:: interim-class .. class:: InputSource :no-index: .. attribute:: KEYBOARD The device is a keyboard. .. attribute:: MOUSE The device is a mouse. (This will be reported for the core pointer, even if it is something else, such as a trackball.) .. attribute:: PEN The device is a stylus of a graphics tablet or similar device. .. attribute:: TABLET_PAD The device is a "pad", a collection of buttons, rings and strips found in drawing tablets .. attribute:: TOUCHPAD The device is an indirect touch device, such as a touchpad .. attribute:: TOUCHSCREEN The device is a direct-input touch device, such as a touchscreen or tablet .. attribute:: TRACKPOINT The device is a trackpoint