summaryrefslogtreecommitdiff
path: root/src/backends/meta-input-settings-private.h
diff options
context:
space:
mode:
authorCarlos Garnacho <carlosg@gnome.org>2016-06-22 15:48:07 +0200
committerCarlos Garnacho <carlosg@gnome.org>2016-07-20 19:26:31 +0200
commitec2ab05d8eb31726353b123fd200b166799e7ec7 (patch)
tree4c17c8bf8c3cc168049cabbd94c8993f4959eb6d /src/backends/meta-input-settings-private.h
parent69955471fc7a3dd6828c78608b681b808949d9d6 (diff)
downloadmutter-ec2ab05d8eb31726353b123fd200b166799e7ec7.tar.gz
backends: Add function to retrieve the action mapped to an stylus button
This function will be useful for the wayland implementation, because buttons are mapped at the time of sending those through the wire. As x11/wayland implementations differ here, this function will be useful for the wayland implementation, as the action is handled lat
Diffstat (limited to 'src/backends/meta-input-settings-private.h')
-rw-r--r--src/backends/meta-input-settings-private.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/backends/meta-input-settings-private.h b/src/backends/meta-input-settings-private.h
index d8b8976c5..813108648 100644
--- a/src/backends/meta-input-settings-private.h
+++ b/src/backends/meta-input-settings-private.h
@@ -106,6 +106,10 @@ MetaInputSettings * meta_input_settings_get (void);
GDesktopTabletMapping meta_input_settings_get_tablet_mapping (MetaInputSettings *settings,
ClutterInputDevice *device);
+GDesktopStylusButtonAction meta_input_settings_get_stylus_button_action (MetaInputSettings *settings,
+ ClutterInputDeviceTool *tool,
+ ClutterInputDevice *current_device,
+ guint button);
#ifdef HAVE_LIBWACOM
WacomDevice * meta_input_settings_get_tablet_wacom_device (MetaInputSettings *settings,
ClutterInputDevice *device);