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/dmxinput_8h.html | 959 ++++++++++++++------------- 1 file changed, 508 insertions(+), 451 deletions(-) (limited to 'xorg-server/hw/dmx/doc/html/dmxinput_8h.html') diff --git a/xorg-server/hw/dmx/doc/html/dmxinput_8h.html b/xorg-server/hw/dmx/doc/html/dmxinput_8h.html index fab2a374d..d2c887e08 100644 --- a/xorg-server/hw/dmx/doc/html/dmxinput_8h.html +++ b/xorg-server/hw/dmx/doc/html/dmxinput_8h.html @@ -6,520 +6,577 @@ - -
Main Page | Alphabetical List | Data Structures | File List | Data Fields | Globals
+ + +

dmxinput.h File Reference

-

-Go to the source code of this file. - - - - - - - - - - - -

Data Structures

struct  _DMXInputInfo

Defines

#define DMX_MAX_SIGIO_FDS   4

Typedefs

typedef _DMXLocalInputInfoDMXLocalInputInfoPtr

Enumerations

enum  DMXUpdateType {
-  DMX_UPDATE_REALIZE, -DMX_UPDATE_UNREALIZE, -DMX_UPDATE_RESTACK, -DMX_UPDATE_COPY, -
-  DMX_UPDATE_RESIZE, -DMX_UPDATE_REPARENT -
+

Go to the source code of this file.

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

Data Structures

struct  _DMXInputInfo

Defines

#define DMX_MAX_SIGIO_FDS   4

Typedefs

typedef void(* ProcessInputEventsProc )(struct _DMXInputInfo *)
typedef void(* UpdateWindowInfoProc )(struct _DMXInputInfo *, DMXUpdateType, WindowPtr)
typedef struct _DMXLocalInputInfoDMXLocalInputInfoPtr

Enumerations

enum  DMXUpdateType {
+  DMX_UPDATE_REALIZE, +DMX_UPDATE_UNREALIZE, +DMX_UPDATE_RESTACK, +DMX_UPDATE_COPY, +
+  DMX_UPDATE_RESIZE, +DMX_UPDATE_REPARENT +
}
enum  dmxSigioState { DMX_NOSIGIO = 0, -DMX_USESIGIO, -DMX_ACTIVESIGIO +
enum  dmxSigioState { DMX_NOSIGIO = 0, +DMX_USESIGIO, +DMX_ACTIVESIGIO }

Functions

void dmxInputInit (DMXInputInfo *dmxInput)
void dmxInputReInit (DMXInputInfo *dmxInput)
void dmxInputLateReInit (DMXInputInfo *dmxInput)
void dmxInputFree (DMXInputInfo *dmxInput)
void dmxInputLogDevices (void)
void dmxUpdateWindowInfo (DMXUpdateType type, WindowPtr pWindow)
void dmxeqEnqueue (xEvent *e)
void dmxeqSwitchScreen (ScreenPtr pScreen, Bool fromDIX)
void dmxGetGlobalPosition (int *x, int *y)

Variables

int dmxNumInputs
DMXInputInfodmxInputs
-

Detailed Description

-This file provides access to:
    -
  • global variables available to all hw/dmx routines, and
  • enumerations and typedefs needed by input routines in hw/dmx (and hw/dmx/input).
-

-The goal is that no files in hw/dmx should include header files from hw/dmx/input -- the interface defined here should be the only interface exported to the hw/dmx layer.

See also:
input/dmxinputinit.c.
-

Define Documentation

-

- - - - -
- - - + + + + + + + + + + + + + + + +
#define DMX_MAX_SIGIO_FDS   4 +
enum  DMXBlockType { DMX_NO_BLOCK = 0, +DMX_BLOCK = 1 + }

Functions

void dmxInputInit (DMXInputInfo *dmxInput)
void dmxInputReInit (DMXInputInfo *dmxInput)
void dmxInputLateReInit (DMXInputInfo *dmxInput)
void dmxInputFree (DMXInputInfo *dmxInput)
void dmxInputLogDevices (void)
void dmxUpdateWindowInfo (DMXUpdateType type, WindowPtr pWindow)
void dmxeqSwitchScreen (DeviceIntPtr pDev, ScreenPtr pScreen, Bool fromDIX)
void dmxGetGlobalPosition (int *x, int *y)
DMXScreenInfodmxFindFirstScreen (int x, int y)
void dmxCoreMotion (DevicePtr pDev, int x, int y, int delta, DMXBlockType block)
DMXInputInfodmxConfigAddInput (const char *name, int core)

Variables

int dmxNumInputs
DMXInputInfodmxInputs
+

Detailed Description

+

This file provides access to:

+
    +
  • global variables available to all hw/dmx routines, and
  • +
  • enumerations and typedefs needed by input routines in hw/dmx (and hw/dmx/input).
  • +
+

The goal is that no files in hw/dmx should include header files from hw/dmx/input -- the interface defined here should be the only interface exported to the hw/dmx layer.

+
See also:
input/dmxinputinit.c.
+

Define Documentation

+ +
+
+ + + +
#define DMX_MAX_SIGIO_FDS   4
-
- - - - - -
-   - - -

-Maximum number of file descriptors for SIGIO handling

-


Typedef Documentation

-

- - -
- - - - -
typedef struct _DMXLocalInputInfo* DMXLocalInputInfoPtr + +
+

Maximum number of file descriptors for SIGIO handling

+ +

Referenced by dmxSigioRegister().

+ +
+ +

Typedef Documentation

+ +
+
+ + + +
typedef struct _DMXLocalInputInfo* DMXLocalInputInfoPtr
-
- - - - - -
-   - - -

-An opaque structure that is only exposed in the dmx/input layer.

-

Enumeration Type Documentation

-

- - -
- - - - -
enum dmxSigioState + +
+

An opaque structure that is only exposed in the dmx/input layer.

+ +
+ + +
+
+ + + +
typedef void(* ProcessInputEventsProc)(struct _DMXInputInfo *)
-
- - - - - -
-   - - -

-State of the SIGIO engine

Enumeration values:
- - - - -
DMX_NOSIGIO  -Device does not use SIGIO at all.
DMX_USESIGIO  -Device can use SIGIO, but is not (e.g., because the VT is switch away).
DMX_ACTIVESIGIO  -Device is currently using SIGIO.
+ +
+ +
+ + +
+
+ + + + +
typedef void(* UpdateWindowInfoProc)(struct _DMXInputInfo *, DMXUpdateType, WindowPtr)
+
+
+ +
+
+

Enumeration Type Documentation

+ +
+
+ + + + +
enum DMXBlockType
+
+
+
Enumerator:
+ + +
DMX_NO_BLOCK  +
DMX_BLOCK  +
+
-
-

- - - - -
- + + + + +
+
+
- +
enum DMXUpdateType + enum dmxSigioState
-
- - - - - -
-   - - -

-Reason why window layout was updated.

Enumeration values:
- - - - - - - -
DMX_UPDATE_REALIZE  -Window realized
DMX_UPDATE_UNREALIZE  -Window unrealized
DMX_UPDATE_RESTACK  -Stacking order changed
DMX_UPDATE_COPY  -Window copied
DMX_UPDATE_RESIZE  -Window resized
DMX_UPDATE_REPARENT  -Window reparented
+ +
+

State of the SIGIO engine

+
Enumerator:
+ + + +
DMX_NOSIGIO  +

Device does not use SIGIO at all.

+
DMX_USESIGIO  +

Device can use SIGIO, but is not (e.g., because the VT is switch away).

+
DMX_ACTIVESIGIO  +

Device is currently using SIGIO.

+
+
-
-


Function Documentation

-

- - - - -
- + + + + +
+
+
- - - - - - + +
void dmxeqEnqueue xEvent *  e  ) enum DMXUpdateType
+ +
+

Reason why window layout was updated.

+
Enumerator:
+ + + + + + +
DMX_UPDATE_REALIZE  +

Window realized

+
DMX_UPDATE_UNREALIZE  +

Window unrealized

+
DMX_UPDATE_RESTACK  +

Stacking order changed

+
DMX_UPDATE_COPY  +

Window copied

+
DMX_UPDATE_RESIZE  +

Window resized

+
DMX_UPDATE_REPARENT  +

Window reparented

+
+
+
+
+ +

Function Documentation

+ +
+
+ + + + + + + + + + + + + + + + + +
DMXInputInfo* dmxConfigAddInput (const char *  name,
int  core 
)
-
- - - - - -
-   - - -

-This function adds an event to the end of the queue. If the event is an XInput event, then the next event (the valuator event) is also stored in the queue. If the new event has a time before the time of the last event currently on the queue, then the time is updated for the new event.

-Must be reentrant with ProcessInputEvents. Assumption: dmxeqEnqueue will never be interrupted. If this is called from both signal handlers and regular code, make sure the signal is suspended when called from regular code.

-

- - - - -
- + + + + +
+
+
- - - - + + + + + + + + + + - - + + + - - + + + + + + + + + + + + + -
void dmxeqSwitchScreen ScreenPtr  pScreen, void dmxCoreMotion (DevicePtr  pDev,
int  x,
Bool  fromDIXint  y,
int  delta,
DMXBlockType  block 
)
-
- - - - - -
-   - - -

-Make pScreen the new screen for enqueueing events. If fromDIX is TRUE, also make pScreen the new screen for dequeuing events.

-

- - - - -
- + + + + +
+
+
- - - - + + + + + + + + + + - - + + - - + + -
void dmxGetGlobalPosition int *  x, void dmxeqSwitchScreen (DeviceIntPtr  pDev,
ScreenPtr  pScreen,
int *  yBool  fromDIX 
)
-
- - - - - -
-   - - -

-Return DMX's notion of the pointer position in the global coordinate space.

-

- - - - -
- + +
+ +
+ + +
+
+
- - - - - - + + + + - -
void dmxInputFree DMXInputInfo dmxInput  ) DMXScreenInfo* dmxFindFirstScreen (int  x,
-
- - - - - -
-   - - -

-Free all of the memory associated with dmxInput

-

- - - - -
- - - - - - - + + + + + + + + + -
void dmxInputInit DMXInputInfo dmxInput  ) int  y 
)
-
- - - - - -
-   - - -

