summaryrefslogtreecommitdiff
path: root/rcm-server-evdev.h
blob: 80d985f3ef8dfa81013cb886c4765e291072b4cb (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 rc_device *rcdev, unsigned protocol,
		      uint64_t scancode, struct linux_input_keycode *lik);

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 rc_device *rcdev, const char *path);

void evdev_close(struct rc_device *rcdev);

#endif