<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Jan 10, 2016 at 11:59 PM, Jonas Ådahl <span dir="ltr"><<a href="mailto:jadahl@gmail.com" target="_blank">jadahl@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
> +     widget_pointer_frame_handler_t pointer_frame_handler;<br>
> +     widget_axis_source_handler_t axis_source_handler;<br>
> +     widget_axis_stop_handler_t axis_stop_handler;<br>
> +     widget_axis_discrete_handler_t axis_discrete_handler;<br>
<br>
Should we really make the toytoolkit API this low level? I guess it's<br>
easier this way, so I won't complain further, but it'd be good to have<br>
our toy toolkit try to construct the higher level events the protocol<br>
try to communicate.<br></blockquote><div><br></div><div>Considering that toytoolkit is doing the xkb stuff, I think it really should reconsolidate wayland events back into more useful structures.<br><br></div><div>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.<br><br></div></div><br></div></div>