Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
KWin
Commits
199860a0
Commit
199860a0
authored
Jan 07, 2021
by
Aleix Pol Gonzalez
🐧
Browse files
Fix tests build, provide mocks for libinput functions
parent
617651d9
Changes
1
Hide whitespace changes
Inline
Side-by-side
autotests/libinput/mock_libinput.cpp
View file @
199860a0
...
...
@@ -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
;
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment