libei/test
Peter Hutterer c21bdbe036 eis: keep track of touch IDs and don't allow duplicate ones
A client sending duplicate touch IDs will be disconnected but
motion or end events for touches that no longer exist will be silently
ignored.

The tracking state uses a uint64_t to store currently valid touch ids -
since the whole range of touch ids are uint32_t (including zero) this is
the simple way of using an out-of-range marker value (UINT64_MAX)
2025-12-16 10:34:20 +10:00
..
templates test: drop a bunch of unused imports 2023-02-15 08:20:01 +10:00
buildtest.c Purge libreis from the repo 2023-02-09 11:48:28 +10:00
buildtest.cc test: make the c++ build test mirror the c build test 2024-12-02 00:23:14 +00:00
conftest.py test: run pytest with xdist where available 2023-03-03 11:27:01 +10:00
eierpecken.c test: declare the need_frame check as part of the context 2025-12-15 05:29:54 +00:00
eierpecken.h test: declare the need_frame check as part of the context 2025-12-15 05:29:54 +00:00
eiproto.py.tmpl test: drop the use of attr 2024-12-10 05:06:49 +00:00
meson.build meson.build: apply consistent indentation 2025-11-06 10:56:01 +10:00
test-ei-device.c eis: quietly ignore double key presses and releases 2025-12-16 10:34:20 +10:00
test-ei-seat.c ei: add EI_EVENT_SYNC as opaque event to correctly schedule callbacks 2024-12-18 04:30:01 +00:00
test-ei.c test: declare the need_frame check as part of the context 2025-12-15 05:29:54 +00:00
test-eis.c test: declare the need_frame check as part of the context 2025-12-15 05:29:54 +00:00
test-main.c Remove empty trailing newlines from all files 2023-03-13 08:52:08 +10:00
test_oeffis.py test: rename a variable to shut up ruff with default args 2024-12-10 05:06:49 +00:00
test_protocol.py eis: keep track of touch IDs and don't allow duplicate ones 2025-12-16 10:34:20 +10:00
test_scanner.py Reformat for ruff 0.9 2025-02-03 13:17:34 +10:00
unit-tests.c Add SPDX identifiers to all source files 2022-03-03 00:27:36 +00:00