mirror of
https://gitlab.freedesktop.org/libinput/libei.git
synced 2026-04-21 11:20:41 +02:00
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). |
||
|---|---|---|
| .. | ||
| templates | ||
| buildtest.c | ||
| buildtest.cc | ||
| conftest.py | ||
| eierpecken.c | ||
| eierpecken.h | ||
| eiproto.py.tmpl | ||
| meson.build | ||
| test-ei-device.c | ||
| test-ei-seat.c | ||
| test-ei.c | ||
| test-eis.c | ||
| test-main.c | ||
| test_oeffis.py | ||
| test_protocol.py | ||
| unit-tests.c | ||