test: expand the tablet mode switch test to check for fake key releases
authorPeter Hutterer <peter.hutterer@who-t.net>
Fri, 14 Jul 2023 02:57:58 +0000 (12:57 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Sun, 16 Jul 2023 23:32:24 +0000 (09:32 +1000)
commit3fb876a49db2b4e5bd4547b4131d4c3561914bc9
treebfbc1fac0b472dd2bfbfce104b051f0ce35b7a56
parent9bd0604ea3c31da8326e29e0bd44fbeeecb0aafa
test: expand the tablet mode switch test to check for fake key releases

If a key is still down when the tablet mode switch goes on, make sure we
release the key before the switch goes in effect.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
test/litest.c
test/litest.h
test/test-switch.c