summaryrefslogtreecommitdiff
path: root/xserver/hw/xprint/ddxInit.c
diff options
context:
space:
mode:
Diffstat (limited to 'xserver/hw/xprint/ddxInit.c')
-rw-r--r--xserver/hw/xprint/ddxInit.c23
1 files changed, 20 insertions, 3 deletions
diff --git a/xserver/hw/xprint/ddxInit.c b/xserver/hw/xprint/ddxInit.c
index 6cd3cfd3c..1e7652e60 100644
--- a/xserver/hw/xprint/ddxInit.c
+++ b/xserver/hw/xprint/ddxInit.c
@@ -89,6 +89,12 @@ InitOutput(
}
+void
+DDXRingBell(int volume, int pitch, int duration)
+{
+ /* dummy func; link fails without */
+}
+
static void
BellProc(
int volume,
@@ -156,9 +162,9 @@ PointerProc(
{
map[0] = 0;
InitPointerDeviceStruct(pPtr, map, NUM_BUTTONS,
- miPointerGetMotionEvents,
+ GetMotionHistory,
(PtrCtrlProcPtr)_XpVoidNoop,
- miPointerGetMotionBufferSize());
+ GetMotionHistorySize(), 2);
break;
}
case DEVICE_ON:
@@ -189,7 +195,7 @@ InitInput(
Bool
LegalModifier(
unsigned int key,
- DevicePtr dev)
+ DeviceIntPtr dev)
{
return TRUE;
}
@@ -304,6 +310,17 @@ ChangeDeviceControl (
return BadMatch;
}
+int
+NewInputDeviceRequest(InputOption *options, DeviceIntPtr *pdev)
+{
+ return BadValue;
+}
+
+void
+DeleteInputDeviceRequest(DeviceIntPtr dev)
+{
+}
+
void
OpenInputDevice (
DeviceIntPtr dev,