GdkinputSource
An enumeration describing the type of an input device in general terms.
Value | Symbolic name | Description |
  0 | 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.) |
  1 | Gdk::SOURCE_PEN | The device is a stylus of a graphics tablet or similar device. |
  2 | Gdk::SOURCE_ERASER | The device is an eraser. Typically, this would be the other end of a stylus on a graphics tablet. |
  3 | Gdk::SOURCE_CURSOR | The device is a graphics tablet "puck" or similar device. |