[PATCH evdev] Fix relative events with swapped axes

2011-12-15 Thread przanoni
From: Paulo Zanoni paulo.r.zan...@intel.com After we swap the axes, we only call valuator_mask_set for axes that are not zero, so we need to unset the axes that became zero when swapped. Signed-off-by: Paulo Zanoni paulo.r.zan...@intel.com --- src/evdev.c |4 1 files changed, 4

Re: [PATCH evdev] Fix relative events with swapped axes

2011-12-15 Thread Peter Hutterer
On Thu, Dec 15, 2011 at 12:26:37PM -0200, przan...@gmail.com wrote: From: Paulo Zanoni paulo.r.zan...@intel.com After we swap the axes, we only call valuator_mask_set for axes that are not zero, so we need to unset the axes that became zero when swapped. Signed-off-by: Paulo Zanoni