summaryrefslogtreecommitdiff
path: root/rcm-server-main.c
diff options
context:
space:
mode:
Diffstat (limited to 'rcm-server-main.c')
-rw-r--r--rcm-server-main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rcm-server-main.c b/rcm-server-main.c
index 990a964..28a1ff0 100644
--- a/rcm-server-main.c
+++ b/rcm-server-main.c
@@ -783,7 +783,7 @@ evdev_read(sd_event_source *s, int fd, uint32_t revents, void *userdata)
/* FIXME: protocol reporting needs kernel support */
if (scancode_recv)
- protocol = evdev_guess_protocol(device, scancode, lik ? lik->value : KEY_RESERVED);
+ protocol = evdev_guess_protocol(device, scancode, keycode ? keycode->value : KEY_RESERVED);
printf("evdev -");