-Initialize all of the devices described in dmxInput.

-

- - - - -
- + +
+ +

References dmxNumScreens, dmxOnScreen(), and dmxScreens.

+ +

Referenced by dmxCheckCursor(), and dmxCoreMotion().

+ +
+ + +
+
+
+ + + + + + + + + + + + - - - - - - + + + +
void dmxGetGlobalPosition (int *  x,
int *  y 
void dmxInputLateReInit DMXInputInfo dmxInput  ) )
+ +
+

Return DMX's notion of the pointer position in the global coordinate space.

+ +

References dmxGlobalX, and dmxGlobalY.

+

Referenced by dmxBackendLateReInit(), dmxCheckCursor(), dmxConsoleUpdateFineCursor(), dmxHideCursor(), and dmxSetCursor().

+ +
+ + +
+
+ + + + + + + + +
void dmxInputFree (DMXInputInfo dmxInput ) 
-
- - - - - -
-   - - -

-Re-initialize all the devices described in dmxInput. Called from #dmxReconfig after the cursor is redisplayed.

-

- - - - -
- + + + + +
+
+
- - - - - - + + + + + + +
void dmxInputLogDevices void   ) void dmxInputInit (DMXInputInfo dmxInput ) 
+ + + + +
+
+ + + + + + + + +
void dmxInputLateReInit (DMXInputInfo dmxInput ) 
-
- - - - - -
-   - - -

-Log information about all of the known devices using dmxLog().

-

- - - - -
- + +
+

Re-initialize all the devices described in dmxInput. Called from dmxAdjustCursorBoundaries after the cursor is redisplayed.

+ +

References _DMXInputInfo::devs, _DMXLocalInputInfo::latereinit, _DMXInputInfo::numDevs, and _DMXLocalInputInfo::pDevice.

+ +

Referenced by dmxAdjustCursorBoundaries().

+ +
+ + +
+
+
- - - - - - + + + + + + +
void dmxInputReInit DMXInputInfo dmxInput  ) void dmxInputLogDevices (void  ) 
+ + + + +
+
+ + + + + + + + +
void dmxInputReInit (DMXInputInfo dmxInput ) 
-
- - - - - -
-   - - -

-Re-initialize all the devices described in dmxInput. Called from #dmxReconfig before the cursor is redisplayed.

-

- - - - -
- + +
+

Re-initialize all the devices described in dmxInput. Called from dmxAdjustCursorBoundaries before the cursor is redisplayed.

+ +

References _DMXInputInfo::devs, _DMXInputInfo::numDevs, _DMXLocalInputInfo::pDevice, and _DMXLocalInputInfo::reinit.

+ +

Referenced by dmxAdjustCursorBoundaries().

+ +
+ + +
+
+
- - - - + + + + + - - - + + - - + + -
void dmxUpdateWindowInfo DMXUpdateType  type, void dmxUpdateWindowInfo (DMXUpdateType  type,
WindowPtr  pWindowWindowPtr  pWindow 
)
-
- - - - - -
-   - - -

-This routine is called from #dmxwindow.c whenever the layout of windows on the display might have changed. This information is used by input drivers (currently only the console driver) that provide information about window layout to the user.

-


Variable Documentation

-

- - -
- - - - -
DMXInputInfo* dmxInputs + +
+

This routine is called from dmxwindow.c whenever the layout of windows on the display might have changed. This information is used by input drivers (currently only the console driver) that provide information about window layout to the user.

+ +

References _DMXInputInfo::detached, dmxInputs, dmxNumInputs, and _DMXInputInfo::updateWindowInfo.

+ +

Referenced by dmxCopyWindow(), dmxRealizeWindow(), dmxReparentWindow(), dmxResizeWindow(), dmxRestackWindow(), and dmxUnrealizeWindow().

+ +
+ +

Variable Documentation

+ +
+
+ + + +
DMXInputInfo* dmxInputs
-
- - - - - -
-   - - -

-List of inputs

-

- - - - -
- + + + + +
+
+
- +
int dmxNumInputs + int dmxNumInputs
-
- - - - - -
-   - - -

-Number of dmxInputs

+ +

+ +
-- cgit v1.2.3