Re: [PATCH v2 weston] Support axis source, axis discrete, axis frame and axis stop events

2015-11-15 Thread Peter Hutterer
On Mon, Nov 16, 2015 at 03:38:13PM +0800, Jonas Ådahl wrote: > Hey, > > I took a look at how the currently internal, but to be made external, > API looks like, and I wonder if it really should be this low level. > > For the unaccelerated/accelerated/relative/absolute pointer events, I > made an e

Re: [PATCH v2 weston] Support axis source, axis discrete, axis frame and axis stop events

2015-11-15 Thread Jonas Ådahl
Hey, I took a look at how the currently internal, but to be made external, API looks like, and I wonder if it really should be this low level. For the unaccelerated/accelerated/relative/absolute pointer events, I made an event struct that is passed around and input.c takes that one and emits the

[PATCH v2 weston] Support axis source, axis discrete, axis frame and axis stop events

2015-11-15 Thread Peter Hutterer
Signed-off-by: Peter Hutterer --- This one goes with v6 of the protocol, see http://patchwork.freedesktop.org/patch/64871/ Changes to v1: - revamped for wl_pointer.frame (instead of axis frame) - added the hooks for the tests - rebased on master, added the new pointer axis grab handling bits - re