summaryrefslogtreecommitdiff
path: root/rcm-server-evdev.h
blob: e9baa6be2d34c08ecb0072539fa8dcf8b840c3d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#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