|
Lines 1618-1625
MouseProc(DeviceIntPtr device, int what)
Link Here
|
| 1618 |
|
1618 |
|
| 1619 |
InitPointerDeviceStruct((DevicePtr)device, map, |
1619 |
InitPointerDeviceStruct((DevicePtr)device, map, |
| 1620 |
min(pMse->buttons, MSE_MAXBUTTONS), |
1620 |
min(pMse->buttons, MSE_MAXBUTTONS), |
| 1621 |
miPointerGetMotionEvents, pMse->Ctrl, |
1621 |
#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) == 0 |
| 1622 |
miPointerGetMotionBufferSize()); |
1622 |
miPointerGetMotionEvents, |
|
|
1623 |
#elif GET_ABI_MAJOR(ABI_XINPUT_VERSION) < 3 |
| 1624 |
GetMotionHistory, |
| 1625 |
#endif |
| 1626 |
pMse->Ctrl, |
| 1627 |
#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) == 0 |
| 1628 |
miPointerGetMotionBufferSize() |
| 1629 |
#else |
| 1630 |
GetMotionHistorySize(), 2 |
| 1631 |
#endif |
| 1632 |
); |
| 1623 |
|
1633 |
|
| 1624 |
/* X valuator */ |
1634 |
/* X valuator */ |
| 1625 |
xf86InitValuatorAxisStruct(device, 0, 0, -1, 1, 0, 1); |
1635 |
xf86InitValuatorAxisStruct(device, 0, 0, -1, 1, 0, 1); |