Fix tests build, provide mocks for libinput functions
This commit is contained in:
parent
617651d93e
commit
199860a007
1 changed files with 14 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue