diff options
Diffstat (limited to 'rcm-server-evdev.c')
-rw-r--r-- | rcm-server-evdev.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/rcm-server-evdev.c b/rcm-server-evdev.c index afd89f7..1c04864 100644 --- a/rcm-server-evdev.c +++ b/rcm-server-evdev.c @@ -265,6 +265,7 @@ evdev_setup(struct device *device, const char *path) int r; struct keymap *keymap; + /* FIXME: Fixup error handling */ if (!device) return -EINVAL; @@ -281,6 +282,8 @@ evdev_setup(struct device *device, const char *path) return r; } + device->input_name = strdup(libevdev_get_name(device->evdev_dev)); + printf("Performing evdev setup for device %s (%s)\n", device->path, libevdev_get_name(device->evdev_dev)); r = evdev_clear_keymap(device); |