Install properly on ubuntu20.04

This commit is contained in:
loki
2020-05-03 23:58:32 +02:00
parent c6da7d31d0
commit fbbe396416
3 changed files with 4 additions and 12 deletions

View File

@@ -55,7 +55,7 @@ public:
}
int create_mouse() {
libevdev_uinput *buf;
libevdev_uinput *buf {};
int err = libevdev_uinput_create_from_device(mouse_dev.get(), LIBEVDEV_UINPUT_OPEN_MANAGED, &buf);
mouse_input.reset(buf);