summaryrefslogtreecommitdiff
path: root/src/acecad.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/acecad.h')
-rw-r--r--src/acecad.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/acecad.h b/src/acecad.h
index d1ec950..ef4431b 100644
--- a/src/acecad.h
+++ b/src/acecad.h
@@ -23,7 +23,7 @@
*
*
*/
-/* $XFree86: xc/programs/Xserver/hw/xfree86/input/acecad/acecad.h,v 1.1 2001/08/13 19:35:00 dawes Exp $ */
+/* $XFree86: xc/programs/Xserver/hw/xfree86/input/acecad/acecad.h,v 1.3 2003/11/06 18:38:11 tsi Exp $ */
#ifndef _ACECAD_H_
#define _ACECAD_H_
@@ -88,24 +88,28 @@ typedef struct
/******************************************************************************
* Declarations
*****************************************************************************/
+#ifdef XFree86LOADER
static MODULESETUPPROTO( SetupProc );
static void TearDownProc (void *);
+#endif
static Bool DeviceControl (DeviceIntPtr, int);
static Bool DeviceOn (DeviceIntPtr);
static Bool DeviceOff (DeviceIntPtr);
static Bool DeviceClose (DeviceIntPtr);
static Bool DeviceInit (DeviceIntPtr);
static void ReadInput (LocalDevicePtr);
-static void USBReadInput (LocalDevicePtr);
static void CloseProc (LocalDevicePtr);
static Bool ConvertProc (LocalDevicePtr, int, int, int, int, int, int, int, int, int *, int *);
static Bool ReverseConvertProc(LocalDevicePtr , int , int , int*);
static Bool QueryHardware (AceCadPrivatePtr);
-static Bool USBQueryHardware (LocalDevicePtr);
static void NewPacket (AceCadPrivatePtr priv);
static Bool AceCadGetPacket (AceCadPrivatePtr);
static InputInfoPtr AceCadPreInit(InputDriverPtr, IDevPtr , int);
+#ifdef LINUX_INPUT
+static void USBReadInput (LocalDevicePtr);
+static Bool USBQueryHardware (LocalDevicePtr);
static int IsUSBLine(int);
+#endif
#endif