mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-05-09 08:18:02 +02:00
test: fix the wacom bamboo touch device
Missing buttons caused it to fail sanity checks in some cases.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
(cherry picked from commit 632b0f741b)
This commit is contained in:
parent
05eb41b8cc
commit
67312a7c4e
1 changed files with 4 additions and 2 deletions
|
|
@ -71,8 +71,10 @@ static struct input_id input_id = {
|
||||||
};
|
};
|
||||||
|
|
||||||
static int events[] = {
|
static int events[] = {
|
||||||
|
EV_KEY, BTN_TOOL_FINGER,
|
||||||
EV_KEY, BTN_TOUCH,
|
EV_KEY, BTN_TOUCH,
|
||||||
INPUT_PROP_MAX, INPUT_PROP_DIRECT,
|
EV_KEY, BTN_TOOL_DOUBLETAP,
|
||||||
|
INPUT_PROP_MAX, INPUT_PROP_POINTER,
|
||||||
-1, -1,
|
-1, -1,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -87,7 +89,7 @@ static const char udev_rule[] =
|
||||||
|
|
||||||
TEST_DEVICE("wacom-bamboo-2fg-finger",
|
TEST_DEVICE("wacom-bamboo-2fg-finger",
|
||||||
.type = LITEST_WACOM_BAMBOO_2FG_FINGER,
|
.type = LITEST_WACOM_BAMBOO_2FG_FINGER,
|
||||||
.features = LITEST_TOUCH,
|
.features = LITEST_TOUCHPAD,
|
||||||
.interface = &interface,
|
.interface = &interface,
|
||||||
|
|
||||||
.name = "Wacom Bamboo 2F 4x5 Finger",
|
.name = "Wacom Bamboo 2F 4x5 Finger",
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue