From f4092abdf94af6a99aff944d6264bc1284e8bdd4 Mon Sep 17 00:00:00 2001 From: Reinhard Tartler Date: Mon, 10 Oct 2011 17:43:39 +0200 Subject: Imported nx-X11-3.1.0-1.tar.gz Summary: Imported nx-X11-3.1.0-1.tar.gz Keywords: Imported nx-X11-3.1.0-1.tar.gz into Git repository --- .../Xserver/hw/dmx/doc/html/lnx-ms_8c.html | 352 +++++++++++++++++++++ 1 file changed, 352 insertions(+) create mode 100644 nx-X11/programs/Xserver/hw/dmx/doc/html/lnx-ms_8c.html (limited to 'nx-X11/programs/Xserver/hw/dmx/doc/html/lnx-ms_8c.html') diff --git a/nx-X11/programs/Xserver/hw/dmx/doc/html/lnx-ms_8c.html b/nx-X11/programs/Xserver/hw/dmx/doc/html/lnx-ms_8c.html new file mode 100644 index 000000000..e77e562a4 --- /dev/null +++ b/nx-X11/programs/Xserver/hw/dmx/doc/html/lnx-ms_8c.html @@ -0,0 +1,352 @@ + + + + + File Index + + + + +
Main Page | Alphabetical List | Data Structures | File List | Data Fields | Globals
+

lnx-ms.c File Reference

#include "inputstr.h"
+#include "Xos.h"
+#include <errno.h>
+#include <termios.h>
+#include "dmxinputinit.h"
+#include "lnx-ms.h"
+ + + + + + + + + + + + + + + + + + + + + + + + +

Data Structures

struct  _myPrivate

Functions

void msLinuxRead (DevicePtr pDev, MOTIONPROC motion, ENQUEUEPROC enqueue, CHECKPROC checkspecial, BLOCK block)
void msLinuxInit (DevicePtr pDev)
int msLinuxOn (DevicePtr pDev)
void msLinuxOff (DevicePtr pDev)
void msLinuxVTPreSwitch (pointer p)
void msLinuxVTPostSwitch (pointer p)
pointer msLinuxCreatePrivate (DeviceIntPtr pMouse)
void msLinuxDestroyPrivate (pointer priv)
void msLinuxGetInfo (DevicePtr pDev, DMXLocalInitInfoPtr info)
+

Detailed Description

+This code implements a low-level device driver for a serial MS mouse. The code is derived from code by Juliusz Chroboczek and Keith Packard (see the source code for complete references).

Function Documentation

+

+ + + + +
+ + + + + + + + + + +
pointer msLinuxCreatePrivate DeviceIntPtr  pMouse  ) 
+
+ + + + + +
+   + + +

+Create a private structure for use within this file.

+

+ + + + +
+ + + + + + + + + + +
void msLinuxDestroyPrivate pointer  priv  ) 
+
+ + + + + +
+   + + +

+Destroy a private structure.

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
void msLinuxGetInfo DevicePtr  pDev,
DMXLocalInitInfoPtr  info
+
+ + + + + +
+   + + +

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

+

+ + + + +
+ + + + + + + + + + +
void msLinuxInit DevicePtr  pDev  ) 
+
+ + + + + +
+   + + +

+Initialize pDev.

+

+ + + + +
+ + + + + + + + + + +
void msLinuxOff DevicePtr  pDev  ) 
+
+ + + + + +
+   + + +

+Turn pDev off (i.e., stop taking input from pDev).

+

+ + + + +
+ + + + + + + + + + +
int msLinuxOn DevicePtr  pDev  ) 
+
+ + + + + +
+   + + +

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

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void msLinuxRead DevicePtr  pDev,
MOTIONPROC  motion,
ENQUEUEPROC  enqueue,
CHECKPROC  checkspecial,
BLOCK  block
+
+ + + + + +
+   + + +

+Read an event from the pDev device. If the event is a motion event, enqueue it with the motion function. Otherwise, check for special keys with the checkspecial function and enqueue the event with the enqueue function. The block type is passed to the functions so that they may block SIGIO handling as appropriate to the caller of this function.

+

+ + + + +
+ + + + + + + + + + +
void msLinuxVTPostSwitch pointer  p  ) 
+
+ + + + + +
+   + + +

+Currently unused hook called after returning from a VT switch.

+

+ + + + +
+ + + + + + + + + + +
void msLinuxVTPreSwitch pointer  p  ) 
+
+ + + + + +
+   + + +

+Currently unused hook called prior to an VT switch.

+


+
+ + Generated June 29, 2004 for Distributed Multihead X by + doxygen + 1.3.4. + + + + + -- cgit v1.2.3