Install properly on ubuntu20.04
This commit is contained in:
parent
c6da7d31d0
commit
fbbe396416
3 changed files with 4 additions and 12 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue