reversed sign change, bad idea ...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9149 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
7c862ee441
commit
6be0f7ef24
@ -384,7 +384,7 @@ MouseInputDevice::DeviceWatcher(void *arg)
|
||||
|
||||
// TODO: add acceleration computing
|
||||
int32 xdelta = movements.xdelta * dev->settings.accel.speed >> 15;
|
||||
int32 ydelta = -movements.ydelta * (dev->settings.accel.speed >> 15);
|
||||
int32 ydelta = movements.ydelta * dev->settings.accel.speed >> 15;
|
||||
|
||||
snprintf(log, 128, "%s: x: %ld, y: %ld, \n",
|
||||
dev->device_ref.name, xdelta, ydelta);
|
||||
|
Loading…
x
Reference in New Issue
Block a user