mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2025-12-24 08:50:20 +01: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>
This commit is contained in:
parent
803a99ac05
commit
632b0f741b
1 changed files with 4 additions and 2 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue