summaryrefslogtreecommitdiff
path: root/include/evemu.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/evemu.h')
-rw-r--r--include/evemu.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/evemu.h b/include/evemu.h
index 52e4297..06431b6 100644
--- a/include/evemu.h
+++ b/include/evemu.h
@@ -192,6 +192,16 @@ void evemu_set_abs_minimum(struct evemu_device *dev, int code, int min);
int evemu_get_abs_maximum(const struct evemu_device *dev, int code);
/**
+ * evemu_get_abs_current() - get kernel current value of event type
+ * @dev: the device in use
+ * @code: the event type code to query
+ *
+ * Returns the current value of the specified event type.
+ */
+int evemu_get_abs_current_value(const struct evemu_device *dev, int code);
+
+
+/**
* evemu_set_abs_maximum() - set kernel maximum value of event type
*
* @dev: the device in use