Re: [PATCH libinput] Change sendevents configuration to use bitmasks

2014-11-05 Thread Hans de Goede
Hi, On 11/03/2014 06:53 AM, Peter Hutterer wrote: > In the future, we should allow multiple sendevent modes set simultanously. > Change the API to use a bitmask instead of a single return value. > > Signed-off-by: Peter Hutterer Looks good: Reviewed-by: Hans de Goede Regards, Hans > --- >

Re: [PATCH libinput] Change sendevents configuration to use bitmasks

2014-11-03 Thread Bill Spitzak
On 11/02/2014 09:53 PM, Peter Hutterer wrote: In the future, we should allow multiple sendevent modes set simultanously. Change the API to use a bitmask instead of a single return value. + /* DISABLED overrides any DISABLED_ON_ */ + if ((mode & LIBINPUT_CONFIG_SEND_EVENTS_DISABLE

[PATCH libinput] Change sendevents configuration to use bitmasks

2014-11-02 Thread Peter Hutterer
In the future, we should allow multiple sendevent modes set simultanously. Change the API to use a bitmask instead of a single return value. Signed-off-by: Peter Hutterer --- src/evdev-mt-touchpad.c | 8 ++-- src/evdev.c | 5 ++--- src/libinput.c | 8 src/lib