Re: [PATCH libinput 2/2] Add libinput_event_pointer_has_axis to scroll events

2015-01-05 Thread Hans de Goede
Hi, On 05-01-15 06:20, Peter Hutterer wrote: Right now we only have two (scroll) axes and we could easily just check both for non-zero values. If we want to allow further axes in the future, we need a check whether an axis is set in an event. We also need the mask to notify of a scroll stop eve

[PATCH libinput 2/2] Add libinput_event_pointer_has_axis to scroll events

2015-01-04 Thread Peter Hutterer
Right now we only have two (scroll) axes and we could easily just check both for non-zero values. If we want to allow further axes in the future, we need a check whether an axis is set in an event. We also need the mask to notify of a scroll stop event, which could otherwise be confused as a verti