dix: refactor scheme init
This makes it possible to init a scheme in one init call, so we get rid of the tightly coupled two-phase init used before. Signed-off-by: Simon Thum <simon.thum@gmx.de> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
committed by
Peter Hutterer
parent
38ffeec0c8
commit
006157f203
@@ -110,12 +110,6 @@ BasicComputeAcceleration(DeviceIntPtr dev, DeviceVelocityPtr vel,
|
||||
extern _X_EXPORT void
|
||||
FreeVelocityData(DeviceVelocityPtr vel);
|
||||
|
||||
extern _X_INTERNAL BOOL
|
||||
InitializePredictableAccelerationProperties(DeviceIntPtr dev);
|
||||
|
||||
extern _X_INTERNAL BOOL
|
||||
DeletePredictableAccelerationProperties(DeviceIntPtr dev);
|
||||
|
||||
extern _X_EXPORT int
|
||||
SetAccelerationProfile(DeviceVelocityPtr vel, int profile_num);
|
||||
|
||||
@@ -129,6 +123,10 @@ SetDeviceSpecificAccelerationProfile(DeviceVelocityPtr vel,
|
||||
extern _X_INTERNAL void
|
||||
AccelerationDefaultCleanup(DeviceIntPtr dev);
|
||||
|
||||
extern _X_INTERNAL Bool
|
||||
InitPredictableAccelerationScheme(DeviceIntPtr dev,
|
||||
struct _ValuatorAccelerationRec* protoScheme);
|
||||
|
||||
extern _X_INTERNAL void
|
||||
acceleratePointerPredictable(DeviceIntPtr dev, int first_valuator,
|
||||
int num_valuators, int *valuators, int evtime);
|
||||
|
||||
Reference in New Issue
Block a user