summaryrefslogtreecommitdiff
path: root/panels/wacom/cc-wacom-tool.c
Commit message (Collapse)AuthorAgeFilesLines
* wacom: Pick libwacom's Generic Pen stylus if tool ID is 0Carlos Garnacho2020-02-131-1/+4
| | | | | | We generally use tool ID 0 if the ID is actually unknown, libwacom however assigns 0xfffff to such device. Make it sure we find the "Generic Pen" stylus description in that case.
* wacom: Use g_auto for variablesRobert Ancell2019-09-091-2/+1
|
* wacom: Support the WSTYLUS_3D stylus typeJason Gerecke2018-01-301-0/+6
| | | | | | | | | Wacom's new "Pro Pen 3D" stylus is declared as a new stylus type within libwacom: WSTYLUS_3D. Now that the Wacom panel supports arbitrary three- button styli, we can add specific support for this new stylus type to suppress the warning message that is generated. https://bugzilla.gnome.org/show_bug.cgi?id=790028
* wacom: Add support for three-button styliJason Gerecke2018-01-301-3/+12
| | | | | | | Wacom has introduced its new "Pro Pen 3D" stylus which includes a third button. This commit adds support for arbitrary three-button styli. https://bugzilla.gnome.org/show_bug.cgi?id=790028
* wacom: Add CcWacomToolCarlos Garnacho2016-11-041-0/+292
Similar to CcWacomDevice vs GsdWacomDevice, CcWacomTool is meant to replace the GsdWacomStylus object. There is a substantial difference between these two objects, CcWacomTool offers constructor methods, it expects the caller to maintain lifetime otherwise. while GsdWacomStylus objects creation was rather fixed (GsdWacomDevice created all possible styli on initialization). This latter model doesn't help us use all the possibilities wrt wayland configurability.