head 1.2; access; symbols netbsd-7-2-RELEASE:1.1.1.3 netbsd-7-1-2-RELEASE:1.1.1.3 netbsd-7-1-1-RELEASE:1.1.1.3 netbsd-7-1:1.1.1.3.0.14 netbsd-7-1-RELEASE:1.1.1.3 netbsd-7-1-RC2:1.1.1.3 netbsd-7-1-RC1:1.1.1.3 netbsd-7-0-2-RELEASE:1.1.1.3 netbsd-7-0-1-RELEASE:1.1.1.3 netbsd-7-0:1.1.1.3.0.12 netbsd-7-0-RELEASE:1.1.1.3 netbsd-7-0-RC3:1.1.1.3 netbsd-7-0-RC2:1.1.1.3 netbsd-7-0-RC1:1.1.1.3 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.3 netbsd-6-1-5-RELEASE:1.1.1.3 netbsd-7:1.1.1.3.0.10 netbsd-7-base:1.1.1.3 netbsd-6-1-4-RELEASE:1.1.1.3 netbsd-6-0-5-RELEASE:1.1.1.3 riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.1.1.3 riastradh-drm2:1.1.1.3.0.8 riastradh-drm2-base:1.1.1.3 netbsd-6-1-3-RELEASE:1.1.1.3 netbsd-6-0-4-RELEASE:1.1.1.3 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.3 netbsd-6-0-3-RELEASE:1.1.1.3 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.3 xorg-server-1-10-6:1.1.1.3 netbsd-6-1:1.1.1.3.0.6 netbsd-6-0-2-RELEASE:1.1.1.3 netbsd-6-1-RELEASE:1.1.1.3 netbsd-6-1-RC4:1.1.1.3 netbsd-6-1-RC3:1.1.1.3 netbsd-6-1-RC2:1.1.1.3 netbsd-6-1-RC1:1.1.1.3 netbsd-5-2:1.1.1.1.0.8 netbsd-6-0-1-RELEASE:1.1.1.3 netbsd-5-2-RELEASE:1.1.1.1 netbsd-5-2-RC1:1.1.1.1 netbsd-6-0:1.1.1.3.0.4 netbsd-6-0-RELEASE:1.1.1.3 netbsd-6-0-RC2:1.1.1.3 netbsd-6-0-RC1:1.1.1.3 netbsd-6:1.1.1.3.0.2 netbsd-6-base:1.1.1.3 netbsd-5-1-2-RELEASE:1.1.1.1 netbsd-5-1-1-RELEASE:1.1.1.1 xorg-server-1-10-3:1.1.1.3 mrg-xorg-server-1-9-5-pre-1-10-3:1.1.1.2 xorg-server-1-9-5:1.1.1.2 xorg-server-1-9-2:1.1.1.2 netbsd-5-1:1.1.1.1.0.6 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 xorg-server-1-6-5:1.1.1.1 xorg-server-1-6-3:1.1.1.1 netbsd-5-0-1-RELEASE:1.1.1.1 xorg-server-1-6-2:1.1.1.1 xorg-server-1-6-1-901:1.1.1.1 netbsd-5-0:1.1.1.1.0.4 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.2 netbsd-5-base:1.1.1.1 xorg-server-1-4-2:1.1.1.1 xorg:1.1.1; locks; strict; comment @# @; 1.2 date 2016.08.11.00.04.28; author mrg; state dead; branches; next 1.1; commitid FQxwnZNPy5ZgOOhz; 1.1 date 2008.07.31.19.50.30; author mrg; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2008.07.31.19.50.30; author mrg; state Exp; branches; next 1.1.1.2; 1.1.1.2 date 2010.11.23.05.21.18; author mrg; state Exp; branches; next 1.1.1.3; 1.1.1.3 date 2011.08.02.06.56.50; author mrg; state Exp; branches; next ; desc @@ 1.2 log @first merge of netbsd changes. not tested yet. @ text @ File Index
Main Page | Alphabetical List | Data Structures | File List | Data Fields | Globals

dmxinput.c File Reference

#include "dmx.h"
#include "dmxlog.h"
#include "dmxinput.h"
#include "inputstr.h"
#include "input.h"

Functions

Bool LegalModifier (unsigned int key, DevicePtr pDev)
void InitInput (int argc, char **argv)
void ProcessInputEvents (void)
void dmxUpdateWindowInfo (DMXUpdateType type, WindowPtr pWindow)

Detailed Description

Provide the main entry points for input initialization and processing that arequired by the dix layer.

Function Documentation

void dmxUpdateWindowInfo DMXUpdateType  type,
WindowPtr  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.

void InitInput int  argc,
char **  argv
 

Called from dix/main.c on each server generation to initialize inputs. All the work is done in dmxInputInit.

See also:
dmxInputInit()

Bool LegalModifier unsigned int  key,
DevicePtr  pDev
 

Returns TRUE if the key is a valid modifier. For PC-class keyboards, all keys can be used as modifiers, so return TRUE always.

void ProcessInputEvents void   ) 
 

