From 1f876171067c04fc21fccd5a3051f982fd85c0f0 Mon Sep 17 00:00:00 2001 From: marha Date: Wed, 21 Oct 2009 19:07:36 +0000 Subject: Updated to xorg-server-1.7.99.1 --- xorg-server/hw/dmx/doc/html/usb-other_8c.html | 505 +++++++++++++++++++------- 1 file changed, 379 insertions(+), 126 deletions(-) (limited to 'xorg-server/hw/dmx/doc/html/usb-other_8c.html') diff --git a/xorg-server/hw/dmx/doc/html/usb-other_8c.html b/xorg-server/hw/dmx/doc/html/usb-other_8c.html index 284b4b79b..449fc4d45 100644 --- a/xorg-server/hw/dmx/doc/html/usb-other_8c.html +++ b/xorg-server/hw/dmx/doc/html/usb-other_8c.html @@ -6,177 +6,430 @@ - -
Main Page | Alphabetical List | Data Structures | File List | Data Fields | Globals
-

usb-other.c File Reference

#include "usb-private.h"
-#include "dmxinputinit.h"
-#include "usb-other.h"
- - - - + + +
+

usb-other.c File Reference

#include "usb-private.h"
+#include "dmxinputinit.h"
+#include "usb-other.h"
+

Functions

void othUSBRead (DevicePtr pDev, MOTIONPROC motion, ENQUEUEPROC enqueue, CHECKPROC checkspecial, BLOCK block)
+ + + + + + + + + + + + + + + + + + + +

Defines

#define GETPRIV
#define LOG0(f)   dmxLog(dmxDebug,f)
#define LOG1(f, a)   dmxLog(dmxDebug,f,a)
#define LOG2(f, a, b)   dmxLog(dmxDebug,f,a,b)
#define LOG3(f, a, b, c)   dmxLog(dmxDebug,f,a,b,c)
#define FATAL0(f)   dmxLog(dmxFatal,f)
#define FATAL1(f, a)   dmxLog(dmxFatal,f,a)
#define FATAL2(f, a, b)   dmxLog(dmxFatal,f,a,b)
#define MOTIONPROC   dmxMotionProcPtr
#define ENQUEUEPROC   dmxEnqueueProcPtr
#define CHECKPROC   dmxCheckSpecialProcPtr
#define BLOCK   DMXBlockType
#define test_bit(bit)   (priv->mask[(bit)/8] & (1 << ((bit)%8)))

Functions

void othUSBRead (DevicePtr pDev, MOTIONPROC motion, ENQUEUEPROC enqueue, CHECKPROC checkspecial, BLOCK block)
void othUSBInit (DevicePtr pDev)
int othUSBOn (DevicePtr pDev)
void othUSBGetInfo (DevicePtr pDev, DMXLocalInitInfoPtr info)
+

Detailed Description

+

This code implements a low-level device driver for a non-keyboard, non-mouse USB device (e.g., a joystick or gamepad).

+

Define Documentation

+ +
+
+ + + + +
#define BLOCK   DMXBlockType
+
+
-void othUSBInit (DevicePtr pDev) +
+
+ +
+
+ + + + +
#define CHECKPROC   dmxCheckSpecialProcPtr
+
+
-int othUSBOn (DevicePtr pDev) +
+
+ +
+
+ + + + +
#define ENQUEUEPROC   dmxEnqueueProcPtr
+
+
-void othUSBGetInfo (DevicePtr pDev, DMXLocalInitInfoPtr info) +
+
+ +
+
+ + + + + + + + + +
#define FATAL0( )    dmxLog(dmxFatal,f)
+
+
- -

Detailed Description

-This code implements a low-level device driver for a non-keyboard, non-mouse USB device (e.g., a joystick or gamepad).

Function Documentation

-

- - - - -
- + + + +
+
+
- - - - + + + + + + + + + +
void othUSBGetInfo DevicePtr  pDev, #define FATAL1(f,
 )    dmxLog(dmxFatal,f,a)
+ +
+ +
+ + +
+
+ + + + + + + + - - + + - - + + + + +
#define FATAL2(f,
DMXLocalInitInfoPtr  infoa,
 )    dmxLog(dmxFatal,f,a,b)
+
+
+
+
+ +
+
+ + + +
#define GETPRIV
-
- - - - - -
-   - - -

-Fill the info structure with information needed to initialize pDev.

-

- - - - -
- + +
+Value:
myPrivate *priv                            \
+                      = ((DMXLocalInputInfoPtr)(pDev->devicePrivate))->private
+
+
+ + +
+
+
- - - - - - + + + + + + +
void othUSBInit DevicePtr  pDev  ) #define LOG0( )    dmxLog(dmxDebug,f)
+ +
+
+ + +
+
+ + + + + + + + + + + + + +
#define LOG1(f,
 )    dmxLog(dmxDebug,f,a)
-
- - - - - -
-   - - -

-Initialize pDev using usbInit.

-

- - - - -
- + +
+ +
+ + +
+
+
+ + + + + + + + + + + + + + + + + + +
#define LOG2(f,
a,
 )    dmxLog(dmxDebug,f,a,b)
+ +
+ +
+ + +
+
+ - - - - - - + + + + + + + + + + + + + + + + + + + + + +
int othUSBOn DevicePtr  pDev  ) #define LOG3(f,
a,
b,
 )    dmxLog(dmxDebug,f,a,b,c)
+
+
+ +
+
+ +
+
+ + + + +
#define MOTIONPROC   dmxMotionProcPtr
+
+
+
+
+ +
+
+ + + + + + + + +
#define test_bit(bit  )    (priv->mask[(bit)/8] & (1 << ((bit)%8)))
-
- - - - - -
-   - - -

-Turn pDev on (i.e., take input from pDev).

-

- - - - -
- + +
+ +
+ +

Function Documentation

+ +
+
+
- - - - + + + + + + + + + - - + + +
void othUSBRead DevicePtr  pDev, void othUSBGetInfo (DevicePtr  pDev,
DMXLocalInitInfoPtr  info 
MOTIONPROC  motion, )
+ + + + +
+
+ + + + + + + +
void othUSBInit (DevicePtr  pDev ) 
+
+
+

Initialize pDev using usbInit.

+ +

References usbInit(), and usbOther.

+ +

Referenced by othUSBOn().

+ +
+
+ +
+
+ + + + + + + - - + +
int othUSBOn (DevicePtr  pDev )  ENQUEUEPROC  enqueue,
+
+
+

Turn pDev on (i.e., take input from pDev).

+ +

References GETPRIV, and othUSBInit().

+ +
+
+ +
+
+ + + + + + + + + + + + - - + + + + + + + + - - + + - - + + -
void othUSBRead (DevicePtr  pDev,
MOTIONPROC  motion,
CHECKPROC  checkspecial, ENQUEUEPROC  enqueue,
CHECKPROC  checkspecial,
BLOCK  blockBLOCK  block 
)
-
- - - - - -
-   - - -

-Read the USB device using usbRead.

+

+
+

Read the USB device using usbRead.

+ +

References usbRead().

+ +
+
+
-- cgit v1.2.3