summaryrefslogtreecommitdiff
path: root/test/litest-int.h
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2015-07-14 13:13:11 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2015-07-14 13:13:11 +1000
commit9e705bf33400a6cc3ccd0fa0fc80c243a7aeb3b4 (patch)
tree7a381c7c2063e978821f7849e604b54d9528e0d9 /test/litest-int.h
parentbfce05db05265a7ebac5d050a8ff1beb7e81543d (diff)
parent8658ff159d416b6a567acb2aaf72b27887ad8576 (diff)
Merge branch 'master' into tablet-support
Diffstat (limited to 'test/litest-int.h')
-rw-r--r--test/litest-int.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/litest-int.h b/test/litest-int.h
index e6fcaabc..42c5474b 100644
--- a/test/litest-int.h
+++ b/test/litest-int.h
@@ -80,6 +80,12 @@ struct litest_device_interface {
void (*touch_up)(struct litest_device *d, unsigned int slot);
/**
+ * Default value for the given EV_ABS axis.
+ * @return 0 on success, nonzero otherwise
+ */
+ int (*get_axis_default)(struct litest_device *d, unsigned int code, int32_t *value);
+
+ /**
* Set of of events to execute on touch down, terminated by a .type
* and .code value of -1. If the event value is LITEST_AUTO_ASSIGN,
* it will be automatically assigned by the framework (valid for x,