mirror of
https://gitlab.freedesktop.org/libinput/libei.git
synced 2026-06-05 06:58:19 +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). |
||
|---|---|---|
| .. | ||
| ei-debug-events.c | ||
| ei-demo-client.c | ||
| eis-demo-server-uinput.c | ||
| eis-demo-server.c | ||
| eis-demo-server.h | ||
| meson.build | ||
| oeffis-demo-tool.c | ||