mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-02-03 18:10:28 +01:00
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:
parent
0dcb02d369
commit
eb085bddec
4 changed files with 4 additions and 3 deletions
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue