Re: [PATCH] Ignore devices that have joystick buttons

2014-11-25 Thread Peter Hutterer
On Tue, Nov 25, 2014 at 10:41:50AM -0600, Derek Foreman wrote: > On 25/11/14 04:32 AM, Peter Hutterer wrote: > > On Tue, Nov 25, 2014 at 02:33:53AM +0100, Krzysztof A. Sobiecki wrote: > >> This patch allows libinput to ignore devices that have joystick buttons. > >> > >> Signed-off-by: Krzysztof So

Re: [PATCH] Ignore devices that have joystick buttons

2014-11-25 Thread Jasper St. Pierre
Well, SDL already opens your gamepad evdev device manually. libinput is designed for compositors and Wayland, and I don't see any reason to introduce a gamepad protocol into Wayland if SDL already just uses evdev. On Tue, Nov 25, 2014 at 8:41 AM, Derek Foreman wrote: > On 25/11/14 04:32 AM, Pete

Re: [PATCH] Ignore devices that have joystick buttons

2014-11-25 Thread Derek Foreman
On 25/11/14 04:32 AM, Peter Hutterer wrote: > On Tue, Nov 25, 2014 at 02:33:53AM +0100, Krzysztof A. Sobiecki wrote: >> This patch allows libinput to ignore devices that have joystick buttons. >> >> Signed-off-by: Krzysztof Sobiecki >> --- >> src/evdev.c | 9 + >> 1 file changed, 9 insert

Re: [PATCH] Ignore devices that have joystick buttons

2014-11-25 Thread Peter Hutterer
On Tue, Nov 25, 2014 at 02:33:53AM +0100, Krzysztof A. Sobiecki wrote: > This patch allows libinput to ignore devices that have joystick buttons. > > Signed-off-by: Krzysztof Sobiecki > --- > src/evdev.c | 9 + > 1 file changed, 9 insertions(+) > > diff --git a/src/evdev.c b/src/evdev.c

Re: [PATCH] Ignore devices that have joystick buttons

2014-11-25 Thread Peter Hutterer
On Tue, Nov 25, 2014 at 12:16:18PM +0200, Pekka Paalanen wrote: > On Tue, 25 Nov 2014 02:33:53 +0100 > sob...@gmail.com (Krzysztof A. Sobiecki) wrote: > > > This patch allows libinput to ignore devices that have joystick buttons. > > > > Signed-off-by: Krzysztof Sobiecki > > --- > > src/evdev.c

Re: [PATCH] Ignore devices that have joystick buttons

2014-11-25 Thread Pekka Paalanen
On Tue, 25 Nov 2014 02:33:53 +0100 sob...@gmail.com (Krzysztof A. Sobiecki) wrote: > This patch allows libinput to ignore devices that have joystick buttons. > > Signed-off-by: Krzysztof Sobiecki > --- > src/evdev.c | 9 + > 1 file changed, 9 insertions(+) > > diff --git a/src/evdev.c

[PATCH] Ignore devices that have joystick buttons

2014-11-24 Thread Krzysztof A. Sobiecki
This patch allows libinput to ignore devices that have joystick buttons. Signed-off-by: Krzysztof Sobiecki --- src/evdev.c | 9 + 1 file changed, 9 insertions(+) diff --git a/src/evdev.c b/src/evdev.c index 36c6859..5f6cc32 100644 --- a/src/evdev.c +++ b/src/evdev.c @@ -1274,6 +1274,15