1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.0 Transitional//EN">
4 <meta http-equiv=
"Content-Type" content=
"text/html;charset=iso-8859-1">
5 <title>File Index
</title>
6 <link href=
"doxygen.css" rel=
"stylesheet" type=
"text/css">
9 <!-- Generated by Doxygen 1.3.4 -->
10 <div class=
"qindex"><a class=
"qindex" href=
"main.html">Main
Page
</a> |
<a class=
"qindex" href=
"classes.html">Alphabetical
List
</a> |
<a class=
"qindex" href=
"annotated.html">Data
Structures
</a> |
<a class=
"qindex" href=
"files.html">File
List
</a> |
<a class=
"qindex" href=
"functions.html">Data
Fields
</a> |
<a class=
"qindex" href=
"globals.html">Globals
</a></div>
11 <h1>dmxinput.c File Reference
</h1><code>#include
"<a class="el
" href="dmx_8h-source.html
">dmx.h</a>"</code><br>
12 <code>#include
"<a class="el
" href="dmxlog_8h-source.html
">dmxlog.h</a>"</code><br>
13 <code>#include
"<a class="el
" href="dmxinput_8h-source.html
">dmxinput.h</a>"</code><br>
14 <code>#include
"inputstr.h"</code><br>
15 <code>#include
"input.h"</code><br>
16 <table border=
0 cellpadding=
0 cellspacing=
0>
18 <tr><td colspan=
2><br><h2>Functions
</h2></td></tr>
19 <tr><td class=
"memItemLeft" nowrap align=right valign=top
>Bool
</td><td class=
"memItemRight" valign=bottom
><a class=
"el" href=
"dmxinput_8c.html#a0">LegalModifier
</a> (unsigned int key, DevicePtr pDev)
</td></tr>
21 <tr><td class=
"memItemLeft" nowrap align=right valign=top
>void
</td><td class=
"memItemRight" valign=bottom
><a class=
"el" href=
"dmxinput_8c.html#a1">InitInput
</a> (int argc, char **argv)
</td></tr>
23 <tr><td class=
"memItemLeft" nowrap align=right valign=top
>void
</td><td class=
"memItemRight" valign=bottom
><a class=
"el" href=
"dmxinput_8c.html#a2">ProcessInputEvents
</a> (void)
</td></tr>
25 <tr><td class=
"memItemLeft" nowrap align=right valign=top
>void
</td><td class=
"memItemRight" valign=bottom
><a class=
"el" href=
"dmxinput_8c.html#a3">dmxUpdateWindowInfo
</a> (
<a class=
"el" href=
"dmxinput_8h.html#a30">DMXUpdateType
</a> type, WindowPtr pWindow)
</td></tr>
28 <hr><a name=
"_details"></a><h2>Detailed Description
</h2>
29 Provide the main entry points for input initialization and processing that arequired by the dix layer.
<hr><h2>Function Documentation
</h2>
30 <a class=
"anchor" name=
"a3" doxytag=
"dmxinput.c::dmxUpdateWindowInfo" ></a><p>
31 <table class=
"mdTable" width=
"100%" cellpadding=
"2" cellspacing=
"0">
34 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
36 <td class=
"md" nowrap
valign=
"top"> void dmxUpdateWindowInfo
</td>
37 <td class=
"md" valign=
"top">(
</td>
38 <td class=
"md" nowrap
valign=
"top"><a class=
"el" href=
"dmxinput_8h.html#a30">DMXUpdateType
</a> </td>
39 <td class=
"mdname" nowrap
> <em>type
</em>,
</td>
44 <td class=
"md" nowrap
>WindowPtr
</td>
45 <td class=
"mdname" nowrap
> <em>pWindow
</em></td>
49 <td class=
"md">)
</td>
50 <td class=
"md" colspan=
"2"></td>
57 <table cellspacing=
5 cellpadding=
0 border=
0>
65 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.
</td>
68 <a class=
"anchor" name=
"a1" doxytag=
"dmxinput.c::InitInput" ></a><p>
69 <table class=
"mdTable" width=
"100%" cellpadding=
"2" cellspacing=
"0">
72 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
74 <td class=
"md" nowrap
valign=
"top"> void InitInput
</td>
75 <td class=
"md" valign=
"top">(
</td>
76 <td class=
"md" nowrap
valign=
"top">int
</td>
77 <td class=
"mdname" nowrap
> <em>argc
</em>,
</td>
82 <td class=
"md" nowrap
>char **
</td>
83 <td class=
"mdname" nowrap
> <em>argv
</em></td>
87 <td class=
"md">)
</td>
88 <td class=
"md" colspan=
"2"></td>
95 <table cellspacing=
5 cellpadding=
0 border=
0>
103 Called from dix/main.c on each server generation to initialize inputs. All the work is done in dmxInputInit.
<dl compact
><dt><b>See also:
</b></dt><dd><a class=
"el" href=
"dmxinput_8h.html#a17">dmxInputInit()
</a> </dd></dl>
107 <a class=
"anchor" name=
"a0" doxytag=
"dmxinput.c::LegalModifier" ></a><p>
108 <table class=
"mdTable" width=
"100%" cellpadding=
"2" cellspacing=
"0">
111 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
113 <td class=
"md" nowrap
valign=
"top"> Bool LegalModifier
</td>
114 <td class=
"md" valign=
"top">(
</td>
115 <td class=
"md" nowrap
valign=
"top">unsigned int
</td>
116 <td class=
"mdname" nowrap
> <em>key
</em>,
</td>
121 <td class=
"md" nowrap
>DevicePtr
</td>
122 <td class=
"mdname" nowrap
> <em>pDev
</em></td>
126 <td class=
"md">)
</td>
127 <td class=
"md" colspan=
"2"></td>
134 <table cellspacing=
5 cellpadding=
0 border=
0>
142 Returns TRUE if the key is a valid modifier. For PC-class keyboards, all keys can be used as modifiers, so return TRUE always.
</td>
145 <a class=
"anchor" name=
"a2" doxytag=
"dmxinput.c::ProcessInputEvents" ></a><p>
146 <table class=
"mdTable" width=
"100%" cellpadding=
"2" cellspacing=
"0">
149 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
151 <td class=
"md" nowrap
valign=
"top"> void ProcessInputEvents
</td>
152 <td class=
"md" valign=
"top">(
</td>
153 <td class=
"md" nowrap
valign=
"top">void
</td>
154 <td class=
"mdname1" valign=
"top" nowrap
> </td>
155 <td class=
"md" valign=
"top"> )
</td>
156 <td class=
"md" nowrap
></td>
163 <table cellspacing=
5 cellpadding=
0 border=
0>
171 Called from dix/dispatch.c in Dispatch() whenever input events require processing. All the work is done in the lower level routines.
</td>
177 Generated June
29,
2004 for
<a
178 href=
"http://dmx.sourceforge.net">Distributed Multihead X
</a> by
179 <a href=
"http://www.doxygen.org/index.html">doxygen
</a>