[PATCH v3 weston 2/2] Support axis source, axis discrete, frame and axis stop events
Bill Spitzak
spitzak at gmail.com
Mon Jan 11 11:32:06 PST 2016
On Sun, Jan 10, 2016 at 11:59 PM, Jonas Ã…dahl <jadahl at gmail.com> wrote:
>
> > + widget_pointer_frame_handler_t pointer_frame_handler;
> > + widget_axis_source_handler_t axis_source_handler;
> > + widget_axis_stop_handler_t axis_stop_handler;
> > + widget_axis_discrete_handler_t axis_discrete_handler;
>
> Should we really make the toytoolkit API this low level? I guess it's
> easier this way, so I won't complain further, but it'd be good to have
> our toy toolkit try to construct the higher level events the protocol
> try to communicate.
>
Considering that toytoolkit is doing the xkb stuff, I think it really
should reconsolidate wayland events back into more useful structures.
This is also going to be important if future versions change how this
information is sent. The toytoolkit really should be a source of sample
code as to how to map the various versions to the output data, so that
everybody does not come up with different solutions and make the clients
behave differently from each other.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20160111/2aa25b4e/attachment.html>
More information about the wayland-devel
mailing list