diff options
-rw-r--r-- | src/wcmTouchFilter.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wcmTouchFilter.c b/src/wcmTouchFilter.c index 07603af..b1b1685 100644 --- a/src/wcmTouchFilter.c +++ b/src/wcmTouchFilter.c @@ -112,6 +112,8 @@ wcmSendTouchEvent(WacomDevicePtr priv, WacomChannelPtr channel) WacomDeviceState oldstate = channel->valid.states[1]; int type = -1; + wcmRotateAndScaleCoordinates (priv->pInfo, &state.x, &state.y); + valuator_mask_set(mask, 0, state.x); valuator_mask_set(mask, 1, state.y); |