Implements KeyboardEventCheckTest for libinput haltests
authordyamy-lee <dyamy.lee@samsung.com>
Wed, 21 Apr 2021 07:48:43 +0000 (16:48 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Tue, 4 Feb 2025 10:03:45 +0000 (19:03 +0900)
commit741e1870dad177ea7f30be2504261a06321409b6
tree3decd9c1cfc09698314417761cde4538b0c3c8d1
parent2798aad6a215d9b73072a621367dbd62c6a46c7a
Implements KeyboardEventCheckTest for libinput haltests

It's same way of checking MouseEventCheckTest.
For test, get lists of libinput devices and check validation of created keyboard event.
It generates libinput keyboard event and saves sequencely. For example, key down, up, key down up.
It checkes devices capability which is keyboard, and checkes matching of events. If one of them checked successfully same events as created events, other keyboard devices can be skipped.

Change-Id: I8d20d9c324331c759bcce8a14096819b681e36ff
haltests/test_hal_libinput.cpp
haltests/test_hal_libinput_eventgen.cpp
haltests/test_hal_libinput_eventgen.h
haltests/test_hal_libinput_info.cpp
haltests/test_hal_libinput_info.h