update KDrive to new input API

Update KDrive to fit the new API (mieqInit and InitPointerDeviceStruct), and
include InitTouchscreenDeviceStruct in the DIX.
This commit is contained in:
Daniel Stone
2006-07-20 16:45:15 -04:00
committed by Daniel Stone
parent 1987af8c49
commit 463e0fe35b
2 changed files with 23 additions and 2 deletions

View File

@@ -441,7 +441,7 @@ KdPointerProc(DeviceIntPtr pDevice, int onoff)
InitPointerDeviceStruct(pDev, pi->map, pi->nButtons,
miPointerGetMotionEvents,
(PtrCtrlProcPtr)NoopDDA,
miPointerGetMotionBufferSize());
miPointerGetMotionBufferSize(), pi->nAxes);
#ifdef XINPUT
if (pi->inputClass == KD_TOUCHSCREEN) {
@@ -1280,7 +1280,7 @@ KdInitInput (void)
ErrorF("Failed to add keyboard!\n");
}
mieqInit(NULL, NULL);
mieqInit();
}
/*