mirror of
https://github.com/X11Libre/xserver.git
synced 2026-09-27 21:22:26 +00:00
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:
parent
d645721170
commit
19275ea8e9
5 changed files with 238 additions and 3 deletions
|
|
@ -43,6 +43,7 @@
|
|||
#define AccelProfilePower 5
|
||||
#define AccelProfileLinear 6
|
||||
#define AccelProfileReserved 7
|
||||
#define AccelProfileLAST AccelProfileReserved
|
||||
|
||||
/* fwd */
|
||||
struct _DeviceVelocityRec;
|
||||
|
|
@ -103,6 +104,9 @@ typedef struct _DeviceVelocityRec {
|
|||
extern _X_EXPORT void
|
||||
InitVelocityData(DeviceVelocityPtr s);
|
||||
|
||||
extern _X_EXPORT BOOL
|
||||
InitializePredictableAccelerationProperties(DeviceIntPtr pDev);
|
||||
|
||||
extern _X_EXPORT void
|
||||
InitFilterChain(DeviceVelocityPtr s, float rdecay, float degression,
|
||||
int lutsize, int stages);
|
||||
|
|
|
|||
Loading…
Reference in a new issue