Re: [PATCH libinput] evdev: actually ignore joysticks

2016-11-01 Thread Peter Hutterer
On Tue, Nov 01, 2016 at 08:06:09PM -0700, Dima Ryazanov wrote: > On Tue, Nov 1, 2016 at 6:19 PM, Peter Hutterer > wrote: > > > A joystick has ID_INPUT_JOYSTICK *and* ID_INPUT set, so we need to check > > for > > both. > > > > https://bugs.freedesktop.org/show_bug.cgi?id=98009 > > > > Signed-off-b

Re: [PATCH libinput] evdev: actually ignore joysticks

2016-11-01 Thread Dima Ryazanov
On Tue, Nov 1, 2016 at 6:19 PM, Peter Hutterer wrote: > A joystick has ID_INPUT_JOYSTICK *and* ID_INPUT set, so we need to check > for > both. > > https://bugs.freedesktop.org/show_bug.cgi?id=98009 > > Signed-off-by: Peter Hutterer > --- > src/evdev.c | 2 +- > test/device.c | 34 +++

[PATCH libinput] evdev: actually ignore joysticks

2016-11-01 Thread Peter Hutterer
A joystick has ID_INPUT_JOYSTICK *and* ID_INPUT set, so we need to check for both. https://bugs.freedesktop.org/show_bug.cgi?id=98009 Signed-off-by: Peter Hutterer --- src/evdev.c | 2 +- test/device.c | 34 ++ 2 files changed, 35 insertions(+), 1 deletion(-)