diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2023-03-17 13:41:40 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2023-03-17 14:04:58 +1000 |
commit | 8b7320b8faa52bffa20e4e9b19310abbd59ade01 (patch) | |
tree | ee7d4a1492d03a8a4d699005fb93116f6d4e1d4e | |
parent | f1e93b5159a5e693be02418147369201e9909803 (diff) | |
download | libinput-8b7320b8faa52bffa20e4e9b19310abbd59ade01.tar.gz |
test: give the generic MT touchscreen realistic ranges
This way we can rely on physical coords on this screen being actually
meaningful. Not currently in use but future tests will use this touch
device as generic screen.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r-- | test/litest-device-touch-screen.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/litest-device-touch-screen.c b/test/litest-device-touch-screen.c index 3cdbc2d4..95f6ec69 100644 --- a/test/litest-device-touch-screen.c +++ b/test/litest-device-touch-screen.c @@ -57,11 +57,11 @@ static struct litest_device_interface interface = { }; static struct input_absinfo absinfo[] = { - { ABS_X, 0, 1500, 0, 0, 0 }, - { ABS_Y, 0, 2500, 0, 0, 0 }, + { ABS_X, 0, 50000, 0, 0, 100 }, + { ABS_Y, 0, 33000, 0, 0, 100 }, { ABS_MT_SLOT, 0, 9, 0, 0, 0 }, - { ABS_MT_POSITION_X, 0, 1500, 0, 0, 0 }, - { ABS_MT_POSITION_Y, 0, 2500, 0, 0, 0 }, + { ABS_MT_POSITION_X, 0, 50000, 0, 0, 100 }, + { ABS_MT_POSITION_Y, 0, 33000, 0, 0, 100 }, { ABS_MT_ORIENTATION, -256, 255, 0, 0, 0 }, { ABS_MT_TOUCH_MAJOR, 0, 255, 1, 0, 0 }, { ABS_MT_TOUCH_MINOR, 0, 255, 1, 0, 0 }, |