Called from dix/dispatch.c in Dispatch() whenever input events require processing. All the work is done in the lower level 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 @initial import of xorg-server-1.4.2 @ text @@ 1.1.1.2 log @import xorg-server 1.9.2. important changes since 1.6.5 include: - built-in symbol visibility, default not export - fixes for various crashes - many fixes for XI2, EXA, dix, render, glx, xkb, EDID, randr, Xv, resource handling, Xext, vfb, xfree86 / vga and composite support. - fixes several memory leaks - many many documentation updates - record extension enabled - no longer looks for XF86Config files @ text @d9 11 a19 58

dmxinput.c File Reference

#include "dmx.h"
#include "dmxlog.h"
#include "dmxinput.h"
#include "inputstr.h"
#include "input.h"
#include "mi.h"

Functions

Bool LegalModifier (unsigned int key, DeviceIntPtr pDev)
void InitInput (int argc, char **argv)
void CloseInput (void)
void ProcessInputEvents (void)
void dmxUpdateWindowInfo (DMXUpdateType type, WindowPtr pWindow)
int NewInputDeviceRequest (InputOption *options, InputAttributes *attrs, DeviceIntPtr *pdev)
void DeleteInputDeviceRequest (DeviceIntPtr pDev)

Detailed Description

Provide the main entry points for input initialization and processing that arequired by the dix layer.


Function Documentation

void CloseInput ( void   ) 
d21 1 a21 17
void DeleteInputDeviceRequest ( DeviceIntPtr  pDev  ) 
d23 1 a23 27
void dmxUpdateWindowInfo ( DMXUpdateType  type,
WindowPtr  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.

d25 1 a25 1

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

d27 8 a34 8

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

d36 4 a39 4 a41 1 d43 3 a45 2 d49 2 a50 2 d52 1 d54 19 a72 13

Called from dix/main.c on each server generation to initialize inputs. All the work is done in dmxInputInit.

See also:
dmxInputInit()

References dmxFatal, dmxInputInit(), dmxInputs, dmxLog(), and dmxNumInputs.

void InitInput ( int  argc, char **  argv )
d74 4 a77 4 a79 1 d81 3 a83 2 d87 2 a88 2 d90 1 d92 20 a111 10

Returns TRUE if the key is a valid modifier. For PC-class keyboards, all keys can be used as modifiers, so return TRUE always.

Bool LegalModifier ( unsigned int  key, DeviceIntPtr  pDev )
d113 4 a116 4 a118 1 a119 5 d121 2 a122 2 d126 2 a127 2 d129 1 d131 27 a157 2
a158 14
int NewInputDeviceRequest ( InputOption *  options, InputAttributes *  attrs,
DeviceIntPtr *  pdev )
d160 14 a173 11

Called from dix/dispatch.c in Dispatch() whenever input events require processing. All the work is done in the lower level routines.

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

Referenced by dmxCoreMotion().

@ 1.1.1.3 log @initial import of xorg-server 1.10.3. highlights include: - fixes xorg bugs 29969, 30367, 30527, 30267, 30260, 29046, 30260, 31548, 28672, 24887, 32115, 21457, 32436, 21827, 28414, 24703, 32803, 16318, 33449, 33324, 33929, 35082, 35209, 36146, 36119 - many additional NULL checks - adjustments related to input ABI 12 - *lots* of dead code removal - vga arbitrator fixes - GL fixes - EDID fixes - conversion to using asprintf() in many places - many fixes from valgrind, compiler warnings see these for more details: http://lists.freedesktop.org/archives/xorg-announce/2011-February/001612.html http://lists.freedesktop.org/archives/xorg-announce/2011-April/001646.html http://lists.freedesktop.org/archives/xorg-announce/2011-May/001675.html http://lists.freedesktop.org/archives/xorg-announce/2011-July/001710.html @ text @d9 3 a11 2
void ProcessInputEvents ( void   ) 
d41 7 a47 7 d49 3 a51 3

Detailed Description

Provide the main entry points for input initialization and processing that arequired by the dix layer.


Function Documentation

d59 3 a61 2 d77 3 a79 2 d95 2 a96 2 d101 2 a102 2 d107 1 a107 1 d127 2 a128 2 d133 2 a134 2 d139 1 a139 1 d158 2 a159 2 d164 2 a165 2 d170 1 a170 1 d186 2 a187 2 d192 2 a193 2 d198 2 a199 2 d204 1 a204 1 d219 3 a221 2 a235 4
Bool LegalModifier (unsigned int key, DeviceIntPtr pDev)
void InitInput (int argc, char **argv)
void CloseInput (void)
void ProcessInputEvents (void)
void dmxUpdateWindowInfo (DMXUpdateType type, WindowPtr pWindow)
int NewInputDeviceRequest (InputOption *options, InputAttributes *attrs, DeviceIntPtr *pdev)
void DeleteInputDeviceRequest (DeviceIntPtr pDev)
void  )DeviceIntPtr  pDev)DMXUpdateType  type, WindowPtr  pWindow int  argc, char **  argv unsigned int  key, DeviceIntPtr  pDev InputOption *  options, InputAttributes *  attrs, DeviceIntPtr *  pdev void  )