aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/hw/dmx/doc/html/dmxinput_8c.html
blob: d53bd7643345d1d2a1e37533bf503e8f4017599d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
    <title>File Index</title>
    <link href="doxygen.css" rel="stylesheet" type="text/css">
  </head>
  <body>
<!-- Generated by Doxygen 1.6.1 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="main.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="files.html"><span>File&nbsp;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>dmxinput.c File Reference</h1><code>#include &quot;<a class="el" href="dmx_8h_source.html">dmx.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="dmxlog_8h_source.html">dmxlog.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="dmxinput_8h_source.html">dmxinput.h</a>&quot;</code><br/>
<code>#include &quot;inputstr.h&quot;</code><br/>
<code>#include &quot;input.h&quot;</code><br/>
<code>#include &quot;mi.h&quot;</code><br/>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">Bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="dmxinput_8c.html#a794cad8ab41d42457e19090e38c5b338">LegalModifier</a> (unsigned int key, DeviceIntPtr pDev)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="dmxinput_8c.html#a1ffd49de15b6ee0cafe5e83740c7a316">InitInput</a> (int argc, char **argv)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="dmxinput_8c.html#acf517b24d6b846578e70c059b4afcb1b">ProcessInputEvents</a> (void)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="dmxinput_8c.html#a122b762a283b031348730294d3aa1319">dmxUpdateWindowInfo</a> (<a class="el" href="dmxinput_8h.html#ae16d9134720b35da8f258db9a1c039a8">DMXUpdateType</a> type, WindowPtr pWindow)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="dmxinput_8c.html#a01a2e57a14466d675ab5e3a539debaf8">NewInputDeviceRequest</a> (InputOption *options, DeviceIntPtr *pdev)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="dmxinput_8c.html#aad5437e77e383efb20d0720f2afe863a">DeleteInputDeviceRequest</a> (DeviceIntPtr pDev)</td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>Provide the main entry points for input initialization and processing that arequired by the dix layer. </p>
<hr/><h2>Function Documentation</h2>
<a class="anchor" id="aad5437e77e383efb20d0720f2afe863a"></a><!-- doxytag: member="dmxinput.c::DeleteInputDeviceRequest" ref="aad5437e77e383efb20d0720f2afe863a" args="(DeviceIntPtr pDev)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void DeleteInputDeviceRequest </td>
          <td>(</td>
          <td class="paramtype">DeviceIntPtr&nbsp;</td>
          <td class="paramname"> <em>pDev</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a122b762a283b031348730294d3aa1319"></a><!-- doxytag: member="dmxinput.c::dmxUpdateWindowInfo" ref="a122b762a283b031348730294d3aa1319" args="(DMXUpdateType type, WindowPtr pWindow)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void dmxUpdateWindowInfo </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="dmxinput_8h.html#ae16d9134720b35da8f258db9a1c039a8">DMXUpdateType</a>&nbsp;</td>
          <td class="paramname"> <em>type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">WindowPtr&nbsp;</td>
          <td class="paramname"> <em>pWindow</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>This routine is called from <em><a class="el" href="dmxwindow_8c.html">dmxwindow.c</a></em> 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. </p>

<p>References <a class="el" href="dmxinput_8h_source.html#l00089">_DMXInputInfo::detached</a>, <a class="el" href="dmxinit_8c_source.html#l00087">dmxInputs</a>, <a class="el" href="dmxinit_8c_source.html#l00086">dmxNumInputs</a>, and <a class="el" href="dmxinput_8h_source.html#l00103">_DMXInputInfo::updateWindowInfo</a>.</p>

<p>Referenced by <a class="el" href="dmxwindow_8c_source.html#l00794">dmxCopyWindow()</a>, <a class="el" href="dmxwindow_8c_source.html#l00601">dmxRealizeWindow()</a>, <a class="el" href="dmxwindow_8c_source.html#l00879">dmxReparentWindow()</a>, <a class="el" href="dmxwindow_8c_source.html#l00835">dmxResizeWindow()</a>, <a class="el" href="dmxwindow_8c_source.html#l00723">dmxRestackWindow()</a>, and <a class="el" href="dmxwindow_8c_source.html#l00640">dmxUnrealizeWindow()</a>.</p>

</div>
</div>
<a class="anchor" id="a1ffd49de15b6ee0cafe5e83740c7a316"></a><!-- doxytag: member="dmxinput.c::InitInput" ref="a1ffd49de15b6ee0cafe5e83740c7a316" args="(int argc, char **argv)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void InitInput </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>argc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char **&nbsp;</td>
          <td class="paramname"> <em>argv</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Called from dix/main.c on each server generation to initialize inputs. All the work is done in dmxInputInit. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="dmxinput_8h.html#a5845f0dbf305a8a233d3747489745faa">dmxInputInit()</a> </dd></dl>

<p>References <a class="el" href="dmxlog_8h_source.html#l00051">dmxFatal</a>, <a class="el" href="dmxinputinit_8c_source.html#l00962">dmxInputInit()</a>, <a class="el" href="dmxinit_8c_source.html#l00087">dmxInputs</a>, <a class="el" href="dmxlog_8c_source.html#l00159">dmxLog()</a>, and <a class="el" href="dmxinit_8c_source.html#l00086">dmxNumInputs</a>.</p>

</div>
</div>
<a class="anchor" id="a794cad8ab41d42457e19090e38c5b338"></a><!-- doxytag: member="dmxinput.c::LegalModifier" ref="a794cad8ab41d42457e19090e38c5b338" args="(unsigned int key, DeviceIntPtr pDev)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Bool LegalModifier </td>
          <td>(</td>
          <td class="paramtype">unsigned int&nbsp;</td>
          <td class="paramname"> <em>key</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">DeviceIntPtr&nbsp;</td>
          <td class="paramname"> <em>pDev</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns TRUE if the key is a valid modifier. For PC-class keyboards, all keys can be used as modifiers, so return TRUE always. </p>

</div>
</div>
<a class="anchor" id="a01a2e57a14466d675ab5e3a539debaf8"></a><!-- doxytag: member="dmxinput.c::NewInputDeviceRequest" ref="a01a2e57a14466d675ab5e3a539debaf8" args="(InputOption *options, DeviceIntPtr *pdev)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int NewInputDeviceRequest </td>
          <td>(</td>
          <td class="paramtype">InputOption *&nbsp;</td>
          <td class="paramname"> <em>options</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">DeviceIntPtr *&nbsp;</td>
          <td class="paramname"> <em>pdev</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="acf517b24d6b846578e70c059b4afcb1b"></a><!-- doxytag: member="dmxinput.c::ProcessInputEvents" ref="acf517b24d6b846578e70c059b4afcb1b" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ProcessInputEvents </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Called from dix/dispatch.c in Dispatch() whenever input events require processing. All the work is done in the lower level routines. </p>

<p>References <a class="el" href="dmxinput_8h_source.html#l00089">_DMXInputInfo::detached</a>, <a class="el" href="dmxinit_8c_source.html#l00087">dmxInputs</a>, <a class="el" href="dmxinit_8c_source.html#l00086">dmxNumInputs</a>, and <a class="el" href="dmxinput_8h_source.html#l00102">_DMXInputInfo::processInputEvents</a>.</p>

<p>Referenced by <a class="el" href="dmxevents_8c_source.html#l00194">dmxCoreMotion()</a>.</p>

</div>
</div>
</div>
    <hr>
    <address>
      <small>
        Generated June 29, 2004 for <a
        href="http://dmx.sourceforge.net">Distributed Multihead X</a> by
        <a href="http://www.doxygen.org/index.html">doxygen</a>
        1.3.4.
      </small>
    </addres>
    </hr>
  </body>
</html>