evdev: add DPI to evdev calculations
authorDerek Foreman <derekf@osg.samsung.com>
Thu, 30 Oct 2014 21:34:15 +0000 (16:34 -0500)
committerPeter Hutterer <peter.hutterer@who-t.net>
Fri, 31 Oct 2014 04:31:51 +0000 (14:31 +1000)
commit79898da377ba58857be0bd104de694eb1e66f41f
treee9bd9158330cbc47bd06ffb7747da85daee21ce7
parent58e0fe270d9f3731f18ce3a7618a69a5112029b9
evdev: add DPI to evdev calculations

Assume "normal" mice are 400DPI, and that all calculations should be
normalized to this before being fed into the filter.

There isn't yet a way to configure a device's DPI.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
src/evdev.c
src/evdev.h