summaryrefslogtreecommitdiff
path: root/src/gwacom/wacom-device.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gwacom/wacom-device.h')
-rw-r--r--src/gwacom/wacom-device.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/gwacom/wacom-device.h b/src/gwacom/wacom-device.h
index 3ada1dd..546fd9f 100644
--- a/src/gwacom/wacom-device.h
+++ b/src/gwacom/wacom-device.h
@@ -197,6 +197,16 @@ WacomToolType wacom_device_get_tool_type(WacomDevice *device);
*/
WacomOptions *wacom_device_get_options(WacomDevice *device);
+/**
+ * wacom_device_set_runtime_option:
+ *
+ * Some options like button actions are runtime-only and cannot be set through.
+ * WacomOptionx (which maps to the xorg.conf support of the driver).
+ * This is a hack to set some of those options, however the options
+ * and values supported are very specific to the implementation.
+ */
+void wacom_device_set_runtime_option(WacomDevice *device, const char *name, const char *value);
+
/* The following getters are only available after wacom_device_setup() */
int wacom_device_get_num_buttons(WacomDevice *device);