test: add a LITEST_DIRECT feature for the wacom cintiqs

Currently unused, but will be used in later patches

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer 2019-01-08 15:37:52 +10:00
parent ab1dbcc996
commit 794bff8af0
5 changed files with 5 additions and 4 deletions

View file

@ -139,7 +139,7 @@ static int events[] = {
TEST_DEVICE("wacom-cintiq-tablet",
.type = LITEST_WACOM_CINTIQ,
.features = LITEST_TABLET | LITEST_DISTANCE | LITEST_TOOL_SERIAL | LITEST_TILT,
.features = LITEST_TABLET | LITEST_DISTANCE | LITEST_TOOL_SERIAL | LITEST_TILT | LITEST_DIRECT,
.interface = &interface,
.name = "Wacom Cintiq 12WX",

View file

@ -137,7 +137,7 @@ static const char udev_rule[] =
TEST_DEVICE("wacom-cintiq-13hdt-pen-tablet",
.type = LITEST_WACOM_CINTIQ_13HDT_PEN,
.features = LITEST_TABLET | LITEST_DISTANCE | LITEST_TOOL_SERIAL | LITEST_TILT,
.features = LITEST_TABLET | LITEST_DISTANCE | LITEST_TOOL_SERIAL | LITEST_TILT | LITEST_DIRECT,
.interface = &interface,
.name = "Wacom Cintiq 13 HD touch Pen",

View file

@ -128,7 +128,7 @@ static int events[] = {
TEST_DEVICE("wacom-cintiq-24hd-tablet",
.type = LITEST_WACOM_CINTIQ_24HD,
.features = LITEST_TABLET | LITEST_DISTANCE | LITEST_TOOL_SERIAL | LITEST_TILT,
.features = LITEST_TABLET | LITEST_DISTANCE | LITEST_TOOL_SERIAL | LITEST_TILT | LITEST_DIRECT,
.interface = &interface,
.name = "Wacom Cintiq 24 HD Pen",

View file

@ -143,7 +143,7 @@ static const char udev_rule[] =
TEST_DEVICE("wacom-cintiq-pro16-pen",
.type = LITEST_WACOM_CINTIQ_PRO16_PEN,
.features = LITEST_TABLET | LITEST_DISTANCE | LITEST_TOOL_SERIAL | LITEST_TILT,
.features = LITEST_TABLET | LITEST_DISTANCE | LITEST_TOOL_SERIAL | LITEST_TILT | LITEST_DIRECT,
.interface = &interface,
.name = "Wacom Cintiq Pro 16 Pen",

View file

@ -328,6 +328,7 @@ enum litest_device_feature {
LITEST_IGNORED = 1 << 27,
LITEST_NO_DEBOUNCE = 1 << 28,
LITEST_TOOL_MOUSE = 1 << 29,
LITEST_DIRECT = 1 << 30,
};
/* this is a semi-mt device, so we keep track of the touches that the tests