test: mark the tablets that require forced prox out as such

Because certain things are hard to test when you have to guess whether a
tablet has forced proximity out or not. Currently unused, see future patches.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer 2020-02-06 18:51:09 +10:00
parent 0dcb02d369
commit eb085bddec
4 changed files with 4 additions and 3 deletions

View file

@ -141,7 +141,7 @@ static int events[] = {
TEST_DEVICE("aiptek-tablet",
.type = LITEST_AIPTEK,
.features = LITEST_TABLET | LITEST_HOVER,
.features = LITEST_TABLET | LITEST_HOVER | LITEST_FORCED_PROXOUT,
.interface = &interface,
.name = "Aiptek",

View file

@ -90,7 +90,7 @@ static int events[] = {
TEST_DEVICE("huion-tablet",
.type = LITEST_HUION_TABLET,
.features = LITEST_TABLET | LITEST_HOVER,
.features = LITEST_TABLET | LITEST_HOVER | LITEST_FORCED_PROXOUT,
.interface = &interface,
.name = "HUION PenTablet Pen",

View file

@ -88,7 +88,7 @@ static int events[] = {
TEST_DEVICE("uclogic-tablet",
.type = LITEST_UCLOGIC_TABLET,
.features = LITEST_TABLET | LITEST_HOVER,
.features = LITEST_TABLET | LITEST_HOVER | LITEST_FORCED_PROXOUT,
.interface = &interface,
.name = "uclogic PenTablet Pen",

View file

@ -340,6 +340,7 @@ enum litest_device_type {
#define LITEST_TOOL_MOUSE bit(29)
#define LITEST_DIRECT bit(30)
#define LITEST_TOTEM bit(31)
#define LITEST_FORCED_PROXOUT bit(32)
/* this is a semi-mt device, so we keep track of the touches that the tests
* send and modify them so that the first touch is always slot 0 and sends