aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/hw/dmx/doc/html/dmxcommon_8h.html
blob: 469d991a7447e7bb8534557e518e99d3e8cbf000 (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
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
<!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>dmxcommon.h File Reference</h1>
<p><a href="dmxcommon_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>Defines</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="dmxcommon_8h.html#ac501f773a244037a88da37c0dc48ac66">DMX_COMMON_OTHER</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="dmxcommon_8h.html#ac4c9fac008144d96c6bd6313b5e158d2">DMX_COMMON_XKB</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="dmxcommon_8h.html#a6f802c6dc60aba1cbf8c1246cb5a4be4">DMX_COMMON_PRIVATE</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="dmxcommon_8h.html#a215427f6c6c570d64e1039239484563f">GETONLYPRIVFROMPRIVATE</a>&nbsp;&nbsp;&nbsp;<a class="el" href="struct__myPrivate.html">myPrivate</a>            *priv     = private</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="dmxcommon_8h.html#ae04675e973690cab79ef643f298cb375">GETPRIVFROMPRIVATE</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="dmxcommon_8h.html#ae60813d58a79b6dae5b98321fd7e1866">GETDMXLOCALFROMPDEVICE</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="dmxcommon_8h.html#a2f522c463d79a458d27ac9e1f6b2e30f">GETDMXINPUTFROMPRIV</a>&nbsp;&nbsp;&nbsp;<a class="el" href="struct__DMXInputInfo.html">DMXInputInfo</a>         *dmxInput = &amp;<a class="el" href="dmxinput_8h.html#a067017d9e67716c251357e9edf917e59">dmxInputs</a>[priv-&gt;dmxLocal-&gt;inputIdx]</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="dmxcommon_8h.html#a7067dd8545db11300dc1ee7f461b346d">GETDMXINPUTFROMPDEVICE</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="dmxcommon_8h.html#a22db91e32f104411c68049e16a93067b">GETDMXLOCALFROMPDEV</a>&nbsp;&nbsp;&nbsp;<a class="el" href="struct__DMXLocalInputInfo.html">DMXLocalInputInfoPtr</a> dmxLocal  = pDev-&gt;devicePrivate</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="dmxcommon_8h.html#ad100a619cb405b9f315abf1019622dd7">GETDMXINPUTFROMPDEV</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="dmxcommon_8h.html#a162b4980b050465ca21228eb41f207a2">GETPRIVFROMPDEV</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="dmxcommon_8h.html#a8ed45b47d9c28c37195b3d10df2319a1">DMX_KEYBOARD_EVENT_MASK</a>&nbsp;&nbsp;&nbsp;(KeyPressMask | KeyReleaseMask | KeymapStateMask)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="dmxcommon_8h.html#aab5b14e925716fa97237594ee0b07d01">DMX_POINTER_EVENT_MASK</a>&nbsp;&nbsp;&nbsp;(ButtonPressMask | ButtonReleaseMask | PointerMotionMask)</td></tr>
<tr><td colspan="2"><h2>Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="dmxcommon_8h.html#a86b1c983a556770efdd1a19e8be44534">dmxCommonKbdGetInfo</a> (DevicePtr pDev, <a class="el" href="struct__DMXLocalInitInfo.html">DMXLocalInitInfoPtr</a> info)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="dmxcommon_8h.html#a83410e3987567bd35fd146b193a21ed9">dmxCommonKbdGetMap</a> (DevicePtr pDev, KeySymsPtr pKeySyms, CARD8 *pModMap)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="dmxcommon_8h.html#a399f0ec4a6e5d0bcd3d07f24b2a6ac9e">dmxCommonKbdCtrl</a> (DevicePtr pDev, KeybdCtrl *ctrl)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="dmxcommon_8h.html#aa069076ebf89f8b89668cffafb731cfe">dmxCommonKbdBell</a> (DevicePtr pDev, int percent, int volume, int pitch, int duration)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="dmxcommon_8h.html#a60cd36c3430ead2858986fe5f93165c1">dmxCommonKbdOn</a> (DevicePtr pDev)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="dmxcommon_8h.html#a9ddcdd8a91205b9b0e23022f246190a0">dmxCommonKbdOff</a> (DevicePtr pDev)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="dmxcommon_8h.html#a9ce209ad340f84644115a165eadfa540">dmxCommonMouGetMap</a> (DevicePtr pDev, unsigned char *<a class="el" href="usb-keyboard_8c.html#a2187a19657fb0b38c67dbafc7dd74c4d">map</a>, int *nButtons)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="dmxcommon_8h.html#a11aa027975061ee6f3e684ee66f0f18c">dmxCommonMouCtrl</a> (DevicePtr pDev, PtrCtrl *ctrl)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="dmxcommon_8h.html#a8ba0ee4f9f09bc9089d480d1f5467cd8">dmxCommonMouOn</a> (DevicePtr pDev)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="dmxcommon_8h.html#acfeaccbc1f2f5be028b3ee8c0f31da89">dmxCommonMouOff</a> (DevicePtr pDev)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="dmxcommon_8h.html#a907580b7be71d9be0b771d32210f3cad">dmxFindPointerScreen</a> (int x, int y)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="dmxcommon_8h.html#a4b8e72433e206d48e6fb471e933800ad">dmxCommonOthOn</a> (DevicePtr pDev)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="dmxcommon_8h.html#a45f87ba7a0b02587dd2d1b4cdd3480c6">dmxCommonOthOff</a> (DevicePtr pDev)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="dmxcommon_8h.html#a67f944a345e0ba88ac996056914d191c">dmxCommonOthGetInfo</a> (DevicePtr pDev, <a class="el" href="struct__DMXLocalInitInfo.html">DMXLocalInitInfoPtr</a> info)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">pointer&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="dmxcommon_8h.html#a0e7301a2783357ff391172acab00d48a">dmxCommonCopyPrivate</a> (DeviceIntPtr pDevice)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="dmxcommon_8h.html#a14295660e17d34955693cef6654d7bb6">dmxCommonSaveState</a> (pointer private)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="dmxcommon_8h.html#aca953b7500d93577441828156674c64e">dmxCommonRestoreState</a> (pointer private)</td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>Interface to functions used by backend and console input devices. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="dmxcommon_8c.html">dmxcommon.c</a> </dd>
<dd>
<a class="el" href="dmxbackend_8c.html">dmxbackend.c</a> </dd>
<dd>
<a class="el" href="dmxconsole_8c.html">dmxconsole.c</a> </dd></dl>
<hr/><h2>Define Documentation</h2>
<a class="anchor" id="ac501f773a244037a88da37c0dc48ac66"></a><!-- doxytag: member="dmxcommon.h::DMX_COMMON_OTHER" ref="ac501f773a244037a88da37c0dc48ac66" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define DMX_COMMON_OTHER</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<b>Value:</b><div class="fragment"><pre class="fragment">Display                 *<a class="code" href="dmxprop_8c.html#ac49dfab9200d48f835ce64819c4fc878">display</a>;       \
    Window                  window;         \
    <a class="code" href="struct__DMXScreenInfo.html">DMXScreenInfo</a>           *be;            \
    <a class="code" href="struct__DMXLocalInputInfo.html">DMXLocalInputInfoPtr</a>    dmxLocal;       \
    <span class="keywordtype">int</span>                     initPointerX;   \
    <span class="keywordtype">int</span>                     initPointerY;   \
    <span class="keywordtype">long</span>                    eventMask;      \
    KeybdCtrl               kctrl;          \
    PtrCtrl                 mctrl;          \
    <span class="keywordtype">int</span>                     kctrlset;       \
    <span class="keywordtype">int</span>                     mctrlset;       \
    KeybdCtrl               savedKctrl;     \
    XModifierKeymap         *savedModMap;   \
    <span class="keywordtype">int</span>                     stateSaved
</pre></div>
</div>
</div>
<a class="anchor" id="a6f802c6dc60aba1cbf8c1246cb5a4be4"></a><!-- doxytag: member="dmxcommon.h::DMX_COMMON_PRIVATE" ref="a6f802c6dc60aba1cbf8c1246cb5a4be4" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define DMX_COMMON_PRIVATE</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<b>Value:</b><div class="fragment"><pre class="fragment"><a class="code" href="dmxcommon_8h.html#ac4c9fac008144d96c6bd6313b5e158d2">DMX_COMMON_XKB</a>;                         \
    XDevice                 *xi
</pre></div>
</div>
</div>
<a class="anchor" id="ac4c9fac008144d96c6bd6313b5e158d2"></a><!-- doxytag: member="dmxcommon.h::DMX_COMMON_XKB" ref="ac4c9fac008144d96c6bd6313b5e158d2" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define DMX_COMMON_XKB</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<b>Value:</b><div class="fragment"><pre class="fragment"><a class="code" href="dmxcommon_8h.html#ac501f773a244037a88da37c0dc48ac66">DMX_COMMON_OTHER</a>;                       \
    XkbDescPtr              xkb;            \
    XkbIndicatorRec         savedIndicators
</pre></div>
</div>
</div>
<a class="anchor" id="a8ed45b47d9c28c37195b3d10df2319a1"></a><!-- doxytag: member="dmxcommon.h::DMX_KEYBOARD_EVENT_MASK" ref="a8ed45b47d9c28c37195b3d10df2319a1" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define DMX_KEYBOARD_EVENT_MASK&nbsp;&nbsp;&nbsp;(KeyPressMask | KeyReleaseMask | KeymapStateMask)</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Referenced by <a class="el" href="dmxcommon_8c_source.html#l00301">dmxCommonKbdOff()</a>, and <a class="el" href="dmxcommon_8c_source.html#l00288">dmxCommonKbdOn()</a>.</p>

</div>
</div>
<a class="anchor" id="aab5b14e925716fa97237594ee0b07d01"></a><!-- doxytag: member="dmxcommon.h::DMX_POINTER_EVENT_MASK" ref="aab5b14e925716fa97237594ee0b07d01" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define DMX_POINTER_EVENT_MASK&nbsp;&nbsp;&nbsp;(ButtonPressMask | ButtonReleaseMask | PointerMotionMask)</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Referenced by <a class="el" href="dmxcommon_8c_source.html#l00504">dmxCommonMouOff()</a>, and <a class="el" href="dmxcommon_8c_source.html#l00479">dmxCommonMouOn()</a>.</p>

</div>
</div>
<a class="anchor" id="ad100a619cb405b9f315abf1019622dd7"></a><!-- doxytag: member="dmxcommon.h::GETDMXINPUTFROMPDEV" ref="ad100a619cb405b9f315abf1019622dd7" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GETDMXINPUTFROMPDEV</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<b>Value:</b><div class="fragment"><pre class="fragment"><a class="code" href="dmxcommon_8h.html#a22db91e32f104411c68049e16a93067b">GETDMXLOCALFROMPDEV</a>;                                                \
    <a class="code" href="struct__DMXInputInfo.html">DMXInputInfo</a>         *dmxInput = &amp;<a class="code" href="dmxinit_8c.html#a067017d9e67716c251357e9edf917e59">dmxInputs</a>[dmxLocal-&gt;inputIdx]
</pre></div>
<p>Referenced by <a class="el" href="dmxevents_8c_source.html#l00743">dmxCheckSpecialKeys()</a>, and <a class="el" href="dmxevents_8c_source.html#l00659">dmxEnqueue()</a>.</p>

</div>
</div>
<a class="anchor" id="a7067dd8545db11300dc1ee7f461b346d"></a><!-- doxytag: member="dmxcommon.h::GETDMXINPUTFROMPDEVICE" ref="a7067dd8545db11300dc1ee7f461b346d" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GETDMXINPUTFROMPDEVICE</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<b>Value:</b><div class="fragment"><pre class="fragment"><a class="code" href="dmxcommon_8h.html#ae60813d58a79b6dae5b98321fd7e1866">GETDMXLOCALFROMPDEVICE</a>;                                             \
    <a class="code" href="struct__DMXInputInfo.html">DMXInputInfo</a>         *dmxInput = &amp;<a class="code" href="dmxinit_8c.html#a067017d9e67716c251357e9edf917e59">dmxInputs</a>[dmxLocal-&gt;inputIdx]
</pre></div>
<p>Referenced by <a class="el" href="dmxinputinit_8c_source.html#l00430">dmxDeviceOnOff()</a>, and <a class="el" href="dmxinputinit_8c_source.html#l00372">dmxKeyboardOn()</a>.</p>

</div>
</div>
<a class="anchor" id="a2f522c463d79a458d27ac9e1f6b2e30f"></a><!-- doxytag: member="dmxcommon.h::GETDMXINPUTFROMPRIV" ref="a2f522c463d79a458d27ac9e1f6b2e30f" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GETDMXINPUTFROMPRIV&nbsp;&nbsp;&nbsp;<a class="el" href="struct__DMXInputInfo.html">DMXInputInfo</a>         *dmxInput = &amp;<a class="el" href="dmxinput_8h.html#a067017d9e67716c251357e9edf917e59">dmxInputs</a>[priv-&gt;dmxLocal-&gt;inputIdx]</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Referenced by <a class="el" href="dmxbackend_8c_source.html#l00335">dmxBackendCollectEvents()</a>, <a class="el" href="dmxconsole_8c_source.html#l00596">dmxCloseConsole()</a>, <a class="el" href="dmxcommon_8c_source.html#l00259">dmxCommonKbdGetInfo()</a>, <a class="el" href="dmxcommon_8c_source.html#l00504">dmxCommonMouOff()</a>, <a class="el" href="dmxcommon_8c_source.html#l00479">dmxCommonMouOn()</a>, <a class="el" href="dmxcommon_8c_source.html#l00364">dmxCommonOthGetInfo()</a>, <a class="el" href="dmxcommon_8c_source.html#l00310">dmxCommonOthOn()</a>, <a class="el" href="dmxconsole_8c_source.html#l00458">dmxConsoleCollectEvents()</a>, and <a class="el" href="dmxconsole_8c_source.html#l00253">dmxConsoleDraw()</a>.</p>

</div>
</div>
<a class="anchor" id="a22db91e32f104411c68049e16a93067b"></a><!-- doxytag: member="dmxcommon.h::GETDMXLOCALFROMPDEV" ref="a22db91e32f104411c68049e16a93067b" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GETDMXLOCALFROMPDEV&nbsp;&nbsp;&nbsp;<a class="el" href="struct__DMXLocalInputInfo.html">DMXLocalInputInfoPtr</a> dmxLocal  = pDev-&gt;devicePrivate</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Referenced by <a class="el" href="dmxevents_8c_source.html#l00632">dmxFixup()</a>, <a class="el" href="dmxevents_8c_source.html#l00556">dmxMotion()</a>, and <a class="el" href="dmxevents_8c_source.html#l00174">enqueueMotion()</a>.</p>

</div>
</div>
<a class="anchor" id="ae60813d58a79b6dae5b98321fd7e1866"></a><!-- doxytag: member="dmxcommon.h::GETDMXLOCALFROMPDEVICE" ref="ae60813d58a79b6dae5b98321fd7e1866" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GETDMXLOCALFROMPDEVICE</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<b>Value:</b><div class="fragment"><pre class="fragment">DevicePtr            pDev      = &amp;pDevice-&gt;public;                  \
    <a class="code" href="struct__DMXLocalInputInfo.html">DMXLocalInputInfoPtr</a> dmxLocal  = pDev-&gt;devicePrivate
</pre></div>
<p>Referenced by <a class="el" href="dmxbackend_8c_source.html#l00104">dmxBackendCreatePrivate()</a>, <a class="el" href="dmxinputinit_8c_source.html#l00276">dmxChangePointerControl()</a>, <a class="el" href="dmxcommon_8c_source.html#l00544">dmxCommonCopyPrivate()</a>, <a class="el" href="dmxconsole_8c_source.html#l00140">dmxConsoleCreatePrivate()</a>, <a class="el" href="dmxinputinit_8c_source.html#l00343">dmxKeyboardBellProc()</a>, <a class="el" href="dmxinputinit_8c_source.html#l00314">dmxKeyboardKbdCtrlProc()</a>, <a class="el" href="dmxmotion_8c_source.html#l00074">dmxPointerGetMotionEvents()</a>, and <a class="el" href="dmxmotion_8c_source.html#l00102">dmxPointerPutMotionEvent()</a>.</p>

</div>
</div>
<a class="anchor" id="a215427f6c6c570d64e1039239484563f"></a><!-- doxytag: member="dmxcommon.h::GETONLYPRIVFROMPRIVATE" ref="a215427f6c6c570d64e1039239484563f" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GETONLYPRIVFROMPRIVATE&nbsp;&nbsp;&nbsp;<a class="el" href="struct__myPrivate.html">myPrivate</a>            *priv     = private</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Referenced by <a class="el" href="dmxconsole_8c_source.html#l00189">dmxConsoleDrawWindows()</a>, <a class="el" href="dmxconsole_8c_source.html#l00895">dmxConsoleFunctions()</a>, <a class="el" href="dmxconsole_8c_source.html#l00378">dmxConsoleUpdateInfo()</a>, and <a class="el" href="dmxconsole_8c_source.html#l00418">dmxConsoleUpdatePosition()</a>.</p>

</div>
</div>
<a class="anchor" id="a162b4980b050465ca21228eb41f207a2"></a><!-- doxytag: member="dmxcommon.h::GETPRIVFROMPDEV" ref="a162b4980b050465ca21228eb41f207a2" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GETPRIVFROMPDEV</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<b>Value:</b><div class="fragment"><pre class="fragment"><a class="code" href="dmxcommon_8h.html#a22db91e32f104411c68049e16a93067b">GETDMXLOCALFROMPDEV</a>;                                                \
    <a class="code" href="struct__myPrivate.html">myPrivate</a>            *priv     = dmxLocal-&gt;private
</pre></div>
<p>Referenced by <a class="el" href="dmxbackend_8c_source.html#l00335">dmxBackendCollectEvents()</a>, <a class="el" href="dmxbackend_8c_source.html#l00552">dmxBackendInit()</a>, <a class="el" href="dmxbackend_8c_source.html#l00508">dmxBackendInitPrivate()</a>, <a class="el" href="dmxbackend_8c_source.html#l00535">dmxBackendLateReInit()</a>, <a class="el" href="dmxcommon_8c_source.html#l00191">dmxCommonKbdBell()</a>, <a class="el" href="dmxcommon_8c_source.html#l00156">dmxCommonKbdCtrl()</a>, <a class="el" href="dmxcommon_8c_source.html#l00259">dmxCommonKbdGetInfo()</a>, <a class="el" href="dmxcommon_8c_source.html#l00214">dmxCommonKbdGetMap()</a>, <a class="el" href="dmxcommon_8c_source.html#l00301">dmxCommonKbdOff()</a>, <a class="el" href="dmxcommon_8c_source.html#l00288">dmxCommonKbdOn()</a>, <a class="el" href="dmxcommon_8c_source.html#l00170">dmxCommonMouCtrl()</a>, <a class="el" href="dmxcommon_8c_source.html#l00449">dmxCommonMouGetMap()</a>, <a class="el" href="dmxcommon_8c_source.html#l00504">dmxCommonMouOff()</a>, <a class="el" href="dmxcommon_8c_source.html#l00479">dmxCommonMouOn()</a>, <a class="el" href="dmxcommon_8c_source.html#l00364">dmxCommonOthGetInfo()</a>, <a class="el" href="dmxcommon_8c_source.html#l00354">dmxCommonOthOff()</a>, <a class="el" href="dmxcommon_8c_source.html#l00310">dmxCommonOthOn()</a>, <a class="el" href="dmxconsole_8c_source.html#l00458">dmxConsoleCollectEvents()</a>, <a class="el" href="dmxconsole_8c_source.html#l00718">dmxConsoleInit()</a>, <a class="el" href="dmxconsole_8c_source.html#l00862">dmxConsoleMouGetInfo()</a>, and <a class="el" href="dmxconsole_8c_source.html#l00695">dmxConsoleReInit()</a>.</p>

</div>
</div>
<a class="anchor" id="ae04675e973690cab79ef643f298cb375"></a><!-- doxytag: member="dmxcommon.h::GETPRIVFROMPRIVATE" ref="ae04675e973690cab79ef643f298cb375" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GETPRIVFROMPRIVATE</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<b>Value:</b><div class="fragment"><pre class="fragment"><a class="code" href="dmxcommon_8h.html#a215427f6c6c570d64e1039239484563f">GETONLYPRIVFROMPRIVATE</a>;                                             \
    <a class="code" href="struct__DMXInputInfo.html">DMXInputInfo</a>         *dmxInput = &amp;<a class="code" href="dmxinit_8c.html#a067017d9e67716c251357e9edf917e59">dmxInputs</a>[priv-&gt;dmxLocal-&gt;inputIdx]
</pre></div>
<p>Referenced by <a class="el" href="dmxbackend_8c_source.html#l00468">dmxBackendProcessInput()</a>, <a class="el" href="dmxbackend_8c_source.html#l00240">dmxBackendUpdatePosition()</a>, <a class="el" href="dmxcommon_8c_source.html#l00621">dmxCommonRestoreState()</a>, and <a class="el" href="dmxcommon_8c_source.html#l00567">dmxCommonSaveState()</a>.</p>

</div>
</div>
<hr/><h2>Function Documentation</h2>
<a class="anchor" id="a0e7301a2783357ff391172acab00d48a"></a><!-- doxytag: member="dmxcommon.h::dmxCommonCopyPrivate" ref="a0e7301a2783357ff391172acab00d48a" args="(DeviceIntPtr pDevice)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">pointer dmxCommonCopyPrivate </td>
          <td>(</td>
          <td class="paramtype">DeviceIntPtr&nbsp;</td>
          <td class="paramname"> <em>pDevice</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns a pointer to the private area for the device that comes just prior to <em>pDevice</em> in the current <em>dmxInput</em> device list. This is used as the private area for the current device in some situations (e.g., when a keyboard and mouse form a pair that should share the same private area). If the requested private area cannot be located, then NULL is returned. </p>

<p>References <a class="el" href="dmxinput_8h_source.html#l00125">_DMXInputInfo::devs</a>, <a class="el" href="dmxinit_8c_source.html#l00087">dmxInputs</a>, <a class="el" href="dmxcommon_8h_source.html#l00073">GETDMXLOCALFROMPDEVICE</a>, <a class="el" href="dmxinput_8h_source.html#l00119">_DMXInputInfo::numDevs</a>, and <a class="el" href="dmxinputinit_8h_source.html#l00229">_DMXLocalInputInfo::private</a>.</p>

</div>
</div>
<a class="anchor" id="aa069076ebf89f8b89668cffafb731cfe"></a><!-- doxytag: member="dmxcommon.h::dmxCommonKbdBell" ref="aa069076ebf89f8b89668cffafb731cfe" args="(DevicePtr pDev, int percent, int volume, int pitch, int duration)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void dmxCommonKbdBell </td>
          <td>(</td>
          <td class="paramtype">DevicePtr&nbsp;</td>
          <td class="paramname"> <em>pDev</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>percent</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>volume</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>pitch</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>duration</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Sound they keyboard bell. </p>

<p>References <a class="el" href="dmxcommon_8h_source.html#l00091">GETPRIVFROMPDEV</a>.</p>

</div>
</div>
<a class="anchor" id="a399f0ec4a6e5d0bcd3d07f24b2a6ac9e"></a><!-- doxytag: member="dmxcommon.h::dmxCommonKbdCtrl" ref="a399f0ec4a6e5d0bcd3d07f24b2a6ac9e" args="(DevicePtr pDev, KeybdCtrl *ctrl)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void dmxCommonKbdCtrl </td>
          <td>(</td>
          <td class="paramtype">DevicePtr&nbsp;</td>
          <td class="paramname"> <em>pDev</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">KeybdCtrl *&nbsp;</td>
          <td class="paramname"> <em>ctrl</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Update the keyboard control. </p>

<p>References <a class="el" href="dmxcommon_8c_source.html#l00117">dmxCommonKbdSetCtrl()</a>, <a class="el" href="dmxcommon_8c_source.html#l00567">dmxCommonSaveState()</a>, and <a class="el" href="dmxcommon_8h_source.html#l00091">GETPRIVFROMPDEV</a>.</p>

</div>
</div>
<a class="anchor" id="a86b1c983a556770efdd1a19e8be44534"></a><!-- doxytag: member="dmxcommon.h::dmxCommonKbdGetInfo" ref="a86b1c983a556770efdd1a19e8be44534" args="(DevicePtr pDev, DMXLocalInitInfoPtr info)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void dmxCommonKbdGetInfo </td>
          <td>(</td>
          <td class="paramtype">DevicePtr&nbsp;</td>
          <td class="paramname"> <em>pDev</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="struct__DMXLocalInitInfo.html">DMXLocalInitInfoPtr</a>&nbsp;</td>
          <td class="paramname"> <em>info</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Fill in the XKEYBOARD parts of the <em>info</em> structure for the specified <em>pDev</em>. </p>

<p>References <a class="el" href="dmxcommon_8c_source.html#l00621">dmxCommonRestoreState()</a>, <a class="el" href="dmxcommon_8c_source.html#l00567">dmxCommonSaveState()</a>, <a class="el" href="dmxlog_8c_source.html#l00219">dmxLogInput()</a>, <a class="el" href="dmxinputinit_8h_source.html#l00092">_DMXLocalInitInfo::freenames</a>, <a class="el" href="dmxcommon_8h_source.html#l00077">GETDMXINPUTFROMPRIV</a>, <a class="el" href="dmxcommon_8h_source.html#l00091">GETPRIVFROMPDEV</a>, <a class="el" href="dmxcommon_8c.html#a14111ac8f43949172b152e50dc720aba">NAME</a>, and <a class="el" href="dmxinputinit_8h_source.html#l00091">_DMXLocalInitInfo::names</a>.</p>

<p>Referenced by <a class="el" href="dmxbackend_8c_source.html#l00595">dmxBackendKbdGetInfo()</a>, and <a class="el" href="dmxconsole_8c_source.html#l00883">dmxConsoleKbdGetInfo()</a>.</p>

</div>
</div>
<a class="anchor" id="a83410e3987567bd35fd146b193a21ed9"></a><!-- doxytag: member="dmxcommon.h::dmxCommonKbdGetMap" ref="a83410e3987567bd35fd146b193a21ed9" args="(DevicePtr pDev, KeySymsPtr pKeySyms, CARD8 *pModMap)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void dmxCommonKbdGetMap </td>
          <td>(</td>
          <td class="paramtype">DevicePtr&nbsp;</td>
          <td class="paramname"> <em>pDev</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">KeySymsPtr&nbsp;</td>
          <td class="paramname"> <em>pKeySyms</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">CARD8 *&nbsp;</td>
          <td class="paramname"> <em>pModMap</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Get the keyboard mapping. </p>

<p>References <a class="el" href="dmxcommon_8h_source.html#l00091">GETPRIVFROMPDEV</a>.</p>

<p>Referenced by <a class="el" href="dmxbackend_8c_source.html#l00595">dmxBackendKbdGetInfo()</a>, and <a class="el" href="dmxconsole_8c_source.html#l00883">dmxConsoleKbdGetInfo()</a>.</p>

</div>
</div>
<a class="anchor" id="a9ddcdd8a91205b9b0e23022f246190a0"></a><!-- doxytag: member="dmxcommon.h::dmxCommonKbdOff" ref="a9ddcdd8a91205b9b0e23022f246190a0" args="(DevicePtr pDev)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void dmxCommonKbdOff </td>
          <td>(</td>
          <td class="paramtype">DevicePtr&nbsp;</td>
          <td class="paramname"> <em>pDev</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Turn <em>pDev</em> off. </p>

<p>References <a class="el" href="dmxcommon_8h_source.html#l00095">DMX_KEYBOARD_EVENT_MASK</a>, <a class="el" href="dmxcommon_8c_source.html#l00621">dmxCommonRestoreState()</a>, and <a class="el" href="dmxcommon_8h_source.html#l00091">GETPRIVFROMPDEV</a>.</p>

</div>
</div>
<a class="anchor" id="a60cd36c3430ead2858986fe5f93165c1"></a><!-- doxytag: member="dmxcommon.h::dmxCommonKbdOn" ref="a60cd36c3430ead2858986fe5f93165c1" args="(DevicePtr pDev)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int dmxCommonKbdOn </td>
          <td>(</td>
          <td class="paramtype">DevicePtr&nbsp;</td>
          <td class="paramname"> <em>pDev</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Turn <em>pDev</em> on (i.e., take input from <em>pDev</em>). </p>

<p>References <a class="el" href="dmxcommon_8h_source.html#l00095">DMX_KEYBOARD_EVENT_MASK</a>, <a class="el" href="dmxcommon_8c_source.html#l00567">dmxCommonSaveState()</a>, and <a class="el" href="dmxcommon_8h_source.html#l00091">GETPRIVFROMPDEV</a>.</p>

</div>
</div>
<a class="anchor" id="a11aa027975061ee6f3e684ee66f0f18c"></a><!-- doxytag: member="dmxcommon.h::dmxCommonMouCtrl" ref="a11aa027975061ee6f3e684ee66f0f18c" args="(DevicePtr pDev, PtrCtrl *ctrl)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void dmxCommonMouCtrl </td>
          <td>(</td>
          <td class="paramtype">DevicePtr&nbsp;</td>
          <td class="paramname"> <em>pDev</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">PtrCtrl *&nbsp;</td>
          <td class="paramname"> <em>ctrl</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Update the mouse control. </p>

<p>References <a class="el" href="dmxcommon_8c_source.html#l00138">dmxCommonMouSetCtrl()</a>, and <a class="el" href="dmxcommon_8h_source.html#l00091">GETPRIVFROMPDEV</a>.</p>

</div>
</div>
<a class="anchor" id="a9ce209ad340f84644115a165eadfa540"></a><!-- doxytag: member="dmxcommon.h::dmxCommonMouGetMap" ref="a9ce209ad340f84644115a165eadfa540" args="(DevicePtr pDev, unsigned char *map, int *nButtons)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void dmxCommonMouGetMap </td>
          <td>(</td>
          <td class="paramtype">DevicePtr&nbsp;</td>
          <td class="paramname"> <em>pDev</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned char *&nbsp;</td>
          <td class="paramname"> <em>map</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int *&nbsp;</td>
          <td class="paramname"> <em>nButtons</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Obtain the mouse button mapping. </p>

<p>References <a class="el" href="dmxinputinit_8h_source.html#l00047">DMX_MAX_BUTTONS</a>, and <a class="el" href="dmxcommon_8h_source.html#l00091">GETPRIVFROMPDEV</a>.</p>

<p>Referenced by <a class="el" href="dmxbackend_8c_source.html#l00576">dmxBackendMouGetInfo()</a>, and <a class="el" href="dmxconsole_8c_source.html#l00862">dmxConsoleMouGetInfo()</a>.</p>

</div>
</div>
<a class="anchor" id="acfeaccbc1f2f5be028b3ee8c0f31da89"></a><!-- doxytag: member="dmxcommon.h::dmxCommonMouOff" ref="acfeaccbc1f2f5be028b3ee8c0f31da89" args="(DevicePtr pDev)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void dmxCommonMouOff </td>
          <td>(</td>
          <td class="paramtype">DevicePtr&nbsp;</td>
          <td class="paramname"> <em>pDev</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Turn <em>pDev</em> off. </p>

<p>References <a class="el" href="dmxcommon_8h_source.html#l00098">DMX_POINTER_EVENT_MASK</a>, <a class="el" href="dmxcommon_8c_source.html#l00471">dmxCommonRemoveEnabledDevice()</a>, <a class="el" href="dmxcommon_8c_source.html#l00458">dmxCommonXSelect()</a>, <a class="el" href="dmxprop_8c_source.html#l00098">dmxPropertyIterate()</a>, <a class="el" href="dmxcommon_8h_source.html#l00077">GETDMXINPUTFROMPRIV</a>, and <a class="el" href="dmxcommon_8h_source.html#l00091">GETPRIVFROMPDEV</a>.</p>

</div>
</div>
<a class="anchor" id="a8ba0ee4f9f09bc9089d480d1f5467cd8"></a><!-- doxytag: member="dmxcommon.h::dmxCommonMouOn" ref="a8ba0ee4f9f09bc9089d480d1f5467cd8" args="(DevicePtr pDev)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int dmxCommonMouOn </td>
          <td>(</td>
          <td class="paramtype">DevicePtr&nbsp;</td>
          <td class="paramname"> <em>pDev</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Turn <em>pDev</em> on (i.e., take input from <em>pDev</em>). </p>

<p>References <a class="el" href="dmxcommon_8h_source.html#l00098">DMX_POINTER_EVENT_MASK</a>, <a class="el" href="dmxcommon_8c_source.html#l00465">dmxCommonAddEnabledDevice()</a>, <a class="el" href="dmxcommon_8c_source.html#l00458">dmxCommonXSelect()</a>, <a class="el" href="dmxprop_8c_source.html#l00098">dmxPropertyIterate()</a>, <a class="el" href="dmxinit_8c_source.html#l00084">dmxScreens</a>, <a class="el" href="dmxinit_8c_source.html#l00089">dmxShadowFB</a>, <a class="el" href="dmxsync_8c_source.html#l00150">dmxSync()</a>, <a class="el" href="dmxcommon_8h_source.html#l00077">GETDMXINPUTFROMPRIV</a>, and <a class="el" href="dmxcommon_8h_source.html#l00091">GETPRIVFROMPDEV</a>.</p>

</div>
</div>
<a class="anchor" id="a67f944a345e0ba88ac996056914d191c"></a><!-- doxytag: member="dmxcommon.h::dmxCommonOthGetInfo" ref="a67f944a345e0ba88ac996056914d191c" args="(DevicePtr pDev, DMXLocalInitInfoPtr info)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void dmxCommonOthGetInfo </td>
          <td>(</td>
          <td class="paramtype">DevicePtr&nbsp;</td>
          <td class="paramname"> <em>pDev</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="struct__DMXLocalInitInfo.html">DMXLocalInitInfoPtr</a>&nbsp;</td>
          <td class="paramname"> <em>info</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Fill the <em>info</em> structure with information needed to initialize <em>pDev</em>. </p>

<p>References <a class="el" href="dmxinputinit_8h_source.html#l00095">_DMXLocalInitInfo::buttonClass</a>, <a class="el" href="dmxprop_8c.html#ac49dfab9200d48f835ce64819c4fc878">display</a>, <a class="el" href="dmxinputinit_8c_source.html#l00830">dmxInputExtensionErrorHandler()</a>, <a class="el" href="dmxinputinit_8h_source.html#l00109">_DMXLocalInitInfo::focusClass</a>, <a class="el" href="dmxcommon_8h_source.html#l00077">GETDMXINPUTFROMPRIV</a>, <a class="el" href="dmxcommon_8h_source.html#l00091">GETPRIVFROMPDEV</a>, <a class="el" href="dmxinputinit_8h_source.html#l00113">_DMXLocalInitInfo::kbdFeedbackClass</a>, <a class="el" href="dmxinputinit_8h_source.html#l00084">_DMXLocalInitInfo::keyboard</a>, <a class="el" href="dmxinputinit_8h_source.html#l00086">_DMXLocalInitInfo::keyClass</a>, <a class="el" href="dmxinputinit_8h_source.html#l00087">_DMXLocalInitInfo::keySyms</a>, <a class="el" href="dmxinputinit_8h_source.html#l00107">_DMXLocalInitInfo::maxres</a>, <a class="el" href="dmxinputinit_8h_source.html#l00104">_DMXLocalInitInfo::maxval</a>, <a class="el" href="dmxinputinit_8h_source.html#l00106">_DMXLocalInitInfo::minres</a>, <a class="el" href="dmxinputinit_8h_source.html#l00103">_DMXLocalInitInfo::minval</a>, <a class="el" href="dmxinputinit_8h_source.html#l00102">_DMXLocalInitInfo::numAbsAxes</a>, <a class="el" href="dmxinputinit_8h_source.html#l00096">_DMXLocalInitInfo::numButtons</a>, <a class="el" href="dmxinputinit_8h_source.html#l00101">_DMXLocalInitInfo::numRelAxes</a>, <a class="el" href="dmxinputinit_8h_source.html#l00111">_DMXLocalInitInfo::proximityClass</a>, <a class="el" href="dmxinputinit_8h_source.html#l00115">_DMXLocalInitInfo::ptrFeedbackClass</a>, <a class="el" href="dmxinputinit_8h_source.html#l00105">_DMXLocalInitInfo::res</a>, and <a class="el" href="dmxinputinit_8h_source.html#l00099">_DMXLocalInitInfo::valuatorClass</a>.</p>

</div>
</div>
<a class="anchor" id="a45f87ba7a0b02587dd2d1b4cdd3480c6"></a><!-- doxytag: member="dmxcommon.h::dmxCommonOthOff" ref="a45f87ba7a0b02587dd2d1b4cdd3480c6" args="(DevicePtr pDev)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void dmxCommonOthOff </td>
          <td>(</td>
          <td class="paramtype">DevicePtr&nbsp;</td>
          <td class="paramname"> <em>pDev</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Turn <em>pDev</em> off. </p>

<p>References <a class="el" href="dmxcommon_8h_source.html#l00091">GETPRIVFROMPDEV</a>.</p>

</div>
</div>
<a class="anchor" id="a4b8e72433e206d48e6fb471e933800ad"></a><!-- doxytag: member="dmxcommon.h::dmxCommonOthOn" ref="a4b8e72433e206d48e6fb471e933800ad" args="(DevicePtr pDev)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int dmxCommonOthOn </td>
          <td>(</td>
          <td class="paramtype">DevicePtr&nbsp;</td>
          <td class="paramname"> <em>pDev</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Turn <em>pDev</em> on (i.e., take input from <em>pDev</em>). </p>

<p>References <a class="el" href="dmxcommon_8c.html#ad9bd99dabcb14e9efe85df040d63c4b3">ADD</a>, <a class="el" href="dmxclient_8h.html#a9cdf1d1f5958572f162e6c5d5c19d4a4">ChangeDeviceNotify</a>, <a class="el" href="dmxclient_8h.html#a83d9bb79d3ddadf36469794bf2563482">DeviceFocusIn</a>, <a class="el" href="dmxclient_8h.html#a5da5340a54a4f158c507ee002c4b3824">DeviceFocusOut</a>, <a class="el" href="dmxclient_8h.html#a232c73ad30bfc3116842076bd6fc1151">DeviceMappingNotify</a>, <a class="el" href="dmxclient_8h.html#a989f862a42e735c00e8c23a239920772">DeviceMotionNotify</a>, <a class="el" href="dmxclient_8h.html#a7212800e5b127f95425fb860bb2dcbdf">DeviceStateNotify</a>, <a class="el" href="dmxinputinit_8h_source.html#l00051">DMX_MAX_XINPUT_EVENT_TYPES</a>, <a class="el" href="dmxlog_8c_source.html#l00159">dmxLog()</a>, <a class="el" href="dmxlog_8h_source.html#l00045">dmxWarning</a>, <a class="el" href="dmxcommon_8h_source.html#l00077">GETDMXINPUTFROMPRIV</a>, <a class="el" href="dmxcommon_8h_source.html#l00091">GETPRIVFROMPDEV</a>, <a class="el" href="dmxclient_8h.html#ac1fa54a853b3edb8cbf6378dfaa962a6">ProximityIn</a>, and <a class="el" href="dmxclient_8h.html#a606f455d31c949b7f57a51a0e0b5f351">ProximityOut</a>.</p>

</div>
</div>
<a class="anchor" id="aca953b7500d93577441828156674c64e"></a><!-- doxytag: member="dmxcommon.h::dmxCommonRestoreState" ref="aca953b7500d93577441828156674c64e" args="(pointer private)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void dmxCommonRestoreState </td>
          <td>(</td>
          <td class="paramtype">pointer&nbsp;</td>
          <td class="paramname"> <em>private</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>This routine restores all the information saved by <a class="el" href="dmxcommon_8h.html#a14295660e17d34955693cef6654d7bb6">dmxCommonSaveState</a>. </p>

<p>References <a class="el" href="dmxcommon_8c_source.html#l00117">dmxCommonKbdSetCtrl()</a>, <a class="el" href="dmxcursor_8c_source.html#l00105">DMXDBG0</a>, <a class="el" href="dmxlog_8c_source.html#l00159">dmxLog()</a>, <a class="el" href="dmxlog_8c_source.html#l00219">dmxLogInput()</a>, <a class="el" href="dmxlog_8h_source.html#l00045">dmxWarning</a>, and <a class="el" href="dmxcommon_8h_source.html#l00069">GETPRIVFROMPRIVATE</a>.</p>

<p>Referenced by <a class="el" href="dmxbackend_8c_source.html#l00335">dmxBackendCollectEvents()</a>, <a class="el" href="dmxconsole_8c_source.html#l00596">dmxCloseConsole()</a>, <a class="el" href="dmxcommon_8c_source.html#l00259">dmxCommonKbdGetInfo()</a>, <a class="el" href="dmxcommon_8c_source.html#l00301">dmxCommonKbdOff()</a>, and <a class="el" href="dmxconsole_8c_source.html#l00458">dmxConsoleCollectEvents()</a>.</p>

</div>
</div>
<a class="anchor" id="a14295660e17d34955693cef6654d7bb6"></a><!-- doxytag: member="dmxcommon.h::dmxCommonSaveState" ref="a14295660e17d34955693cef6654d7bb6" args="(pointer private)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void dmxCommonSaveState </td>
          <td>(</td>
          <td class="paramtype">pointer&nbsp;</td>
          <td class="paramname"> <em>private</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>This routine saves and resets some important state for the backend and console device drivers:</p>
<ul>
<li>the modifier map is saved and set to 0 (so DMX controls the LEDs)</li>
<li>the key click, bell, led, and repeat masks are saved and set to the values that DMX claims to be using</li>
</ul>
<p>This routine and <a class="el" href="dmxcommon_8h.html#aca953b7500d93577441828156674c64e">dmxCommonRestoreState</a> are used when the pointer enters and leaves the console window, or when the backend window is active or not active (for a full-screen window, this only happens at server startup and server shutdown). </p>

<p>References <a class="el" href="dmxcommon_8c_source.html#l00117">dmxCommonKbdSetCtrl()</a>, <a class="el" href="dmxcursor_8c_source.html#l00105">DMXDBG0</a>, <a class="el" href="dmxlog_8c_source.html#l00219">dmxLogInput()</a>, <a class="el" href="dmxinit_8c_source.html#l00084">dmxScreens</a>, <a class="el" href="dmxsync_8c_source.html#l00150">dmxSync()</a>, <a class="el" href="dmxinit_8c_source.html#l00102">dmxUseXKB</a>, and <a class="el" href="dmxcommon_8h_source.html#l00069">GETPRIVFROMPRIVATE</a>.</p>

<p>Referenced by <a class="el" href="dmxbackend_8c_source.html#l00335">dmxBackendCollectEvents()</a>, <a class="el" href="dmxcommon_8c_source.html#l00156">dmxCommonKbdCtrl()</a>, <a class="el" href="dmxcommon_8c_source.html#l00259">dmxCommonKbdGetInfo()</a>, <a class="el" href="dmxcommon_8c_source.html#l00288">dmxCommonKbdOn()</a>, and <a class="el" href="dmxconsole_8c_source.html#l00458">dmxConsoleCollectEvents()</a>.</p>

</div>
</div>
<a class="anchor" id="a907580b7be71d9be0b771d32210f3cad"></a><!-- doxytag: member="dmxcommon.h::dmxFindPointerScreen" ref="a907580b7be71d9be0b771d32210f3cad" args="(int x, int y)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int dmxFindPointerScreen </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>y</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Given the global coordinates <em>x</em> and <em>y</em>, determine the screen with the lowest number on which those coordinates lie. If they are not on any screen, return -1. The number returned is an index into <em>dmxScreenInfo</em> and is between -1 and <em>dmxNumScreens</em> - 1, inclusive. </p>

<p>References <a class="el" href="dmxinit_8c_source.html#l00083">dmxNumScreens</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>