Re: [PATCH v2 libinput] pad: group the button state into a private struct

2016-06-07 Thread Yong Bakos
On Jun 6, 2016, at 8:16 PM, Peter Hutterer wrote: > > This is only set on button events so use the same approach as for rings and > strips. No functional changes. > > Signed-off-by: Peter Hutterer Reviewed-by: Yong Bakos Cheers, yong > --- > Changes to v2: > - rename button.button to butto

[PATCH v2 libinput] pad: group the button state into a private struct

2016-06-06 Thread Peter Hutterer
This is only set on button events so use the same approach as for rings and strips. No functional changes. Signed-off-by: Peter Hutterer --- Changes to v2: - rename button.button to button.number, brings it in line with ring/strip naming. src/libinput.c | 14 -- 1 file changed, 8