summaryrefslogtreecommitdiff
path: root/gtk/gtkpadcontroller.c
Commit message (Collapse)AuthorAgeFilesLines
* GtkPadController: Make ring/strip actions be activated with the axis valueCarlos Garnacho2016-08-231-1/+24
| | | | | | This way these axes may be used in detail by the implementors of pad GActions. https://bugzilla.gnome.org/show_bug.cgi?id=770026
* GtkPadController: Notify actions back to the windowing on waylandCarlos Garnacho2016-08-231-0/+30
| | | | | | | This allows applications to provide descriptions of the actions performed by each pad feature. pass the GtkPadActionEntry labels for this. https://bugzilla.gnome.org/show_bug.cgi?id=770026
* gtk: Add GtkPadControllerCarlos Garnacho2016-08-231-0/+467
This GdkEventController is a helper object to handle pad events, it allows setting a mapping to action names, to be triggered in the given action group. In order to help on places where advanced mapping/configurability of pad features is not desirable, this controller also allows passing a NULL pad device, meaning it will listen on all pads, and/or passing -1 on mode/index, so an action applies to all modes/features (eg. strips/rings). https://bugzilla.gnome.org/show_bug.cgi?id=770026