mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-05-09 04:48:02 +02: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",
|
TEST_DEVICE("aiptek-tablet",
|
||||||
.type = LITEST_AIPTEK,
|
.type = LITEST_AIPTEK,
|
||||||
.features = LITEST_TABLET | LITEST_HOVER,
|
.features = LITEST_TABLET | LITEST_HOVER | LITEST_FORCED_PROXOUT,
|
||||||
.interface = &interface,
|
.interface = &interface,
|
||||||
|
|
||||||
.name = "Aiptek",
|
.name = "Aiptek",
|
||||||
|
|
|
||||||
|
|
@ -90,7 +90,7 @@ static int events[] = {
|
||||||
|
|
||||||
TEST_DEVICE("huion-tablet",
|
TEST_DEVICE("huion-tablet",
|
||||||
.type = LITEST_HUION_TABLET,
|
.type = LITEST_HUION_TABLET,
|
||||||
.features = LITEST_TABLET | LITEST_HOVER,
|
.features = LITEST_TABLET | LITEST_HOVER | LITEST_FORCED_PROXOUT,
|
||||||
.interface = &interface,
|
.interface = &interface,
|
||||||
|
|
||||||
.name = "HUION PenTablet Pen",
|
.name = "HUION PenTablet Pen",
|
||||||
|
|
|
||||||
|
|
@ -88,7 +88,7 @@ static int events[] = {
|
||||||
|
|
||||||
TEST_DEVICE("uclogic-tablet",
|
TEST_DEVICE("uclogic-tablet",
|
||||||
.type = LITEST_UCLOGIC_TABLET,
|
.type = LITEST_UCLOGIC_TABLET,
|
||||||
.features = LITEST_TABLET | LITEST_HOVER,
|
.features = LITEST_TABLET | LITEST_HOVER | LITEST_FORCED_PROXOUT,
|
||||||
.interface = &interface,
|
.interface = &interface,
|
||||||
|
|
||||||
.name = "uclogic PenTablet Pen",
|
.name = "uclogic PenTablet Pen",
|
||||||
|
|
|
||||||
|
|
@ -340,6 +340,7 @@ enum litest_device_type {
|
||||||
#define LITEST_TOOL_MOUSE bit(29)
|
#define LITEST_TOOL_MOUSE bit(29)
|
||||||
#define LITEST_DIRECT bit(30)
|
#define LITEST_DIRECT bit(30)
|
||||||
#define LITEST_TOTEM bit(31)
|
#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
|
/* 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
|
* send and modify them so that the first touch is always slot 0 and sends
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue