Re: [PATCH libinput 16/26] tablet: add support for libinput_tool_has_button

2015-02-26 Thread Lyude
On Tue, 2015-02-24 at 16:21 +1000, Peter Hutterer wrote: > libwacom can tell us how many buttons we have per stylus, so we map those into > BTN_STYLUS and BTN_STYLUS2. > BTN_TOUCH is set on all styli. > > Signed-off-by: Peter Hutterer > --- > src/evdev-tablet.c | 73 > ++

Re: [PATCH libinput 16/26] tablet: add support for libinput_tool_has_button

2015-02-24 Thread Benjamin Tissoires
On Tue, Feb 24, 2015 at 1:21 AM, Peter Hutterer wrote: > libwacom can tell us how many buttons we have per stylus, so we map those into > BTN_STYLUS and BTN_STYLUS2. > BTN_TOUCH is set on all styli. > > Signed-off-by: Peter Hutterer > --- > src/evdev-tablet.c | 73 >

[PATCH libinput 16/26] tablet: add support for libinput_tool_has_button

2015-02-23 Thread Peter Hutterer
libwacom can tell us how many buttons we have per stylus, so we map those into BTN_STYLUS and BTN_STYLUS2. BTN_TOUCH is set on all styli. Signed-off-by: Peter Hutterer --- src/evdev-tablet.c | 73 ++ src/libinput-private.h | 1 + src/libinput.