dix: add motion history support

Add motion history support (sort of based on the XFree86 DDX's
implementation) to the DIX.
This commit is contained in:
Daniel Stone
2006-10-25 01:08:29 +03:00
committed by Daniel Stone
parent 11fb58be77
commit 5b38eb69cd
4 changed files with 142 additions and 9 deletions

View File

@@ -146,15 +146,20 @@ typedef struct _AxisInfo {
typedef struct _ValuatorClassRec {
ValuatorMotionProcPtr GetMotionProc;
int numMotionEvents;
WindowPtr motionHintWindow;
AxisInfoPtr axes;
unsigned short numAxes;
int *axisVal;
CARD8 mode;
int lastx, lasty; /* last event recorded, not posted to
* client; see dix/devices.c */
int dxremaind, dyremaind; /* for acceleration */
int numMotionEvents;
int first_motion;
int last_motion;
void *motion;
WindowPtr motionHintWindow;
AxisInfoPtr axes;
unsigned short numAxes;
int *axisVal;
int lastx, lasty; /* last event recorded, not posted to
* client; see dix/devices.c */
int dxremaind, dyremaind; /* for acceleration */
CARD8 mode;
} ValuatorClassRec, *ValuatorClassPtr;
typedef struct _ButtonClassRec {