Re: [PATCH weston] libinput-device: use the discrete axis value for wheel events

2015-01-13 Thread Jonas Ã…dahl
On Wed, Jan 14, 2015 at 04:02:47PM +1000, Peter Hutterer wrote: > libinput < 0.8 sent wheel click events with value 10. Since 0.8 > the value is the angle of the click in degrees but it now provides > the click count as separate value. To keep backwards-compat with > existing clients, we just send

[PATCH weston] libinput-device: use the discrete axis value for wheel events

2015-01-13 Thread Peter Hutterer
libinput < 0.8 sent wheel click events with value 10. Since 0.8 the value is the angle of the click in degrees but it now provides the click count as separate value. To keep backwards-compat with existing clients, we just send multiples of the click count. Signed-off-by: Peter Hutterer --- Use th