mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-01-04 09:40:14 +01:00
test: start the pad button tests at BTN_0
Oops, we didn't actually check the button mapping for most pads... Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
b90e2e8c43
commit
8cf2b5f8a3
1 changed files with 1 additions and 1 deletions
|
|
@ -86,7 +86,7 @@ START_TEST(pad_button)
|
|||
|
||||
litest_drain_events(li);
|
||||
|
||||
for (code = BTN_LEFT; code < KEY_MAX; code++) {
|
||||
for (code = BTN_0; code < KEY_MAX; code++) {
|
||||
if (!libevdev_has_event_code(dev->evdev, EV_KEY, code))
|
||||
continue;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue