head 1.2; access; symbols netbsd-7-2-RELEASE:1.1.1.1 netbsd-7-1-2-RELEASE:1.1.1.1 netbsd-7-1-1-RELEASE:1.1.1.1 netbsd-7-1:1.1.1.1.0.30 netbsd-7-1-RELEASE:1.1.1.1 netbsd-7-1-RC2:1.1.1.1 netbsd-7-1-RC1:1.1.1.1 netbsd-7-0-2-RELEASE:1.1.1.1 netbsd-7-0-1-RELEASE:1.1.1.1 netbsd-7-0:1.1.1.1.0.28 netbsd-7-0-RELEASE:1.1.1.1 netbsd-7-0-RC3:1.1.1.1 netbsd-7-0-RC2:1.1.1.1 netbsd-7-0-RC1:1.1.1.1 netbsd-5-2-3-RELEASE:1.1.1.1 netbsd-5-1-5-RELEASE:1.1.1.1 netbsd-6-0-6-RELEASE:1.1.1.1 netbsd-6-1-5-RELEASE:1.1.1.1 netbsd-7:1.1.1.1.0.26 netbsd-7-base:1.1.1.1 netbsd-6-1-4-RELEASE:1.1.1.1 netbsd-6-0-5-RELEASE:1.1.1.1 riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.1.1.1 riastradh-drm2:1.1.1.1.0.24 riastradh-drm2-base:1.1.1.1 netbsd-6-1-3-RELEASE:1.1.1.1 netbsd-6-0-4-RELEASE:1.1.1.1 netbsd-5-2-2-RELEASE:1.1.1.1 netbsd-5-1-4-RELEASE:1.1.1.1 netbsd-6-1-2-RELEASE:1.1.1.1 netbsd-6-0-3-RELEASE:1.1.1.1 netbsd-5-2-1-RELEASE:1.1.1.1 netbsd-5-1-3-RELEASE:1.1.1.1 netbsd-6-1-1-RELEASE:1.1.1.1 netbsd-6-1:1.1.1.1.0.22 netbsd-6-0-2-RELEASE:1.1.1.1 netbsd-6-1-RELEASE:1.1.1.1 netbsd-6-1-RC4:1.1.1.1 netbsd-6-1-RC3:1.1.1.1 netbsd-6-1-RC2:1.1.1.1 netbsd-6-1-RC1:1.1.1.1 netbsd-5-2:1.1.1.1.0.20 netbsd-6-0-1-RELEASE:1.1.1.1 netbsd-5-2-RELEASE:1.1.1.1 netbsd-5-2-RC1:1.1.1.1 netbsd-6-0:1.1.1.1.0.18 netbsd-6-0-RELEASE:1.1.1.1 netbsd-6-0-RC2:1.1.1.1 netbsd-6-0-RC1:1.1.1.1 netbsd-6:1.1.1.1.0.16 netbsd-6-base:1.1.1.1 netbsd-5-1-2-RELEASE:1.1.1.1 netbsd-5-1-1-RELEASE:1.1.1.1 netbsd-5-1:1.1.1.1.0.14 netbsd-5-1-RELEASE:1.1.1.1 netbsd-5-1-RC4:1.1.1.1 netbsd-5-1-RC3:1.1.1.1 netbsd-5-1-RC2:1.1.1.1 netbsd-5-1-RC1:1.1.1.1 netbsd-5-0-2-RELEASE:1.1.1.1 netbsd-5-0-1-RELEASE:1.1.1.1 netbsd-5-0:1.1.1.1.0.12 netbsd-5-0-RELEASE:1.1.1.1 netbsd-5-0-RC4:1.1.1.1 netbsd-5-0-RC3:1.1.1.1 netbsd-5-0-RC2:1.1.1.1 netbsd-5-0-RC1:1.1.1.1 netbsd-5:1.1.1.1.0.10 netbsd-5-base:1.1.1.1 netbsd-4-0-1-RELEASE:1.1.1.1 netbsd-4-0:1.1.1.1.0.8 netbsd-4-0-RELEASE:1.1.1.1 netbsd-4-0-RC5:1.1.1.1 netbsd-4-0-RC4:1.1.1.1 netbsd-4-0-RC3:1.1.1.1 netbsd-4-0-RC2:1.1.1.1 netbsd-4-0-RC1:1.1.1.1 netbsd-3-1-1-RELEASE:1.1.1.1.2.2 netbsd-3-0-3-RELEASE:1.1.1.1.2.2 abandoned-netbsd-4-base:1.1.1.1 abandoned-netbsd-4:1.1.1.1.0.4 netbsd-3-1:1.1.1.1.2.2.0.4 netbsd-3-1-RELEASE:1.1.1.1.2.2 netbsd-3-0-2-RELEASE:1.1.1.1.2.2 netbsd-3-1-RC4:1.1.1.1.2.2 netbsd-3-1-RC3:1.1.1.1.2.2 netbsd-3-1-RC2:1.1.1.1.2.2 netbsd-3-1-RC1:1.1.1.1.2.2 netbsd-4:1.1.1.1.0.6 netbsd-4-base:1.1.1.1 netbsd-3-0-1-RELEASE:1.1.1.1.2.2 netbsd-3-0:1.1.1.1.2.2.0.2 netbsd-3-0-RELEASE:1.1.1.1.2.2 netbsd-3-0-RC6:1.1.1.1.2.2 netbsd-3-0-RC5:1.1.1.1.2.2 netbsd-3-0-RC4:1.1.1.1.2.2 netbsd-3-0-RC3:1.1.1.1.2.2 netbsd-3-0-RC2:1.1.1.1.2.2 netbsd-3-0-RC1:1.1.1.1.2.2 netbsd-3:1.1.1.1.0.2 v4-5-0:1.1.1.1 XF86:1.1.1; locks; strict; comment @# @; 1.2 date 2015.07.23.08.13.31; author mrg; state dead; branches; next 1.1; commitid 3Fk7MoycOv7VSnuy; 1.1 date 2005.03.18.13.11.00; author tron; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2005.03.18.13.11.00; author tron; state Exp; branches 1.1.1.1.2.1; next ; 1.1.1.1.2.1 date 2005.03.18.13.11.00; author tron; state dead; branches; next 1.1.1.1.2.2; 1.1.1.1.2.2 date 2005.04.06.20.00.30; author tron; state Exp; branches; next ; desc @@ 1.2 log @remove obsolete XFree86 sources. @ text @ File Index
Main Page | Alphabetical List | Data Structures | File List | Data Fields | Globals

dmxmotion.h File Reference

Go to the source code of this file.

Functions

int dmxPointerGetMotionBufferSize (void)
int dmxPointerGetMotionEvents (DeviceIntPtr pDevice, xTimecoord *coords, unsigned long start, unsigned long stop, ScreenPtr pScreen)
void dmxPointerPutMotionEvent (DeviceIntPtr pDevice, int firstAxis, int axesCount, int *v, unsigned long time)


Detailed Description

Interface to functions supporting motion events.
See also:
dmxmotion.c

Function Documentation

int dmxPointerGetMotionBufferSize void   ) 
 

Return size of motion buffer.

See also:
DMX_MOTION_SIZE

int dmxPointerGetMotionEvents DeviceIntPtr  pDevice,
xTimecoord *  coords,
unsigned long  start,
unsigned long  stop,
ScreenPtr  pScreen
 

This routine performs the same function as miPointerGetMotionEvents: the events in the motion history that are between the start and stop times (in mS) are placed in the coords vector, and the count of the number of items so placed is returned. This routine is called from dix/devices.c so that coords can hold valuator->numMotionEvents events. This routine is called from Xi/gtmotion.c with coords large enough to hold the same number of events in a variable-length extended xTimecoord structure. This provides sufficient data for the XGetDeviceMotionEvents library call, and would be identical to miPointerGetMotionEvents for devices with only 2 axes (i.e., core pointers) if xTimecoord used 32bit integers.

Because DMX uses the mi* routines for all core devices, this routine only has to support extension devices using the polymorphic coords. Because compatibility with miPointerGetMotionEvents is not possible, it is not provided.

void dmxPointerPutMotionEvent DeviceIntPtr  pDevice,
int  firstAxis,
int  axesCount,
int *  v,
unsigned long  time
 

This routine adds an event to the motion history. A similar function is performed by miPointerMove for the mi versions of these routines.


Generated June 29, 2004 for Distributed Multihead X by doxygen 1.3.4. @ 1.1 log @Initial revision @ text @@ 1.1.1.1 log @Import of XFree86 4.5.0. @ text @@ 1.1.1.1.2.1 log @file dmxmotion_8h.html was added on branch netbsd-3 on 2005-04-06 20:00:30 +0000 @ text @d1 180 @ 1.1.1.1.2.2 log @Apply patch (requested by jmc in ticket #114): Update XFree86 to version 4.5.0. @ text @a0 180 File Index
Main Page | Alphabetical List | Data Structures | File List | Data Fields | Globals

dmxmotion.h File Reference

Go to the source code of this file.

Functions

int dmxPointerGetMotionBufferSize (void)
int dmxPointerGetMotionEvents (DeviceIntPtr pDevice, xTimecoord *coords, unsigned long start, unsigned long stop, ScreenPtr pScreen)
void dmxPointerPutMotionEvent (DeviceIntPtr pDevice, int firstAxis, int axesCount, int *v, unsigned long time)


Detailed Description

Interface to functions supporting motion events.
See also:
dmxmotion.c

Function Documentation

int dmxPointerGetMotionBufferSize void   ) 
 

Return size of motion buffer.

See also:
DMX_MOTION_SIZE

int dmxPointerGetMotionEvents DeviceIntPtr  pDevice,
xTimecoord *  coords,
unsigned long  start,
unsigned long  stop,
ScreenPtr  pScreen
 

This routine performs the same function as miPointerGetMotionEvents: the events in the motion history that are between the start and stop times (in mS) are placed in the coords vector, and the count of the number of items so placed is returned. This routine is called from dix/devices.c so that coords can hold valuator->numMotionEvents events. This routine is called from Xi/gtmotion.c with coords large enough to hold the same number of events in a variable-length extended xTimecoord structure. This provides sufficient data for the XGetDeviceMotionEvents library call, and would be identical to miPointerGetMotionEvents for devices with only 2 axes (i.e., core pointers) if xTimecoord used 32bit integers.

Because DMX uses the mi* routines for all core devices, this routine only has to support extension devices using the polymorphic coords. Because compatibility with miPointerGetMotionEvents is not possible, it is not provided.

void dmxPointerPutMotionEvent DeviceIntPtr  pDevice,
int  firstAxis,
int  axesCount,
int *  v,
unsigned long  time
 

This routine adds an event to the motion history. A similar function is performed by miPointerMove for the mi versions of these routines.


Generated June 29, 2004 for Distributed Multihead X by doxygen 1.3.4. @