mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-01-06 09:30:11 +01:00
test: check the pad button state in litest_is_pad_button_event
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
7fe7f50a37
commit
35421834c7
1 changed files with 2 additions and 0 deletions
|
|
@ -2768,6 +2768,8 @@ litest_is_pad_button_event(struct libinput_event *event,
|
|||
|
||||
litest_assert_int_eq(libinput_event_tablet_pad_get_button_number(p),
|
||||
button);
|
||||
litest_assert_int_eq(libinput_event_tablet_pad_get_button_state(p),
|
||||
state);
|
||||
|
||||
return p;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue