Re: [PATCH 3/3] evdev: Implement axes swapping for absolute events

2012-09-21 Thread Rob Bradford
> As discussed in IRC, this looked like the wrong branch to swap this > stuff. This is MT limits, not plain ABS limits. > >> device->is_mt = 1; >> device->mt.slot = 0; >> device->caps |= EVDEV_TOUCH; > Yes this is completely wrong .

Re: [PATCH 3/3] evdev: Implement axes swapping for absolute events

2012-09-21 Thread Pekka Paalanen
On Fri, 21 Sep 2012 15:04:17 +0100 Rob Bradford wrote: > From: Rob Bradford > > This quirk is designed for hardware that has the X and Y axes swapped for > absolute events. Do this by rewriting the event such that the X and Y events > are swapped. > --- > src/evdev.c | 29 +

[PATCH 3/3] evdev: Implement axes swapping for absolute events

2012-09-21 Thread Rob Bradford
From: Rob Bradford This quirk is designed for hardware that has the X and Y axes swapped for absolute events. Do this by rewriting the event such that the X and Y events are swapped. --- src/evdev.c | 29 + 1 file changed, 25 insertions(+), 4 deletions(-) diff --git