Commit 67312a7c authored by Peter Hutterer's avatar Peter Hutterer

test: fix the wacom bamboo touch device

Missing buttons caused it to fail sanity checks in some cases.
Signed-off-by: Peter Hutterer's avatarPeter Hutterer <peter.hutterer@who-t.net>
(cherry picked from commit 632b0f74)
parent 05eb41b8
......@@ -71,8 +71,10 @@ static struct input_id input_id = {
};
static int events[] = {
EV_KEY, BTN_TOOL_FINGER,
EV_KEY, BTN_TOUCH,
INPUT_PROP_MAX, INPUT_PROP_DIRECT,
EV_KEY, BTN_TOOL_DOUBLETAP,
INPUT_PROP_MAX, INPUT_PROP_POINTER,
-1, -1,
};
......@@ -87,7 +89,7 @@ static const char udev_rule[] =
TEST_DEVICE("wacom-bamboo-2fg-finger",
.type = LITEST_WACOM_BAMBOO_2FG_FINGER,
.features = LITEST_TOUCH,
.features = LITEST_TOUCHPAD,
.interface = &interface,
.name = "Wacom Bamboo 2F 4x5 Finger",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment