From 19275ea8e9dd93d5e61906943706dfe49003dd9c Mon Sep 17 00:00:00 2001 From: Simon Thum Date: Wed, 19 Nov 2008 16:01:21 +1000 Subject: dix: add property support for pointer acceleration. Note: properties don't need to be cleaned up, the DIX does it for us anyway. Data that is stored in properties is cleaned up by the property system. Handlers, etc. don't need to be unregistered while cleaning up, as they get deleted when the device is removed anyway. Signed-off-by: Peter Hutterer Signed-off-by: Simon Thum --- Xi/xiproperty.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Xi') diff --git a/Xi/xiproperty.c b/Xi/xiproperty.c index 6da8424b0..53b2f6a42 100644 --- a/Xi/xiproperty.c +++ b/Xi/xiproperty.c @@ -50,7 +50,11 @@ static struct dev_properties char *name; } dev_properties[] = { {0, XI_PROP_ENABLED}, - {0, XATOM_FLOAT} + {0, XATOM_FLOAT}, + {0, ACCEL_PROP_PROFILE_NUMBER}, + {0, ACCEL_PROP_CONSTANT_DECELERATION}, + {0, ACCEL_PROP_ADAPTIVE_DECELERATION}, + {0, ACCEL_PROP_VELOCITY_SCALING} }; static long XIPropHandlerID = 1; -- cgit v1.2.3