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 <peter.hutterer@redhat.com> Signed-off-by: Simon Thum <simon.thum@gmx.de>
This commit is contained in:
committed by
Peter Hutterer
parent
d645721170
commit
19275ea8e9
@@ -33,4 +33,14 @@
|
||||
/* BOOL. 0 - device disabled, 1 - device enabled */
|
||||
#define XI_PROP_ENABLED "Device Enabled"
|
||||
|
||||
/* Pointer acceleration properties */
|
||||
/* INTEGER of any format */
|
||||
#define ACCEL_PROP_PROFILE_NUMBER "Device Accel Profile"
|
||||
/* FLOAT, format 32 */
|
||||
#define ACCEL_PROP_CONSTANT_DECELERATION "Device Accel Constant Deceleration"
|
||||
/* FLOAT, format 32 */
|
||||
#define ACCEL_PROP_ADAPTIVE_DECELERATION "Device Accel Adaptive Deceleration"
|
||||
/* FLOAT, format 32 */
|
||||
#define ACCEL_PROP_VELOCITY_SCALING "Device Accel Velocity Scaling"
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user