libei/proto
Peter Hutterer b02b4f0901 Drop protobuf in favour of a custom protocol
This protocol is wayland-like though it uses a slightly different
message format. The XML file uses the same structure, except for the
"fixed" type which is "float" here.

The scanner uses a jinja template to generate source and header files
for ei and eis which are now used instead of the protobuf-generated
objects. Note that the scanner is a minimal working version, some
features like enum value checks are not yet implemented.

Unlike wayland we do not need to generate the libwayland-like library,
we only need the wire protocol parser - some shortcuts can thus be taken.

To keep the changes simple, the protocol currently is a flat protocol
with only one interface and all messages copied over from the previous
ei.proto file. In future commits, this will be moved to the respective
interfaces instead.
2023-03-03 11:20:42 +10:00
..
ei-proto.c.tmpl Drop protobuf in favour of a custom protocol 2023-03-03 11:20:42 +10:00
ei-proto.h.tmpl Drop protobuf in favour of a custom protocol 2023-03-03 11:20:42 +10:00
meson.build Drop protobuf in favour of a custom protocol 2023-03-03 11:20:42 +10:00
protocol.xml Drop protobuf in favour of a custom protocol 2023-03-03 11:20:42 +10:00
scanner.py Drop protobuf in favour of a custom protocol 2023-03-03 11:20:42 +10:00