Re: [PATCH 1/2 weston] evdev: Only use device as pointer if EV_REL and EV_KEY are set.

2012-08-06 Thread Jonas Ã…dahl
On Mon, Aug 6, 2012 at 9:27 AM, Scott Moreau wrote: > A standard mouse should not have EV_ABS as part of its capabilities, however > it > should have both EV_REL and EV_KEY. This attempts to avoid erroneously > detecting > devices as pointers, such as joysticks for example. This will potentiall

[PATCH 1/2 weston] evdev: Only use device as pointer if EV_REL and EV_KEY are set.

2012-08-06 Thread Scott Moreau
A standard mouse should not have EV_ABS as part of its capabilities, however it should have both EV_REL and EV_KEY. This attempts to avoid erroneously detecting devices as pointers, such as joysticks for example. --- src/evdev.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --