Input: Convert ValuatorMask to double-precision internally
authorDaniel Stone <daniel@fooishbar.org>
Wed, 23 Feb 2011 14:31:01 +0000 (14:31 +0000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Thu, 29 Sep 2011 02:23:51 +0000 (12:23 +1000)
commit79d4deb76d5612b75ef26b4549b7ade3a656687d
tree4322bbb22612afb47ad02a7f37ecdd597d06018f
parent60a766a96f9ec97adf6d0273f70ec23f313a11c6
Input: Convert ValuatorMask to double-precision internally

Switch the ValuatorMask struct to using doubles instead of ints for the
actual values.  Preserve the old int API, and (attempt to) round towards
zero for values we return.

Signed-off-by: Daniel Stone <daniel@fooishbar.org>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
dix/inpututils.c
include/inpututils.h