diff options
author | Daniel Stone <daniel.stone@nokia.com> | 2006-07-20 16:45:15 -0400 |
---|---|---|
committer | Daniel Stone <daniels@endtroducing.fooishbar.org> | 2006-07-21 15:19:54 -0400 |
commit | 463e0fe35bec3c91b19be9aacf34babb146a88c9 (patch) | |
tree | 857abfdd128626c3e9f2b83ccf96e8a67f7060d1 /hw | |
parent | 1987af8c498a1bf394a8951ca6d5b0b7f7a35188 (diff) |
update KDrive to new input API
Update KDrive to fit the new API (mieqInit and InitPointerDeviceStruct), and
include InitTouchscreenDeviceStruct in the DIX.
Diffstat (limited to 'hw')
-rw-r--r-- | hw/kdrive/src/kinput.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/kdrive/src/kinput.c b/hw/kdrive/src/kinput.c index 94c3abd28..13869c91b 100644 --- a/hw/kdrive/src/kinput.c +++ b/hw/kdrive/src/kinput.c @@ -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(); } /* |