diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/XExtInt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/XExtInt.c b/src/XExtInt.c index bbd406d..eed6637 100644 --- a/src/XExtInt.c +++ b/src/XExtInt.c @@ -1638,7 +1638,7 @@ wireToRawEvent(xXIRawEvent *in, XGenericEventCookie *cookie) out->valuators.values[i] = values->integral; out->valuators.values[i] += ((double)values->frac / (1 << 16) / (1 << 16)); out->raw_values[i] = (values + bits)->integral; - out->valuators.values[i] += ((double)(values + bits)->frac / (1 << 16) / (1 << 16)); + out->raw_values[i] += ((double)(values + bits)->frac / (1 << 16) / (1 << 16)); values++; } |