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:
committed by
Daniel Stone
parent
11fb58be77
commit
5b38eb69cd
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user