libei/test
Peter Hutterer da37da1308 ei: change the API to match the protocol interfaces closer
Now that the protocol interfaces are more fine-grained, let's match this
with the C API too.

This is just a rename of things so that in general
ei_pointer_*foo now becomes ei_foo*.

A few notable renames for better readability here:
- ei_device_scroll_delta (because scroll_scroll is awkward)
- ei_event_scroll_get_dx/dy and
  ei_event_scroll_get_discrete_dx/dy to indicate the delta-ness

Beyond that, clients must ensure to check/bind to the new
EI_DEVICE_CAP_BUTTON and EI_DEVICE_CAP_SCROLL capabilities to be able
to send button or scroll events.

Note that this API now allows for an EIS implementation to send a device
that only has a button or a scroll cap. Or a pointer cap without
buttons, etc. It's up to the clients how to handle such devices
(probably: ignore them).
2023-05-05 14:02:33 +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 Add C++ header guards 2020-09-29 17:30:49 +10:00
conftest.py test: run pytest with xdist where available 2023-03-03 11:27:01 +10:00
eierpecken.c ei: change the API to match the protocol interfaces closer 2023-05-05 14:02:33 +10:00
eierpecken.h ei: change the API to match the protocol interfaces closer 2023-05-05 14:02:33 +10:00
eiproto.py.tmpl protocol: replace the capabilities enum with an interface list 2023-05-02 05:53:25 +00:00
meson.build scanner: add the protocol name so we can compile some #defines 2023-04-06 13:57:20 +10:00
test-ei-device.c ei: change the API to match the protocol interfaces closer 2023-05-05 14:02:33 +10:00
test-ei-seat.c Remove empty trailing newlines from all files 2023-03-13 08:52:08 +10:00
test-ei.c Purge the properties from the protocol 2023-02-09 11:48:29 +10:00
test-eis.c Remove the public API to query the client version number 2023-02-13 13:55:44 +10:00
test-main.c Remove empty trailing newlines from all files 2023-03-13 08:52:08 +10:00
test_oeffis.py test: if we fail to load liboeffis.so, skip the rest of the pytests 2023-04-06 12:04:51 +10:00
test_protocol.py protocol: replace the capabilities enum with an interface list 2023-05-02 05:53:25 +00:00
unit-tests.c Add SPDX identifiers to all source files 2022-03-03 00:27:36 +00:00