On Thu, Aug 15, 2013 at 12:10:30PM +0100, Daniel Stone wrote: > Hi, > > On 15 August 2013 11:52, Peter Hutterer <[email protected]> wrote: > > one of the things that should be done is to figure out _where_ features such > > as this are going to be handled. In the compositor, the compositor's input > > module, on the client side, ... ? I'm trying to figure out how to handle > > this correctly, but don't have much to show here just yet. > > > > For example, wl_pointer only has a button event, which means that a client > > cannot differ between a tap and a button click. no doubt this should be in a > > piece of shared code, but right now it's not quite sure what can be > > shared where yet. > > ... does it need to?
I don't think we do... I think that from a client point of view, a touchpad/clickpad looks exactly like a wl_pointer. Gestures such as two-finger scrolling, double-tap-drag, two-finger clicks, interpreting clicking in different as different buttons etc can all be done in the compositor and sent as either wl_pointer button and move events or axis events (scroll, pinch, rotate). Kristian > Cheers, > Daniel > _______________________________________________ > wayland-devel mailing list > [email protected] > http://lists.freedesktop.org/mailman/listinfo/wayland-devel _______________________________________________ wayland-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/wayland-devel
