Signed-off-by: Peter Hutterer <[email protected]>
---
src/wcmFilter.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/wcmFilter.c b/src/wcmFilter.c
index 9f4f366..5f3fa7d 100644
--- a/src/wcmFilter.c
+++ b/src/wcmFilter.c
@@ -332,7 +332,7 @@ void wcmTilt2R(WacomDeviceStatePtr ds)
/* Intuos4 mouse has an (180-5) offset */
ds->rotation = round((360.0 - rotation + 180.0 - 5.0) * 5.0);
- ds->rotation %= 1800;
+ ds->rotation %= 1800;
if (ds->rotation >= 900)
ds->rotation = 1800 - ds->rotation;
--
1.7.4
------------------------------------------------------------------------------
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d
_______________________________________________
Linuxwacom-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel