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
216
217
218
219
220
221
|
<!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 Page</span></a></li>
<li><a href="annotated.html"><span>Data 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 List</span></a></li>
<li><a href="globals.html"><span>Globals</span></a></li>
</ul>
</div>
</div>
<div class="contents">
<h1>dmxevents.h File Reference</h1>
<p><a href="dmxevents_8h_source.html">Go to the source code of this file.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxevents_8h.html#ac96a9f0e7f2a31881224b4a8e620239a">dmxMotion</a> (DevicePtr pDev, int *v, int firstAxis, int axesCount, <a class="el" href="dmxinputinit_8h.html#a009c1c06db97e0347237f11a701db349">DMXMotionType</a> type, <a class="el" href="dmxinput_8h.html#a3a7195ab3516c5354bac4ca80b2eedb7">DMXBlockType</a> block)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxevents_8h.html#ac678be4d489b749fea88a8f0e9045499">dmxEnqueue</a> (DevicePtr pDev, int type, int detail, KeySym keySym, XEvent *e, <a class="el" href="dmxinput_8h.html#a3a7195ab3516c5354bac4ca80b2eedb7">DMXBlockType</a> block)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxevents_8h.html#a082f21151ec3d66b75d4613a3612c755">dmxCheckSpecialKeys</a> (DevicePtr pDev, KeySym keySym)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxevents_8h.html#a344419a01be02621ec99942c6cfd45ea">dmxInvalidateGlobalPosition</a> (void)</td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>Interface to event processing functions. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="dmxevents_8h.html">dmxevents.h</a> </dd></dl>
<hr/><h2>Function Documentation</h2>
<a class="anchor" id="a082f21151ec3d66b75d4613a3612c755"></a><!-- doxytag: member="dmxevents.h::dmxCheckSpecialKeys" ref="a082f21151ec3d66b75d4613a3612c755" args="(DevicePtr pDev, KeySym keySym)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int dmxCheckSpecialKeys </td>
<td>(</td>
<td class="paramtype">DevicePtr </td>
<td class="paramname"> <em>pDev</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">KeySym </td>
<td class="paramname"> <em>keySym</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>A pointer to this routine is passed to low-level input drivers so that all special keychecking is unified to this file. This function returns 0 if no special keys have been pressed. If the user has requested termination of the DMX server, -1 is returned. If the user has requested a switch to a VT, then the (1-based) number of that VT is returned. </p>
<p>References <a class="el" href="dmxcursor_8c_source.html#l00107">DMXDBG2</a>, <a class="el" href="dmxlog_8h_source.html#l00044">dmxInfo</a>, <a class="el" href="dmxinputinit_8c_source.html#l00081">dmxLocalCoreKeyboard</a>, <a class="el" href="dmxlog_8c_source.html#l00159">dmxLog()</a>, <a class="el" href="dmxcommon_8h_source.html#l00087">GETDMXINPUTFROMPDEV</a>, and <a class="el" href="dmxinputinit_8h_source.html#l00235">_DMXLocalInputInfo::pDevice</a>.</p>
<p>Referenced by <a class="el" href="dmxinputinit_8c_source.html#l00599">dmxCollectAll()</a>, and <a class="el" href="dmxsigio_8c_source.html#l00065">dmxSigioHandler()</a>.</p>
</div>
</div>
<a class="anchor" id="ac678be4d489b749fea88a8f0e9045499"></a><!-- doxytag: member="dmxevents.h::dmxEnqueue" ref="ac678be4d489b749fea88a8f0e9045499" args="(DevicePtr pDev, int type, int detail, KeySym keySym, XEvent *e, DMXBlockType block)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void dmxEnqueue </td>
<td>(</td>
<td class="paramtype">DevicePtr </td>
<td class="paramname"> <em>pDev</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>type</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>detail</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">KeySym </td>
<td class="paramname"> <em>keySym</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">XEvent * </td>
<td class="paramname"> <em>e</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="dmxinput_8h.html#a3a7195ab3516c5354bac4ca80b2eedb7">DMXBlockType</a> </td>
<td class="paramname"> <em>block</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Enqueue an event from the <em>pDev</em> device with the specified <em>type</em> and <em>detail</em>. If the event is a KeyPress or KeyRelease event, then the <em>keySym</em> is also specified.</p>
<p>FIXME: make the code do what the comment says, or remove this comment. If <em>block</em> is set to <em>DMX_BLOCK</em>, then the SIGIO handler will be blocked around calls to dmxeqEnqueue(). </p>
<p>References <a class="el" href="dmxevents_8c_source.html#l00098">dmxCheckFunctionKeys()</a>, <a class="el" href="dmxcursor_8c_source.html#l00107">DMXDBG2</a>, <a class="el" href="dmxlog_8c_source.html#l00307">dmxEventName()</a>, <a class="el" href="dmxevents_8c_source.html#l00632">dmxFixup()</a>, <a class="el" href="dmxevents_8c_source.html#l00520">dmxGetButtonMapping()</a>, <a class="el" href="dmxevents_8c_source.html#l00580">dmxKeyCodeToKeySym()</a>, <a class="el" href="dmxinputinit_8c_source.html#l00081">dmxLocalCoreKeyboard</a>, <a class="el" href="dmxlog_8c_source.html#l00219">dmxLogInput()</a>, <a class="el" href="dmxevents_8c_source.html#l00383">dmxTranslateAndEnqueueExtEvent()</a>, <a class="el" href="dmxcommon_8h_source.html#l00087">GETDMXINPUTFROMPDEV</a>, <a class="el" href="dmxclient_8h.html#ac1fa54a853b3edb8cbf6378dfaa962a6">ProximityIn</a>, and <a class="el" href="dmxclient_8h.html#a606f455d31c949b7f57a51a0e0b5f351">ProximityOut</a>.</p>
<p>Referenced by <a class="el" href="dmxinputinit_8c_source.html#l00599">dmxCollectAll()</a>, and <a class="el" href="dmxsigio_8c_source.html#l00065">dmxSigioHandler()</a>.</p>
</div>
</div>
<a class="anchor" id="a344419a01be02621ec99942c6cfd45ea"></a><!-- doxytag: member="dmxevents.h::dmxInvalidateGlobalPosition" ref="a344419a01be02621ec99942c6cfd45ea" args="(void)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void dmxInvalidateGlobalPosition </td>
<td>(</td>
<td class="paramtype">void </td>
<td class="paramname"></td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Invalidate the global position for <a class="el" href="dmxevents_8c.html#adf2928cf693dab61adafad503e81d2dc">dmxCoreMotion</a>. </p>
<p>References <a class="el" href="dmxevents_8c_source.html#l00064">dmxGlobalInvalid</a>.</p>
<p>Referenced by <a class="el" href="dmxbackend_8c_source.html#l00535">dmxBackendLateReInit()</a>.</p>
</div>
</div>
<a class="anchor" id="ac96a9f0e7f2a31881224b4a8e620239a"></a><!-- doxytag: member="dmxevents.h::dmxMotion" ref="ac96a9f0e7f2a31881224b4a8e620239a" args="(DevicePtr pDev, int *v, int firstAxis, int axesCount, DMXMotionType type, DMXBlockType block)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void dmxMotion </td>
<td>(</td>
<td class="paramtype">DevicePtr </td>
<td class="paramname"> <em>pDev</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int * </td>
<td class="paramname"> <em>v</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>firstAxes</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>axesCount</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="dmxinputinit_8h.html#a009c1c06db97e0347237f11a701db349">DMXMotionType</a> </td>
<td class="paramname"> <em>type</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="dmxinput_8h.html#a3a7195ab3516c5354bac4ca80b2eedb7">DMXBlockType</a> </td>
<td class="paramname"> <em>block</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Enqueue a motion event for <em>pDev</em>. The <em>v</em> vector has length <em>axesCount</em>, and contains values for each of the axes, starting at <em>firstAxes</em>.</p>
<p>The <em>type</em> of the motion may be <em>DMX_RELATIVE</em>, <em>DMX_ABSOLUTE</em>, or <em>DMX_ABSOLUTE_CONFINED</em> (in the latter case, the pointer will not be allowed to move outside the global boundaires).</p>
<p>If <em>block</em> is set to <em>DMX_BLOCK</em>, then the SIGIO handler will be blocked around calls to <em><a class="el" href="dmxevents_8c.html#ad423328e9c289737154464bd6830a1ad">enqueueMotion()</a></em>. </p>
<p>References <a class="el" href="dmxinputinit_8h_source.html#l00077">DMX_ABSOLUTE</a>, <a class="el" href="dmxinputinit_8h_source.html#l00078">DMX_ABSOLUTE_CONFINED</a>, <a class="el" href="dmxinputinit_8h_source.html#l00076">DMX_RELATIVE</a>, <a class="el" href="dmxevents_8c_source.html#l00194">dmxCoreMotion()</a>, <a class="el" href="dmxevents_8c_source.html#l00281">dmxExtMotion()</a>, <a class="el" href="dmxevents_8c_source.html#l00063">dmxGlobalX</a>, <a class="el" href="dmxevents_8c_source.html#l00063">dmxGlobalY</a>, and <a class="el" href="dmxcommon_8h_source.html#l00084">GETDMXLOCALFROMPDEV</a>.</p>
<p>Referenced by <a class="el" href="dmxinputinit_8c_source.html#l00599">dmxCollectAll()</a>, and <a class="el" href="dmxsigio_8c_source.html#l00065">dmxSigioHandler()</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>
|