Commit 199860a0 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧

Fix tests build, provide mocks for libinput functions

parent 617651d9
......@@ -922,3 +922,17 @@ libinput_device_tablet_pad_get_num_buttons(struct libinput_device *device)
{
return device->buttonCount;
}
struct libinput_device_group *
libinput_device_get_device_group(struct libinput_device *device)
{
Q_UNUSED(device);
return nullptr;
}
void *
libinput_device_group_get_user_data(struct libinput_device_group *group)
{
Q_UNUSED(group);
return nullptr;
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment