summaryrefslogtreecommitdiff
path: root/rcm-server-evdev.h
diff options
context:
space:
mode:
Diffstat (limited to 'rcm-server-evdev.h')
-rw-r--r--rcm-server-evdev.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/rcm-server-evdev.h b/rcm-server-evdev.h
index 2a38852..e9baa6b 100644
--- a/rcm-server-evdev.h
+++ b/rcm-server-evdev.h
@@ -1,6 +1,12 @@
#ifndef foorcmserverevdevhfoo
#define foorcmserverevdevhfoo
+int evdev_set_mapping(struct device *device, unsigned protocol,
+ uint64_t scancode, struct linux_input_keycode *lik);
+
+int evdev_get_mapping(struct device *device, unsigned index, unsigned *ret_protocol,
+ uint64_t *ret_scancode, struct linux_input_keycode **ret_lik);
+
int evdev_setup(struct device *device, const char *path);
#endif