libei/src
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
..
brei-proto.h.tmpl Remove empty trailing newlines from all files 2023-03-13 08:52:08 +10:00
brei-shared.c test: cast the varargs to the right data size 2023-04-26 12:18:58 +10:00
brei-shared.h Check incoming ids for validity 2023-03-03 11:27:01 +10:00
ei-proto.c.tmpl Remove empty trailing newlines from all files 2023-03-13 08:52:08 +10:00
ei-proto.h.tmpl protocol: replace the capabilities enum with an interface list 2023-05-02 05:53:25 +00:00
libei-button.c Split the ei_pointer interface up into its components 2023-05-02 05:53:25 +00:00
libei-button.h Split the ei_pointer interface up into its components 2023-05-02 05:53:25 +00:00
libei-callback.c Switch object ids to use the object_id_t typedef 2023-03-03 11:27:01 +10:00
libei-callback.h Switch object ids to use the object_id_t typedef 2023-03-03 11:27:01 +10:00
libei-connection.c Switch object ids to use the object_id_t typedef 2023-03-03 11:27:01 +10:00
libei-connection.h Switch object ids to use the object_id_t typedef 2023-03-03 11:27:01 +10:00
libei-device.c ei: change the API to match the protocol interfaces closer 2023-05-05 14:02:33 +10:00
libei-device.h protocol: replace the capabilities enum with an interface list 2023-05-02 05:53:25 +00:00
libei-event.c ei: change the API to match the protocol interfaces closer 2023-05-05 14:02:33 +10:00
libei-event.h ei: divide the headers up across multiple files 2023-02-13 14:01:08 +10:00
libei-fd.c ei: rename ei_set_connection to ei_set_socket 2023-03-03 11:20:42 +10:00
libei-handshake.c Split the ei_pointer interface up into its components 2023-05-02 05:53:25 +00:00
libei-handshake.h Switch object ids to use the object_id_t typedef 2023-03-03 11:27:01 +10:00
libei-keyboard.c Switch object ids to use the object_id_t typedef 2023-03-03 11:27:01 +10:00
libei-keyboard.h Switch object ids to use the object_id_t typedef 2023-03-03 11:27:01 +10:00
libei-log.c util: rename xvasprintf to xvaprintf 2023-02-16 15:29:18 +10:00
libei-pingpong.c Switch object ids to use the object_id_t typedef 2023-03-03 11:27:01 +10:00
libei-pingpong.h Switch object ids to use the object_id_t typedef 2023-03-03 11:27:01 +10:00
libei-pointer-absolute.c Split the ei_pointer interface up into its components 2023-05-02 05:53:25 +00:00
libei-pointer-absolute.h Split the ei_pointer interface up into its components 2023-05-02 05:53:25 +00:00
libei-pointer.c Switch object ids to use the object_id_t typedef 2023-03-03 11:27:01 +10:00
libei-pointer.h Switch object ids to use the object_id_t typedef 2023-03-03 11:27:01 +10:00
libei-private.h Split the ei_pointer interface up into its components 2023-05-02 05:53:25 +00:00
libei-region.c util-object: split macro to generate unref into one two 2022-03-03 05:41:15 +00:00
libei-region.h Remove empty trailing newlines from all files 2023-03-13 08:52:08 +10:00
libei-scroll.c Split the ei_pointer interface up into its components 2023-05-02 05:53:25 +00:00
libei-scroll.h Split the ei_pointer interface up into its components 2023-05-02 05:53:25 +00:00
libei-seat.c ei: change the API to match the protocol interfaces closer 2023-05-05 14:02:33 +10:00
libei-seat.h protocol: replace the capabilities enum with an interface list 2023-05-02 05:53:25 +00:00
libei-socket.c ei: rename ei_set_connection to ei_set_socket 2023-03-03 11:20:42 +10:00
libei-touchscreen.c Switch object ids to use the object_id_t typedef 2023-03-03 11:27:01 +10:00
libei-touchscreen.h Switch object ids to use the object_id_t typedef 2023-03-03 11:27:01 +10:00
libei.c ei: change the API to match the protocol interfaces closer 2023-05-05 14:02:33 +10:00
libei.h ei: change the API to match the protocol interfaces closer 2023-05-05 14:02:33 +10:00
libeis-button.c Split the ei_pointer interface up into its components 2023-05-02 05:53:25 +00:00
libeis-button.h Split the ei_pointer interface up into its components 2023-05-02 05:53:25 +00:00
libeis-callback.c Switch object ids to use the object_id_t typedef 2023-03-03 11:27:01 +10:00
libeis-callback.h Switch object ids to use the object_id_t typedef 2023-03-03 11:27:01 +10:00
libeis-client.c Split the ei_pointer interface up into its components 2023-05-02 05:53:25 +00:00
libeis-client.h Split the ei_pointer interface up into its components 2023-05-02 05:53:25 +00:00
libeis-connection.c Switch object ids to use the object_id_t typedef 2023-03-03 11:27:01 +10:00
libeis-connection.h Switch object ids to use the object_id_t typedef 2023-03-03 11:27:01 +10:00
libeis-device.c protocol: replace the capabilities enum with an interface list 2023-05-02 05:53:25 +00:00
libeis-device.h Split the ei_pointer interface up into its components 2023-05-02 05:53:25 +00:00
libeis-event.c ei: change the API to match the protocol interfaces closer 2023-05-05 14:02:33 +10:00
libeis-event.h Remove empty trailing newlines from all files 2023-03-13 08:52:08 +10:00
libeis-fd.c eis: Remove eis_backend_fd_add_fd() 2022-04-27 02:00:07 +00:00
libeis-handshake.c Split the ei_pointer interface up into its components 2023-05-02 05:53:25 +00:00
libeis-handshake.h Switch object ids to use the object_id_t typedef 2023-03-03 11:27:01 +10:00
libeis-keyboard.c Switch object ids to use the object_id_t typedef 2023-03-03 11:27:01 +10:00
libeis-keyboard.h Switch object ids to use the object_id_t typedef 2023-03-03 11:27:01 +10:00
libeis-log.c util: rename xvasprintf to xvaprintf 2023-02-16 15:29:18 +10:00
libeis-pingpong.c Switch object ids to use the object_id_t typedef 2023-03-03 11:27:01 +10:00
libeis-pingpong.h Switch object ids to use the object_id_t typedef 2023-03-03 11:27:01 +10:00
libeis-pointer-absolute.c Split the ei_pointer interface up into its components 2023-05-02 05:53:25 +00:00
libeis-pointer-absolute.h Split the ei_pointer interface up into its components 2023-05-02 05:53:25 +00:00
libeis-pointer.c Switch object ids to use the object_id_t typedef 2023-03-03 11:27:01 +10:00
libeis-pointer.h Switch object ids to use the object_id_t typedef 2023-03-03 11:27:01 +10:00
libeis-private.h Split the ei_pointer interface up into its components 2023-05-02 05:53:25 +00:00
libeis-region.c Drop the trailing newline from the log messages 2022-08-11 10:09:27 +10:00
libeis-region.h eis: divide the headers up across multiple files 2023-02-13 14:01:08 +10:00
libeis-scroll.c Split the ei_pointer interface up into its components 2023-05-02 05:53:25 +00:00
libeis-scroll.h Split the ei_pointer interface up into its components 2023-05-02 05:53:25 +00:00
libeis-seat.c protocol: replace the capabilities enum with an interface list 2023-05-02 05:53:25 +00:00
libeis-seat.h protocol: replace the capabilities enum with an interface list 2023-05-02 05:53:25 +00:00
libeis-socket.c Drop the trailing newline from the log messages 2022-08-11 10:09:27 +10:00
libeis-touchscreen.c Switch object ids to use the object_id_t typedef 2023-03-03 11:27:01 +10:00
libeis-touchscreen.h Switch object ids to use the object_id_t typedef 2023-03-03 11:27:01 +10:00
libeis.c ei: change the API to match the protocol interfaces closer 2023-05-05 14:02:33 +10:00
libeis.h ei: change the API to match the protocol interfaces closer 2023-05-05 14:02:33 +10:00
liboeffis.c util: rename xvasprintf to xvaprintf 2023-02-16 15:29:18 +10:00
liboeffis.h liboeffis is a wrapper library for the RemoteDesktop communication 2022-12-08 11:22:50 +10:00
meson.build Split the ei_pointer interface up into its components 2023-05-02 05:53:25 +00:00
util-bits.c util: add some mask helpers 2023-03-03 11:16:48 +10:00
util-bits.h util: add some mask helpers 2023-03-03 11:16:48 +10:00
util-color.h Add SPDX identifiers to all source files 2022-03-03 00:27:36 +00:00
util-io.c util: add iobuf_prepend() 2023-03-03 11:27:01 +10:00
util-io.h util: add iobuf_prepend() 2023-03-03 11:27:01 +10:00
util-list.c util: add the macros to run through a list backwards 2022-05-17 14:36:39 +10:00
util-list.h util: add the macros to run through a list backwards 2022-05-17 14:36:39 +10:00
util-logger.c util-object: split macro to generate unref into one two 2022-03-03 05:41:15 +00:00
util-logger.h Add SPDX identifiers to all source files 2022-03-03 00:27:36 +00:00
util-macros.h proto: split up message length and opcode again 2023-03-03 11:27:01 +10:00
util-mem.h doc: fix a comment in util-mem.h 2022-12-01 18:56:18 +10:00
util-memfile.c config: Make memfd_create optional 2023-03-28 11:24:06 +00:00
util-memfile.h config: Make memfd_create optional 2023-03-28 11:24:06 +00:00
util-munit.c Add SPDX identifiers to all source files 2022-03-03 00:27:36 +00:00
util-munit.h Add SPDX identifiers to all source files 2022-03-03 00:27:36 +00:00
util-object.h util: add macros to declare getters and setters 2023-02-13 13:27:57 +10:00
util-sources.c util: undo accidental rename from source->is_active to is_sender 2023-02-13 13:28:31 +10:00
util-sources.h Add SPDX identifiers to all source files 2022-03-03 00:27:36 +00:00
util-strings.c util: add a strlen0 helper function 2023-03-03 11:27:01 +10:00
util-strings.h util: add a strlen0 helper function 2023-03-03 11:27:01 +10:00
util-structs.h Add SPDX identifiers to all source files 2022-03-03 00:27:36 +00:00
util-time.h util: add msleep() 2023-03-03 11:16:48 +10:00
util-tristate.h Remove empty trailing newlines from all files 2023-03-13 08:52:08 +10:00
util-version.h Add a version macro for grepable version numbers 2022-09-07 09:20:27 +10:00