summaryrefslogtreecommitdiff
path: root/rcm-server-evdev.h
diff options
context:
space:
mode:
authorDavid Härdeman <david@hardeman.nu>2017-04-18 22:54:54 +0200
committerDavid Härdeman <david@hardeman.nu>2017-04-18 22:54:54 +0200
commit927f0751fc8be8a71c2d8b255522259d01a7fcef (patch)
treea4f59932b9a4df5ecdcb26014fc30e74aae05866 /rcm-server-evdev.h
parent0c5c949451f6f8f71e4489db19390ba6f931e2af (diff)
Rename struct device to struct rc_device
Diffstat (limited to 'rcm-server-evdev.h')
-rw-r--r--rcm-server-evdev.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/rcm-server-evdev.h b/rcm-server-evdev.h
index a2f4283..80d985f 100644
--- a/rcm-server-evdev.h
+++ b/rcm-server-evdev.h
@@ -1,15 +1,15 @@
#ifndef foorcmserverevdevhfoo
#define foorcmserverevdevhfoo
-int evdev_set_mapping(struct device *device, unsigned protocol,
+int evdev_set_mapping(struct rc_device *rcdev, unsigned protocol,
uint64_t scancode, struct linux_input_keycode *lik);
-int evdev_get_mapping(struct device *device, unsigned index, unsigned *ret_protocol,
+int evdev_get_mapping(struct rc_device *rcdev, unsigned index, unsigned *ret_protocol,
uint64_t *ret_scancode, struct linux_input_keycode **ret_lik);
-int evdev_setup(struct device *device, const char *path);
+int evdev_setup(struct rc_device *rcdev, const char *path);
-void evdev_close(struct device *device);
+void evdev_close(struct rc_device *rcdev);
#endif