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

void evdev_close(struct device *device);

#endif