1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> 2<html> 3 <head> 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"> 7 </head> 8 <body> 9<!-- Generated by Doxygen 1.7.4 --> 10 <div id="navrow1" class="tabs"> 11 <ul class="tablist"> 12 <li><a href="index.html"><span>Main Page</span></a></li> 13 <li><a href="annotated.html"><span>Data Structures</span></a></li> 14 <li class="current"><a href="files.html"><span>Files</span></a></li> 15 </ul> 16 </div> 17 <div id="navrow2" class="tabs2"> 18 <ul class="tablist"> 19 <li><a href="files.html"><span>File List</span></a></li> 20 <li><a href="globals.html"><span>Globals</span></a></li> 21 </ul> 22 </div> 23</div> 24<div id="side-nav" class="ui-resizable side-nav-resizable"> 25 <div id="nav-tree"> 26 <div id="nav-tree-contents"> 27 </div> 28 </div> 29 <div id="splitbar" style="-moz-user-select:none;" 30 class="ui-resizable-handle"> 31 </div> 32</div> 33<script type="text/javascript"> 34 initNavTree('dmxcommon_8h.html',''); 35</script> 36<div id="doc-content"> 37<div class="header"> 38 <div class="summary"> 39<a href="#define-members">Defines</a> | 40<a href="#func-members">Functions</a> </div> 41 <div class="headertitle"> 42<div class="title">dmxcommon.h File Reference</div> </div> 43</div> 44<div class="contents"> 45 46<p><a href="dmxcommon_8h_source.html">Go to the source code of this file.</a></p> 47<table class="memberdecls"> 48<tr><td colspan="2"><h2><a name="define-members"></a> 49Defines</h2></td></tr> 50<tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxcommon_8h.html#ac501f773a244037a88da37c0dc48ac66">DMX_COMMON_OTHER</a></td></tr> 51<tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxcommon_8h.html#ac4c9fac008144d96c6bd6313b5e158d2">DMX_COMMON_XKB</a></td></tr> 52<tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxcommon_8h.html#a6f802c6dc60aba1cbf8c1246cb5a4be4">DMX_COMMON_PRIVATE</a></td></tr> 53<tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxcommon_8h.html#a215427f6c6c570d64e1039239484563f">GETONLYPRIVFROMPRIVATE</a>   <a class="el" href="struct__myPrivate.html">myPrivate</a> *priv = private</td></tr> 54<tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxcommon_8h.html#ae04675e973690cab79ef643f298cb375">GETPRIVFROMPRIVATE</a></td></tr> 55<tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxcommon_8h.html#ae60813d58a79b6dae5b98321fd7e1866">GETDMXLOCALFROMPDEVICE</a></td></tr> 56<tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxcommon_8h.html#a2f522c463d79a458d27ac9e1f6b2e30f">GETDMXINPUTFROMPRIV</a>   <a class="el" href="struct__DMXInputInfo.html">DMXInputInfo</a> *dmxInput = &<a class="el" href="dmxinput_8h.html#a067017d9e67716c251357e9edf917e59">dmxInputs</a>[priv->dmxLocal->inputIdx]</td></tr> 57<tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxcommon_8h.html#a7067dd8545db11300dc1ee7f461b346d">GETDMXINPUTFROMPDEVICE</a></td></tr> 58<tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxcommon_8h.html#a22db91e32f104411c68049e16a93067b">GETDMXLOCALFROMPDEV</a>   <a class="el" href="struct__DMXLocalInputInfo.html">DMXLocalInputInfoPtr</a> dmxLocal = pDev->devicePrivate</td></tr> 59<tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxcommon_8h.html#ad100a619cb405b9f315abf1019622dd7">GETDMXINPUTFROMPDEV</a></td></tr> 60<tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxcommon_8h.html#a162b4980b050465ca21228eb41f207a2">GETPRIVFROMPDEV</a></td></tr> 61<tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxcommon_8h.html#a8ed45b47d9c28c37195b3d10df2319a1">DMX_KEYBOARD_EVENT_MASK</a>   (KeyPressMask | KeyReleaseMask | KeymapStateMask)</td></tr> 62<tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxcommon_8h.html#aab5b14e925716fa97237594ee0b07d01">DMX_POINTER_EVENT_MASK</a>   (ButtonPressMask | ButtonReleaseMask | PointerMotionMask)</td></tr> 63<tr><td colspan="2"><h2><a name="func-members"></a> 64Functions</h2></td></tr> 65<tr><td class="memItemLeft" align="right" valign="top">void </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> 66<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxcommon_8h.html#a83410e3987567bd35fd146b193a21ed9">dmxCommonKbdGetMap</a> (DevicePtr pDev, KeySymsPtr pKeySyms, CARD8 *pModMap)</td></tr> 67<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxcommon_8h.html#a399f0ec4a6e5d0bcd3d07f24b2a6ac9e">dmxCommonKbdCtrl</a> (DevicePtr pDev, KeybdCtrl *ctrl)</td></tr> 68<tr><td class="memItemLeft" align="right" valign="top">void </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> 69<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxcommon_8h.html#a60cd36c3430ead2858986fe5f93165c1">dmxCommonKbdOn</a> (DevicePtr pDev)</td></tr> 70<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxcommon_8h.html#a9ddcdd8a91205b9b0e23022f246190a0">dmxCommonKbdOff</a> (DevicePtr pDev)</td></tr> 71<tr><td class="memItemLeft" align="right" valign="top">void </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> 72<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxcommon_8h.html#a11aa027975061ee6f3e684ee66f0f18c">dmxCommonMouCtrl</a> (DevicePtr pDev, PtrCtrl *ctrl)</td></tr> 73<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxcommon_8h.html#a8ba0ee4f9f09bc9089d480d1f5467cd8">dmxCommonMouOn</a> (DevicePtr pDev)</td></tr> 74<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxcommon_8h.html#acfeaccbc1f2f5be028b3ee8c0f31da89">dmxCommonMouOff</a> (DevicePtr pDev)</td></tr> 75<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxcommon_8h.html#a907580b7be71d9be0b771d32210f3cad">dmxFindPointerScreen</a> (int x, int y)</td></tr> 76<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxcommon_8h.html#a4b8e72433e206d48e6fb471e933800ad">dmxCommonOthOn</a> (DevicePtr pDev)</td></tr> 77<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxcommon_8h.html#a45f87ba7a0b02587dd2d1b4cdd3480c6">dmxCommonOthOff</a> (DevicePtr pDev)</td></tr> 78<tr><td class="memItemLeft" align="right" valign="top">void </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> 79<tr><td class="memItemLeft" align="right" valign="top">pointer </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxcommon_8h.html#a0e7301a2783357ff391172acab00d48a">dmxCommonCopyPrivate</a> (DeviceIntPtr pDevice)</td></tr> 80<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxcommon_8h.html#a14295660e17d34955693cef6654d7bb6">dmxCommonSaveState</a> (pointer private)</td></tr> 81<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxcommon_8h.html#aca953b7500d93577441828156674c64e">dmxCommonRestoreState</a> (pointer private)</td></tr> 82</table> 83<hr/><a name="details" id="details"></a><h2>Detailed Description</h2> 84<div class="textblock"><p>Interface to functions used by backend and console input devices. </p> 85<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="dmxcommon_8c.html">dmxcommon.c</a> </dd> 86<dd> 87<a class="el" href="dmxbackend_8c.html">dmxbackend.c</a> </dd> 88<dd> 89<a class="el" href="dmxconsole_8c.html">dmxconsole.c</a> </dd></dl> 90</div><hr/><h2>Define Documentation</h2> 91<a class="anchor" id="ac501f773a244037a88da37c0dc48ac66"></a><!-- doxytag: member="dmxcommon.h::DMX_COMMON_OTHER" ref="ac501f773a244037a88da37c0dc48ac66" args="" --> 92<div class="memitem"> 93<div class="memproto"> 94 <table class="memname"> 95 <tr> 96 <td class="memname">#define DMX_COMMON_OTHER</td> 97 </tr> 98 </table> 99</div> 100<div class="memdoc"> 101<b>Value:</b><div class="fragment"><pre class="fragment">Display *<a class="code" href="dmxprop_8c.html#ac49dfab9200d48f835ce64819c4fc878">display</a>; \ 102 Window window; \ 103 <a class="code" href="struct__DMXScreenInfo.html">DMXScreenInfo</a> *be; \ 104 <a class="code" href="struct__DMXLocalInputInfo.html">DMXLocalInputInfoPtr</a> dmxLocal; \ 105 <span class="keywordtype">int</span> initPointerX; \ 106 <span class="keywordtype">int</span> initPointerY; \ 107 <span class="keywordtype">long</span> eventMask; \ 108 KeybdCtrl kctrl; \ 109 PtrCtrl mctrl; \ 110 <span class="keywordtype">int</span> kctrlset; \ 111 <span class="keywordtype">int</span> mctrlset; \ 112 KeybdCtrl savedKctrl; \ 113 XModifierKeymap *savedModMap; \ 114 <span class="keywordtype">int</span> stateSaved 115</pre></div> 116</div> 117</div> 118<a class="anchor" id="a6f802c6dc60aba1cbf8c1246cb5a4be4"></a><!-- doxytag: member="dmxcommon.h::DMX_COMMON_PRIVATE" ref="a6f802c6dc60aba1cbf8c1246cb5a4be4" args="" --> 119<div class="memitem"> 120<div class="memproto"> 121 <table class="memname"> 122 <tr> 123 <td class="memname">#define DMX_COMMON_PRIVATE</td> 124 </tr> 125 </table> 126</div> 127<div class="memdoc"> 128<b>Value:</b><div class="fragment"><pre class="fragment"><a class="code" href="dmxcommon_8h.html#ac4c9fac008144d96c6bd6313b5e158d2">DMX_COMMON_XKB</a>; \ 129 XDevice *xi 130</pre></div> 131</div> 132</div> 133<a class="anchor" id="ac4c9fac008144d96c6bd6313b5e158d2"></a><!-- doxytag: member="dmxcommon.h::DMX_COMMON_XKB" ref="ac4c9fac008144d96c6bd6313b5e158d2" args="" --> 134<div class="memitem"> 135<div class="memproto"> 136 <table class="memname"> 137 <tr> 138 <td class="memname">#define DMX_COMMON_XKB</td> 139 </tr> 140 </table> 141</div> 142<div class="memdoc"> 143<b>Value:</b><div class="fragment"><pre class="fragment"><a class="code" href="dmxcommon_8h.html#ac501f773a244037a88da37c0dc48ac66">DMX_COMMON_OTHER</a>; \ 144 XkbDescPtr xkb; \ 145 XkbIndicatorRec savedIndicators 146</pre></div> 147</div> 148</div> 149<a class="anchor" id="a8ed45b47d9c28c37195b3d10df2319a1"></a><!-- doxytag: member="dmxcommon.h::DMX_KEYBOARD_EVENT_MASK" ref="a8ed45b47d9c28c37195b3d10df2319a1" args="" --> 150<div class="memitem"> 151<div class="memproto"> 152 <table class="memname"> 153 <tr> 154 <td class="memname">#define DMX_KEYBOARD_EVENT_MASK   (KeyPressMask | KeyReleaseMask | KeymapStateMask)</td> 155 </tr> 156 </table> 157</div> 158<div class="memdoc"> 159 160<p>Referenced by <a class="el" href="dmxcommon_8h.html#a9ddcdd8a91205b9b0e23022f246190a0">dmxCommonKbdOff()</a>, and <a class="el" href="dmxcommon_8h.html#a60cd36c3430ead2858986fe5f93165c1">dmxCommonKbdOn()</a>.</p> 161 162</div> 163</div> 164<a class="anchor" id="aab5b14e925716fa97237594ee0b07d01"></a><!-- doxytag: member="dmxcommon.h::DMX_POINTER_EVENT_MASK" ref="aab5b14e925716fa97237594ee0b07d01" args="" --> 165<div class="memitem"> 166<div class="memproto"> 167 <table class="memname"> 168 <tr> 169 <td class="memname">#define DMX_POINTER_EVENT_MASK   (ButtonPressMask | ButtonReleaseMask | PointerMotionMask)</td> 170 </tr> 171 </table> 172</div> 173<div class="memdoc"> 174 175<p>Referenced by <a class="el" href="dmxcommon_8h.html#acfeaccbc1f2f5be028b3ee8c0f31da89">dmxCommonMouOff()</a>, and <a class="el" href="dmxcommon_8h.html#a8ba0ee4f9f09bc9089d480d1f5467cd8">dmxCommonMouOn()</a>.</p> 176 177</div> 178</div> 179<a class="anchor" id="ad100a619cb405b9f315abf1019622dd7"></a><!-- doxytag: member="dmxcommon.h::GETDMXINPUTFROMPDEV" ref="ad100a619cb405b9f315abf1019622dd7" args="" --> 180<div class="memitem"> 181<div class="memproto"> 182 <table class="memname"> 183 <tr> 184 <td class="memname">#define GETDMXINPUTFROMPDEV</td> 185 </tr> 186 </table> 187</div> 188<div class="memdoc"> 189<b>Value:</b><div class="fragment"><pre class="fragment"><a class="code" href="dmxcommon_8h.html#a22db91e32f104411c68049e16a93067b">GETDMXLOCALFROMPDEV</a>; \ 190 <a class="code" href="struct__DMXInputInfo.html">DMXInputInfo</a> *dmxInput = &<a class="code" href="dmxinit_8c.html#a067017d9e67716c251357e9edf917e59">dmxInputs</a>[dmxLocal->inputIdx] 191</pre></div> 192<p>Referenced by <a class="el" href="dmxevents_8h.html#a082f21151ec3d66b75d4613a3612c755">dmxCheckSpecialKeys()</a>, and <a class="el" href="dmxevents_8h.html#ac678be4d489b749fea88a8f0e9045499">dmxEnqueue()</a>.</p> 193 194</div> 195</div> 196<a class="anchor" id="a7067dd8545db11300dc1ee7f461b346d"></a><!-- doxytag: member="dmxcommon.h::GETDMXINPUTFROMPDEVICE" ref="a7067dd8545db11300dc1ee7f461b346d" args="" --> 197<div class="memitem"> 198<div class="memproto"> 199 <table class="memname"> 200 <tr> 201 <td class="memname">#define GETDMXINPUTFROMPDEVICE</td> 202 </tr> 203 </table> 204</div> 205<div class="memdoc"> 206<b>Value:</b><div class="fragment"><pre class="fragment"><a class="code" href="dmxcommon_8h.html#ae60813d58a79b6dae5b98321fd7e1866">GETDMXLOCALFROMPDEVICE</a>; \ 207 <a class="code" href="struct__DMXInputInfo.html">DMXInputInfo</a> *dmxInput = &<a class="code" href="dmxinit_8c.html#a067017d9e67716c251357e9edf917e59">dmxInputs</a>[dmxLocal->inputIdx] 208</pre></div> 209<p>Referenced by <a class="el" href="dmxinputinit_8c.html#aee6196e74882c16d5cd939d88b3b6fdc">dmxDeviceOnOff()</a>, and <a class="el" href="dmxinputinit_8c.html#a2969aeffcc1a403f00be11a8d06b3926">dmxKeyboardOn()</a>.</p> 210 211</div> 212</div> 213<a class="anchor" id="a2f522c463d79a458d27ac9e1f6b2e30f"></a><!-- doxytag: member="dmxcommon.h::GETDMXINPUTFROMPRIV" ref="a2f522c463d79a458d27ac9e1f6b2e30f" args="" --> 214<div class="memitem"> 215<div class="memproto"> 216 <table class="memname"> 217 <tr> 218 <td class="memname">#define GETDMXINPUTFROMPRIV   <a class="el" href="struct__DMXInputInfo.html">DMXInputInfo</a> *dmxInput = &<a class="el" href="dmxinput_8h.html#a067017d9e67716c251357e9edf917e59">dmxInputs</a>[priv->dmxLocal->inputIdx]</td> 219 </tr> 220 </table> 221</div> 222<div class="memdoc"> 223 224<p>Referenced by <a class="el" href="dmxbackend_8h.html#a6e9b6f0743636b93aeb6ae71a3517abf">dmxBackendCollectEvents()</a>, <a class="el" href="dmxconsole_8c.html#a4d898acda21ed431ce0ee21303930153">dmxCloseConsole()</a>, <a class="el" href="dmxcommon_8h.html#a86b1c983a556770efdd1a19e8be44534">dmxCommonKbdGetInfo()</a>, <a class="el" href="dmxcommon_8h.html#acfeaccbc1f2f5be028b3ee8c0f31da89">dmxCommonMouOff()</a>, <a class="el" href="dmxcommon_8h.html#a8ba0ee4f9f09bc9089d480d1f5467cd8">dmxCommonMouOn()</a>, <a class="el" href="dmxcommon_8h.html#a67f944a345e0ba88ac996056914d191c">dmxCommonOthGetInfo()</a>, <a class="el" href="dmxcommon_8h.html#a4b8e72433e206d48e6fb471e933800ad">dmxCommonOthOn()</a>, <a class="el" href="dmxconsole_8h.html#a9c2ec3c63c36955d2458283dbd62b605">dmxConsoleCollectEvents()</a>, and <a class="el" href="dmxconsole_8c.html#ae190afd60f808521f7ecdc32d3a0326c">dmxConsoleDraw()</a>.</p> 225 226</div> 227</div> 228<a class="anchor" id="a22db91e32f104411c68049e16a93067b"></a><!-- doxytag: member="dmxcommon.h::GETDMXLOCALFROMPDEV" ref="a22db91e32f104411c68049e16a93067b" args="" --> 229<div class="memitem"> 230<div class="memproto"> 231 <table class="memname"> 232 <tr> 233 <td class="memname">#define GETDMXLOCALFROMPDEV   <a class="el" href="struct__DMXLocalInputInfo.html">DMXLocalInputInfoPtr</a> dmxLocal = pDev->devicePrivate</td> 234 </tr> 235 </table> 236</div> 237<div class="memdoc"> 238 239<p>Referenced by <a class="el" href="dmxevents_8c.html#a76dff4df3c759055dfb6b74423868e9b">dmxFixup()</a>, <a class="el" href="dmxevents_8h.html#ac96a9f0e7f2a31881224b4a8e620239a">dmxMotion()</a>, and <a class="el" href="dmxevents_8c.html#ad423328e9c289737154464bd6830a1ad">enqueueMotion()</a>.</p> 240 241</div> 242</div> 243<a class="anchor" id="ae60813d58a79b6dae5b98321fd7e1866"></a><!-- doxytag: member="dmxcommon.h::GETDMXLOCALFROMPDEVICE" ref="ae60813d58a79b6dae5b98321fd7e1866" args="" --> 244<div class="memitem"> 245<div class="memproto"> 246 <table class="memname"> 247 <tr> 248 <td class="memname">#define GETDMXLOCALFROMPDEVICE</td> 249 </tr> 250 </table> 251</div> 252<div class="memdoc"> 253<b>Value:</b><div class="fragment"><pre class="fragment">DevicePtr pDev = &pDevice->public; \ 254 <a class="code" href="struct__DMXLocalInputInfo.html">DMXLocalInputInfoPtr</a> dmxLocal = pDev->devicePrivate 255</pre></div> 256<p>Referenced by <a class="el" href="dmxbackend_8h.html#a2a875125c1316c123e45c7e7a9251c2e">dmxBackendCreatePrivate()</a>, <a class="el" href="dmxinputinit_8h.html#aaba396b9c08ac672d3dcf6561ac57b40">dmxChangePointerControl()</a>, <a class="el" href="dmxcommon_8h.html#a0e7301a2783357ff391172acab00d48a">dmxCommonCopyPrivate()</a>, <a class="el" href="dmxconsole_8h.html#a44f5875f978cc85c2190eacef51debac">dmxConsoleCreatePrivate()</a>, <a class="el" href="dmxinputinit_8h.html#ab127903bdb6bf262e51f128b4cec4960">dmxKeyboardBellProc()</a>, <a class="el" href="dmxinputinit_8h.html#ad23e145891ad0fb1c909d85ca8e4fe19">dmxKeyboardKbdCtrlProc()</a>, <a class="el" href="dmxmotion_8h.html#a6ebfa18908cd0473f3f23643e9ca2a58">dmxPointerGetMotionEvents()</a>, and <a class="el" href="dmxmotion_8h.html#abe71ba14a07f4077ca2658f81426f4c6">dmxPointerPutMotionEvent()</a>.</p> 257 258</div> 259</div> 260<a class="anchor" id="a215427f6c6c570d64e1039239484563f"></a><!-- doxytag: member="dmxcommon.h::GETONLYPRIVFROMPRIVATE" ref="a215427f6c6c570d64e1039239484563f" args="" --> 261<div class="memitem"> 262<div class="memproto"> 263 <table class="memname"> 264 <tr> 265 <td class="memname">#define GETONLYPRIVFROMPRIVATE   <a class="el" href="struct__myPrivate.html">myPrivate</a> *priv = private</td> 266 </tr> 267 </table> 268</div> 269<div class="memdoc"> 270 271<p>Referenced by <a class="el" href="dmxconsole_8c.html#aa058e61a540d8d4c740fee239c3bffe1">dmxConsoleDrawWindows()</a>, <a class="el" href="dmxconsole_8h.html#a613139541bddab357c413b76238e489b">dmxConsoleFunctions()</a>, <a class="el" href="dmxconsole_8h.html#ac5fba2223efdab61863b6458a90c189a">dmxConsoleUpdateInfo()</a>, and <a class="el" href="dmxconsole_8h.html#a596b1bd2ef51d5542393215ad810b227">dmxConsoleUpdatePosition()</a>.</p> 272 273</div> 274</div> 275<a class="anchor" id="a162b4980b050465ca21228eb41f207a2"></a><!-- doxytag: member="dmxcommon.h::GETPRIVFROMPDEV" ref="a162b4980b050465ca21228eb41f207a2" args="" --> 276<div class="memitem"> 277<div class="memproto"> 278 <table class="memname"> 279 <tr> 280 <td class="memname">#define GETPRIVFROMPDEV</td> 281 </tr> 282 </table> 283</div> 284<div class="memdoc"> 285<b>Value:</b><div class="fragment"><pre class="fragment"><a class="code" href="dmxcommon_8h.html#a22db91e32f104411c68049e16a93067b">GETDMXLOCALFROMPDEV</a>; \ 286 <a class="code" href="struct__myPrivate.html">myPrivate</a> *priv = dmxLocal->private 287</pre></div> 288<p>Referenced by <a class="el" href="dmxbackend_8h.html#a6e9b6f0743636b93aeb6ae71a3517abf">dmxBackendCollectEvents()</a>, <a class="el" href="dmxbackend_8h.html#a941213c5a98d26e0f30391ee312e1436">dmxBackendInit()</a>, <a class="el" href="dmxbackend_8c.html#a69990fbd029b2aff929c909fab8a9125">dmxBackendInitPrivate()</a>, <a class="el" href="dmxbackend_8h.html#a6027901ceb2a93e4fea5acf9b8cb0059">dmxBackendLateReInit()</a>, <a class="el" href="dmxcommon_8h.html#aa069076ebf89f8b89668cffafb731cfe">dmxCommonKbdBell()</a>, <a class="el" href="dmxcommon_8h.html#a399f0ec4a6e5d0bcd3d07f24b2a6ac9e">dmxCommonKbdCtrl()</a>, <a class="el" href="dmxcommon_8h.html#a86b1c983a556770efdd1a19e8be44534">dmxCommonKbdGetInfo()</a>, <a class="el" href="dmxcommon_8h.html#a83410e3987567bd35fd146b193a21ed9">dmxCommonKbdGetMap()</a>, <a class="el" href="dmxcommon_8h.html#a9ddcdd8a91205b9b0e23022f246190a0">dmxCommonKbdOff()</a>, <a class="el" href="dmxcommon_8h.html#a60cd36c3430ead2858986fe5f93165c1">dmxCommonKbdOn()</a>, <a class="el" href="dmxcommon_8h.html#a11aa027975061ee6f3e684ee66f0f18c">dmxCommonMouCtrl()</a>, <a class="el" href="dmxcommon_8h.html#a9ce209ad340f84644115a165eadfa540">dmxCommonMouGetMap()</a>, <a class="el" href="dmxcommon_8h.html#acfeaccbc1f2f5be028b3ee8c0f31da89">dmxCommonMouOff()</a>, <a class="el" href="dmxcommon_8h.html#a8ba0ee4f9f09bc9089d480d1f5467cd8">dmxCommonMouOn()</a>, <a class="el" href="dmxcommon_8h.html#a67f944a345e0ba88ac996056914d191c">dmxCommonOthGetInfo()</a>, <a class="el" href="dmxcommon_8h.html#a45f87ba7a0b02587dd2d1b4cdd3480c6">dmxCommonOthOff()</a>, <a class="el" href="dmxcommon_8h.html#a4b8e72433e206d48e6fb471e933800ad">dmxCommonOthOn()</a>, <a class="el" href="dmxconsole_8h.html#a9c2ec3c63c36955d2458283dbd62b605">dmxConsoleCollectEvents()</a>, <a class="el" href="dmxconsole_8h.html#afdd1f3231a4059e6c13d81cb5b472ab6">dmxConsoleInit()</a>, <a class="el" href="dmxconsole_8h.html#a3d639d0e2a2c3c520f3544f15910ab01">dmxConsoleMouGetInfo()</a>, and <a class="el" href="dmxconsole_8h.html#a35bfb53c46a7a14282d0110aa603dd4a">dmxConsoleReInit()</a>.</p> 289 290</div> 291</div> 292<a class="anchor" id="ae04675e973690cab79ef643f298cb375"></a><!-- doxytag: member="dmxcommon.h::GETPRIVFROMPRIVATE" ref="ae04675e973690cab79ef643f298cb375" args="" --> 293<div class="memitem"> 294<div class="memproto"> 295 <table class="memname"> 296 <tr> 297 <td class="memname">#define GETPRIVFROMPRIVATE</td> 298 </tr> 299 </table> 300</div> 301<div class="memdoc"> 302<b>Value:</b><div class="fragment"><pre class="fragment"><a class="code" href="dmxcommon_8h.html#a215427f6c6c570d64e1039239484563f">GETONLYPRIVFROMPRIVATE</a>; \ 303 <a class="code" href="struct__DMXInputInfo.html">DMXInputInfo</a> *dmxInput = &<a class="code" href="dmxinit_8c.html#a067017d9e67716c251357e9edf917e59">dmxInputs</a>[priv->dmxLocal->inputIdx] 304</pre></div> 305<p>Referenced by <a class="el" href="dmxbackend_8h.html#a4ee65e2f1b86616b7898c273d78a5853">dmxBackendProcessInput()</a>, <a class="el" href="dmxbackend_8h.html#a486d684411f79c459a1195e5c02f404c">dmxBackendUpdatePosition()</a>, <a class="el" href="dmxcommon_8h.html#aca953b7500d93577441828156674c64e">dmxCommonRestoreState()</a>, and <a class="el" href="dmxcommon_8h.html#a14295660e17d34955693cef6654d7bb6">dmxCommonSaveState()</a>.</p> 306 307</div> 308</div> 309<hr/><h2>Function Documentation</h2> 310<a class="anchor" id="a0e7301a2783357ff391172acab00d48a"></a><!-- doxytag: member="dmxcommon.h::dmxCommonCopyPrivate" ref="a0e7301a2783357ff391172acab00d48a" args="(DeviceIntPtr pDevice)" --> 311<div class="memitem"> 312<div class="memproto"> 313 <table class="memname"> 314 <tr> 315 <td class="memname">pointer dmxCommonCopyPrivate </td> 316 <td>(</td> 317 <td class="paramtype">DeviceIntPtr </td> 318 <td class="paramname"><em>pDevice</em></td><td>)</td> 319 <td></td> 320 </tr> 321 </table> 322</div> 323<div class="memdoc"> 324<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> 325 326<p>References <a class="el" href="struct__DMXInputInfo.html#a70e88af10d1862603d4dbc65ba936d16">_DMXInputInfo::devs</a>, <a class="el" href="dmxinit_8c.html#a067017d9e67716c251357e9edf917e59">dmxInputs</a>, <a class="el" href="dmxcommon_8h.html#ae60813d58a79b6dae5b98321fd7e1866">GETDMXLOCALFROMPDEVICE</a>, <a class="el" href="struct__DMXInputInfo.html#a25d88463a7385bc47bed58bb4a662f6d">_DMXInputInfo::numDevs</a>, and <a class="el" href="struct__DMXLocalInputInfo.html#a25754def501a2713eb09d4ac2401d624">_DMXLocalInputInfo::private</a>.</p> 327 328</div> 329</div> 330<a class="anchor" id="aa069076ebf89f8b89668cffafb731cfe"></a><!-- doxytag: member="dmxcommon.h::dmxCommonKbdBell" ref="aa069076ebf89f8b89668cffafb731cfe" args="(DevicePtr pDev, int percent, int volume, int pitch, int duration)" --> 331<div class="memitem"> 332<div class="memproto"> 333 <table class="memname"> 334 <tr> 335 <td class="memname">void dmxCommonKbdBell </td> 336 <td>(</td> 337 <td class="paramtype">DevicePtr </td> 338 <td class="paramname"><em>pDev</em>, </td> 339 </tr> 340 <tr> 341 <td class="paramkey"></td> 342 <td></td> 343 <td class="paramtype">int </td> 344 <td class="paramname"><em>percent</em>, </td> 345 </tr> 346 <tr> 347 <td class="paramkey"></td> 348 <td></td> 349 <td class="paramtype">int </td> 350 <td class="paramname"><em>volume</em>, </td> 351 </tr> 352 <tr> 353 <td class="paramkey"></td> 354 <td></td> 355 <td class="paramtype">int </td> 356 <td class="paramname"><em>pitch</em>, </td> 357 </tr> 358 <tr> 359 <td class="paramkey"></td> 360 <td></td> 361 <td class="paramtype">int </td> 362 <td class="paramname"><em>duration</em> </td> 363 </tr> 364 <tr> 365 <td></td> 366 <td>)</td> 367 <td></td><td></td> 368 </tr> 369 </table> 370</div> 371<div class="memdoc"> 372<p>Sound they keyboard bell. </p> 373 374<p>References <a class="el" href="dmxcommon_8h.html#a162b4980b050465ca21228eb41f207a2">GETPRIVFROMPDEV</a>.</p> 375 376</div> 377</div> 378<a class="anchor" id="a399f0ec4a6e5d0bcd3d07f24b2a6ac9e"></a><!-- doxytag: member="dmxcommon.h::dmxCommonKbdCtrl" ref="a399f0ec4a6e5d0bcd3d07f24b2a6ac9e" args="(DevicePtr pDev, KeybdCtrl *ctrl)" --> 379<div class="memitem"> 380<div class="memproto"> 381 <table class="memname"> 382 <tr> 383 <td class="memname">void dmxCommonKbdCtrl </td> 384 <td>(</td> 385 <td class="paramtype">DevicePtr </td> 386 <td class="paramname"><em>pDev</em>, </td> 387 </tr> 388 <tr> 389 <td class="paramkey"></td> 390 <td></td> 391 <td class="paramtype">KeybdCtrl * </td> 392 <td class="paramname"><em>ctrl</em> </td> 393 </tr> 394 <tr> 395 <td></td> 396 <td>)</td> 397 <td></td><td></td> 398 </tr> 399 </table> 400</div> 401<div class="memdoc"> 402<p>Update the keyboard control. </p> 403 404<p>References <a class="el" href="dmxcommon_8c.html#a029097ed04b236c945e3715910250680">dmxCommonKbdSetCtrl()</a>, <a class="el" href="dmxcommon_8c.html#a14295660e17d34955693cef6654d7bb6">dmxCommonSaveState()</a>, and <a class="el" href="dmxcommon_8h.html#a162b4980b050465ca21228eb41f207a2">GETPRIVFROMPDEV</a>.</p> 405 406</div> 407</div> 408<a class="anchor" id="a86b1c983a556770efdd1a19e8be44534"></a><!-- doxytag: member="dmxcommon.h::dmxCommonKbdGetInfo" ref="a86b1c983a556770efdd1a19e8be44534" args="(DevicePtr pDev, DMXLocalInitInfoPtr info)" --> 409<div class="memitem"> 410<div class="memproto"> 411 <table class="memname"> 412 <tr> 413 <td class="memname">void dmxCommonKbdGetInfo </td> 414 <td>(</td> 415 <td class="paramtype">DevicePtr </td> 416 <td class="paramname"><em>pDev</em>, </td> 417 </tr> 418 <tr> 419 <td class="paramkey"></td> 420 <td></td> 421 <td class="paramtype"><a class="el" href="struct__DMXLocalInitInfo.html">DMXLocalInitInfoPtr</a> </td> 422 <td class="paramname"><em>info</em> </td> 423 </tr> 424 <tr> 425 <td></td> 426 <td>)</td> 427 <td></td><td></td> 428 </tr> 429 </table> 430</div> 431<div class="memdoc"> 432<p>Fill in the XKEYBOARD parts of the <em>info</em> structure for the specified <em>pDev</em>. </p> 433 434<p>References <a class="el" href="dmxcommon_8c.html#aca953b7500d93577441828156674c64e">dmxCommonRestoreState()</a>, <a class="el" href="dmxcommon_8c.html#a14295660e17d34955693cef6654d7bb6">dmxCommonSaveState()</a>, <a class="el" href="dmxlog_8c.html#ac8d8dc0ec631bab1d1d95815c238d574">dmxLogInput()</a>, <a class="el" href="struct__DMXLocalInitInfo.html#a20463b784b2d33db44b377cbbabf8b7b">_DMXLocalInitInfo::freenames</a>, <a class="el" href="dmxcommon_8h.html#a2f522c463d79a458d27ac9e1f6b2e30f">GETDMXINPUTFROMPRIV</a>, <a class="el" href="dmxcommon_8h.html#a162b4980b050465ca21228eb41f207a2">GETPRIVFROMPDEV</a>, <a class="el" href="dmxcommon_8c.html#a14111ac8f43949172b152e50dc720aba">NAME</a>, and <a class="el" href="struct__DMXLocalInitInfo.html#a92de3dbbb88844f90aa431f93e16ee05">_DMXLocalInitInfo::names</a>.</p> 435 436<p>Referenced by <a class="el" href="dmxbackend_8h.html#a1c628b807f62aeeeb2093ad63941eff1">dmxBackendKbdGetInfo()</a>, and <a class="el" href="dmxconsole_8h.html#a710d0bdd587deeb35b430ba48ac209f1">dmxConsoleKbdGetInfo()</a>.</p> 437 438</div> 439</div> 440<a class="anchor" id="a83410e3987567bd35fd146b193a21ed9"></a><!-- doxytag: member="dmxcommon.h::dmxCommonKbdGetMap" ref="a83410e3987567bd35fd146b193a21ed9" args="(DevicePtr pDev, KeySymsPtr pKeySyms, CARD8 *pModMap)" --> 441<div class="memitem"> 442<div class="memproto"> 443 <table class="memname"> 444 <tr> 445 <td class="memname">void dmxCommonKbdGetMap </td> 446 <td>(</td> 447 <td class="paramtype">DevicePtr </td> 448 <td class="paramname"><em>pDev</em>, </td> 449 </tr> 450 <tr> 451 <td class="paramkey"></td> 452 <td></td> 453 <td class="paramtype">KeySymsPtr </td> 454 <td class="paramname"><em>pKeySyms</em>, </td> 455 </tr> 456 <tr> 457 <td class="paramkey"></td> 458 <td></td> 459 <td class="paramtype">CARD8 * </td> 460 <td class="paramname"><em>pModMap</em> </td> 461 </tr> 462 <tr> 463 <td></td> 464 <td>)</td> 465 <td></td><td></td> 466 </tr> 467 </table> 468</div> 469<div class="memdoc"> 470<p>Get the keyboard mapping. </p> 471 472<p>References <a class="el" href="dmxcommon_8h.html#a162b4980b050465ca21228eb41f207a2">GETPRIVFROMPDEV</a>.</p> 473 474<p>Referenced by <a class="el" href="dmxbackend_8h.html#a1c628b807f62aeeeb2093ad63941eff1">dmxBackendKbdGetInfo()</a>, and <a class="el" href="dmxconsole_8h.html#a710d0bdd587deeb35b430ba48ac209f1">dmxConsoleKbdGetInfo()</a>.</p> 475 476</div> 477</div> 478<a class="anchor" id="a9ddcdd8a91205b9b0e23022f246190a0"></a><!-- doxytag: member="dmxcommon.h::dmxCommonKbdOff" ref="a9ddcdd8a91205b9b0e23022f246190a0" args="(DevicePtr pDev)" --> 479<div class="memitem"> 480<div class="memproto"> 481 <table class="memname"> 482 <tr> 483 <td class="memname">void dmxCommonKbdOff </td> 484 <td>(</td> 485 <td class="paramtype">DevicePtr </td> 486 <td class="paramname"><em>pDev</em></td><td>)</td> 487 <td></td> 488 </tr> 489 </table> 490</div> 491<div class="memdoc"> 492<p>Turn <em>pDev</em> off. </p> 493 494<p>References <a class="el" href="dmxcommon_8h.html#a8ed45b47d9c28c37195b3d10df2319a1">DMX_KEYBOARD_EVENT_MASK</a>, <a class="el" href="dmxcommon_8c.html#aca953b7500d93577441828156674c64e">dmxCommonRestoreState()</a>, and <a class="el" href="dmxcommon_8h.html#a162b4980b050465ca21228eb41f207a2">GETPRIVFROMPDEV</a>.</p> 495 496</div> 497</div> 498<a class="anchor" id="a60cd36c3430ead2858986fe5f93165c1"></a><!-- doxytag: member="dmxcommon.h::dmxCommonKbdOn" ref="a60cd36c3430ead2858986fe5f93165c1" args="(DevicePtr pDev)" --> 499<div class="memitem"> 500<div class="memproto"> 501 <table class="memname"> 502 <tr> 503 <td class="memname">int dmxCommonKbdOn </td> 504 <td>(</td> 505 <td class="paramtype">DevicePtr </td> 506 <td class="paramname"><em>pDev</em></td><td>)</td> 507 <td></td> 508 </tr> 509 </table> 510</div> 511<div class="memdoc"> 512<p>Turn <em>pDev</em> on (i.e., take input from <em>pDev</em>). </p> 513 514<p>References <a class="el" href="dmxcommon_8h.html#a8ed45b47d9c28c37195b3d10df2319a1">DMX_KEYBOARD_EVENT_MASK</a>, <a class="el" href="dmxcommon_8c.html#a14295660e17d34955693cef6654d7bb6">dmxCommonSaveState()</a>, and <a class="el" href="dmxcommon_8h.html#a162b4980b050465ca21228eb41f207a2">GETPRIVFROMPDEV</a>.</p> 515 516</div> 517</div> 518<a class="anchor" id="a11aa027975061ee6f3e684ee66f0f18c"></a><!-- doxytag: member="dmxcommon.h::dmxCommonMouCtrl" ref="a11aa027975061ee6f3e684ee66f0f18c" args="(DevicePtr pDev, PtrCtrl *ctrl)" --> 519<div class="memitem"> 520<div class="memproto"> 521 <table class="memname"> 522 <tr> 523 <td class="memname">void dmxCommonMouCtrl </td> 524 <td>(</td> 525 <td class="paramtype">DevicePtr </td> 526 <td class="paramname"><em>pDev</em>, </td> 527 </tr> 528 <tr> 529 <td class="paramkey"></td> 530 <td></td> 531 <td class="paramtype">PtrCtrl * </td> 532 <td class="paramname"><em>ctrl</em> </td> 533 </tr> 534 <tr> 535 <td></td> 536 <td>)</td> 537 <td></td><td></td> 538 </tr> 539 </table> 540</div> 541<div class="memdoc"> 542<p>Update the mouse control. </p> 543 544<p>References <a class="el" href="dmxcommon_8c.html#a71374978838ea5232f72055f152a894e">dmxCommonMouSetCtrl()</a>, and <a class="el" href="dmxcommon_8h.html#a162b4980b050465ca21228eb41f207a2">GETPRIVFROMPDEV</a>.</p> 545 546</div> 547</div> 548<a class="anchor" id="a9ce209ad340f84644115a165eadfa540"></a><!-- doxytag: member="dmxcommon.h::dmxCommonMouGetMap" ref="a9ce209ad340f84644115a165eadfa540" args="(DevicePtr pDev, unsigned char *map, int *nButtons)" --> 549<div class="memitem"> 550<div class="memproto"> 551 <table class="memname"> 552 <tr> 553 <td class="memname">void dmxCommonMouGetMap </td> 554 <td>(</td> 555 <td class="paramtype">DevicePtr </td> 556 <td class="paramname"><em>pDev</em>, </td> 557 </tr> 558 <tr> 559 <td class="paramkey"></td> 560 <td></td> 561 <td class="paramtype">unsigned char * </td> 562 <td class="paramname"><em>map</em>, </td> 563 </tr> 564 <tr> 565 <td class="paramkey"></td> 566 <td></td> 567 <td class="paramtype">int * </td> 568 <td class="paramname"><em>nButtons</em> </td> 569 </tr> 570 <tr> 571 <td></td> 572 <td>)</td> 573 <td></td><td></td> 574 </tr> 575 </table> 576</div> 577<div class="memdoc"> 578<p>Obtain the mouse button mapping. </p> 579 580<p>References <a class="el" href="dmxinputinit_8h.html#a612274ec201ce93ff486a18bf84225ec">DMX_MAX_BUTTONS</a>, and <a class="el" href="dmxcommon_8h.html#a162b4980b050465ca21228eb41f207a2">GETPRIVFROMPDEV</a>.</p> 581 582<p>Referenced by <a class="el" href="dmxbackend_8h.html#a1afb0902ffb9019c943b0c4db6315209">dmxBackendMouGetInfo()</a>, and <a class="el" href="dmxconsole_8h.html#a3d639d0e2a2c3c520f3544f15910ab01">dmxConsoleMouGetInfo()</a>.</p> 583 584</div> 585</div> 586<a class="anchor" id="acfeaccbc1f2f5be028b3ee8c0f31da89"></a><!-- doxytag: member="dmxcommon.h::dmxCommonMouOff" ref="acfeaccbc1f2f5be028b3ee8c0f31da89" args="(DevicePtr pDev)" --> 587<div class="memitem"> 588<div class="memproto"> 589 <table class="memname"> 590 <tr> 591 <td class="memname">void dmxCommonMouOff </td> 592 <td>(</td> 593 <td class="paramtype">DevicePtr </td> 594 <td class="paramname"><em>pDev</em></td><td>)</td> 595 <td></td> 596 </tr> 597 </table> 598</div> 599<div class="memdoc"> 600<p>Turn <em>pDev</em> off. </p> 601 602<p>References <a class="el" href="dmxcommon_8h.html#aab5b14e925716fa97237594ee0b07d01">DMX_POINTER_EVENT_MASK</a>, <a class="el" href="dmxcommon_8c.html#adb5e0faaefc43851e4ebcd01bd9c10ec">dmxCommonRemoveEnabledDevice()</a>, <a class="el" href="dmxcommon_8c.html#a6e3adb2e48d7cc7a098c542c693d66d0">dmxCommonXSelect()</a>, <a class="el" href="dmxprop_8c.html#a1353800f90c3a1f46d453caa71a41ab6">dmxPropertyIterate()</a>, <a class="el" href="dmxcommon_8h.html#a2f522c463d79a458d27ac9e1f6b2e30f">GETDMXINPUTFROMPRIV</a>, and <a class="el" href="dmxcommon_8h.html#a162b4980b050465ca21228eb41f207a2">GETPRIVFROMPDEV</a>.</p> 603 604</div> 605</div> 606<a class="anchor" id="a8ba0ee4f9f09bc9089d480d1f5467cd8"></a><!-- doxytag: member="dmxcommon.h::dmxCommonMouOn" ref="a8ba0ee4f9f09bc9089d480d1f5467cd8" args="(DevicePtr pDev)" --> 607<div class="memitem"> 608<div class="memproto"> 609 <table class="memname"> 610 <tr> 611 <td class="memname">int dmxCommonMouOn </td> 612 <td>(</td> 613 <td class="paramtype">DevicePtr </td> 614 <td class="paramname"><em>pDev</em></td><td>)</td> 615 <td></td> 616 </tr> 617 </table> 618</div> 619<div class="memdoc"> 620<p>Turn <em>pDev</em> on (i.e., take input from <em>pDev</em>). </p> 621 622<p>References <a class="el" href="dmxcommon_8h.html#aab5b14e925716fa97237594ee0b07d01">DMX_POINTER_EVENT_MASK</a>, <a class="el" href="dmxcommon_8c.html#a82d9ce21ede8d533adde28ce8dbabdf7">dmxCommonAddEnabledDevice()</a>, <a class="el" href="dmxcommon_8c.html#a6e3adb2e48d7cc7a098c542c693d66d0">dmxCommonXSelect()</a>, <a class="el" href="dmxprop_8c.html#a1353800f90c3a1f46d453caa71a41ab6">dmxPropertyIterate()</a>, <a class="el" href="dmx_8h.html#a3e242a6818df05e547a4776919e3827f">dmxScreens</a>, <a class="el" href="dmx_8h.html#a97d09d0d46e9e7df451072def499e4fe">dmxShadowFB</a>, <a class="el" href="dmxsync_8c.html#ab848762f4d2e30d31b87d3e8e10c5967">dmxSync()</a>, <a class="el" href="dmxcommon_8h.html#a2f522c463d79a458d27ac9e1f6b2e30f">GETDMXINPUTFROMPRIV</a>, and <a class="el" href="dmxcommon_8h.html#a162b4980b050465ca21228eb41f207a2">GETPRIVFROMPDEV</a>.</p> 623 624</div> 625</div> 626<a class="anchor" id="a67f944a345e0ba88ac996056914d191c"></a><!-- doxytag: member="dmxcommon.h::dmxCommonOthGetInfo" ref="a67f944a345e0ba88ac996056914d191c" args="(DevicePtr pDev, DMXLocalInitInfoPtr info)" --> 627<div class="memitem"> 628<div class="memproto"> 629 <table class="memname"> 630 <tr> 631 <td class="memname">void dmxCommonOthGetInfo </td> 632 <td>(</td> 633 <td class="paramtype">DevicePtr </td> 634 <td class="paramname"><em>pDev</em>, </td> 635 </tr> 636 <tr> 637 <td class="paramkey"></td> 638 <td></td> 639 <td class="paramtype"><a class="el" href="struct__DMXLocalInitInfo.html">DMXLocalInitInfoPtr</a> </td> 640 <td class="paramname"><em>info</em> </td> 641 </tr> 642 <tr> 643 <td></td> 644 <td>)</td> 645 <td></td><td></td> 646 </tr> 647 </table> 648</div> 649<div class="memdoc"> 650<p>Fill the <em>info</em> structure with information needed to initialize <em>pDev</em>. </p> 651 652<p>References <a class="el" href="struct__DMXLocalInitInfo.html#a58b2e6764967add7eda1c1f2f0860abc">_DMXLocalInitInfo::buttonClass</a>, <a class="el" href="dmxprop_8c.html#ac49dfab9200d48f835ce64819c4fc878">display</a>, <a class="el" href="dmxinputinit_8c.html#a50c2f7d406a3aacf3bf95b94d616527c">dmxInputExtensionErrorHandler()</a>, <a class="el" href="struct__DMXLocalInitInfo.html#a24b09c34e0cf80ec33f093e908206be4">_DMXLocalInitInfo::focusClass</a>, <a class="el" href="dmxcommon_8h.html#a2f522c463d79a458d27ac9e1f6b2e30f">GETDMXINPUTFROMPRIV</a>, <a class="el" href="dmxcommon_8h.html#a162b4980b050465ca21228eb41f207a2">GETPRIVFROMPDEV</a>, <a class="el" href="struct__DMXLocalInitInfo.html#af19caac0e20a9106b73714c9c7991ce5">_DMXLocalInitInfo::kbdFeedbackClass</a>, <a class="el" href="struct__DMXLocalInitInfo.html#a214969f0843dcb70d8f7577f58bafa48">_DMXLocalInitInfo::keyboard</a>, <a class="el" href="struct__DMXLocalInitInfo.html#a06626a99542714bbd032e9e12a8c6b55">_DMXLocalInitInfo::keyClass</a>, <a class="el" href="struct__DMXLocalInitInfo.html#a02861e7e9c24381a229567d36e7a68b7">_DMXLocalInitInfo::keySyms</a>, <a class="el" href="struct__DMXLocalInitInfo.html#a5de8a5ac80a30840cba0d9f3074289ca">_DMXLocalInitInfo::maxres</a>, <a class="el" href="struct__DMXLocalInitInfo.html#a63477e691c43eca2dbf569fb0feb74be">_DMXLocalInitInfo::maxval</a>, <a class="el" href="struct__DMXLocalInitInfo.html#a139fed62b89a92d80997166c8cfcdebf">_DMXLocalInitInfo::minres</a>, <a class="el" href="struct__DMXLocalInitInfo.html#a0c47ee21909227a1ea5d40ba473e0e25">_DMXLocalInitInfo::minval</a>, <a class="el" href="struct__DMXLocalInitInfo.html#aa7576ebc7b4f56d51da6a21fcd7b07d4">_DMXLocalInitInfo::numAbsAxes</a>, <a class="el" href="struct__DMXLocalInitInfo.html#a9264f367a1c1e252679299b00f94458c">_DMXLocalInitInfo::numButtons</a>, <a class="el" href="struct__DMXLocalInitInfo.html#a5e192625179bbed020a720e448c789aa">_DMXLocalInitInfo::numRelAxes</a>, <a class="el" href="struct__DMXLocalInitInfo.html#ae870549e09c5ae0ccc6b9d6d01b4c3b5">_DMXLocalInitInfo::proximityClass</a>, <a class="el" href="struct__DMXLocalInitInfo.html#a1c52bc6e1c328ef9e808a111dd050fc2">_DMXLocalInitInfo::ptrFeedbackClass</a>, <a class="el" href="struct__DMXLocalInitInfo.html#abb910012dc1abde90f954354f8ceb2a1">_DMXLocalInitInfo::res</a>, and <a class="el" href="struct__DMXLocalInitInfo.html#a9af277d2da1ade2138488a413e9c5ceb">_DMXLocalInitInfo::valuatorClass</a>.</p> 653 654</div> 655</div> 656<a class="anchor" id="a45f87ba7a0b02587dd2d1b4cdd3480c6"></a><!-- doxytag: member="dmxcommon.h::dmxCommonOthOff" ref="a45f87ba7a0b02587dd2d1b4cdd3480c6" args="(DevicePtr pDev)" --> 657<div class="memitem"> 658<div class="memproto"> 659 <table class="memname"> 660 <tr> 661 <td class="memname">void dmxCommonOthOff </td> 662 <td>(</td> 663 <td class="paramtype">DevicePtr </td> 664 <td class="paramname"><em>pDev</em></td><td>)</td> 665 <td></td> 666 </tr> 667 </table> 668</div> 669<div class="memdoc"> 670<p>Turn <em>pDev</em> off. </p> 671 672<p>References <a class="el" href="dmxcommon_8h.html#a162b4980b050465ca21228eb41f207a2">GETPRIVFROMPDEV</a>.</p> 673 674</div> 675</div> 676<a class="anchor" id="a4b8e72433e206d48e6fb471e933800ad"></a><!-- doxytag: member="dmxcommon.h::dmxCommonOthOn" ref="a4b8e72433e206d48e6fb471e933800ad" args="(DevicePtr pDev)" --> 677<div class="memitem"> 678<div class="memproto"> 679 <table class="memname"> 680 <tr> 681 <td class="memname">int dmxCommonOthOn </td> 682 <td>(</td> 683 <td class="paramtype">DevicePtr </td> 684 <td class="paramname"><em>pDev</em></td><td>)</td> 685 <td></td> 686 </tr> 687 </table> 688</div> 689<div class="memdoc"> 690<p>Turn <em>pDev</em> on (i.e., take input from <em>pDev</em>). </p> 691 692<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.html#ae754d74afaf08d6e9b46b3bc7581623e">DMX_MAX_XINPUT_EVENT_TYPES</a>, <a class="el" href="dmxlog_8c.html#ab6259430a57c3cffdfc9f6259df0ad23">dmxLog()</a>, <a class="el" href="dmxlog_8h.html#aeed612a5c0be196e23bd6b71b76b917fae81ae2a11fb7ab8eea902f609574210a">dmxWarning</a>, <a class="el" href="dmxcommon_8h.html#a2f522c463d79a458d27ac9e1f6b2e30f">GETDMXINPUTFROMPRIV</a>, <a class="el" href="dmxcommon_8h.html#a162b4980b050465ca21228eb41f207a2">GETPRIVFROMPDEV</a>, <a class="el" href="dmxclient_8h.html#ac1fa54a853b3edb8cbf6378dfaa962a6">ProximityIn</a>, and <a class="el" href="dmxclient_8h.html#a606f455d31c949b7f57a51a0e0b5f351">ProximityOut</a>.</p> 693 694</div> 695</div> 696<a class="anchor" id="aca953b7500d93577441828156674c64e"></a><!-- doxytag: member="dmxcommon.h::dmxCommonRestoreState" ref="aca953b7500d93577441828156674c64e" args="(pointer private)" --> 697<div class="memitem"> 698<div class="memproto"> 699 <table class="memname"> 700 <tr> 701 <td class="memname">void dmxCommonRestoreState </td> 702 <td>(</td> 703 <td class="paramtype">pointer </td> 704 <td class="paramname"><em>private</em></td><td>)</td> 705 <td></td> 706 </tr> 707 </table> 708</div> 709<div class="memdoc"> 710<p>This routine restores all the information saved by <a class="el" href="dmxcommon_8h.html#a14295660e17d34955693cef6654d7bb6">dmxCommonSaveState</a>. </p> 711 712<p>References <a class="el" href="dmxcommon_8c.html#a029097ed04b236c945e3715910250680">dmxCommonKbdSetCtrl()</a>, <a class="el" href="dmxcommon_8c.html#adf6865b0bc7ad370c94e3b8682262c13">DMXDBG0</a>, <a class="el" href="dmxlog_8c.html#ab6259430a57c3cffdfc9f6259df0ad23">dmxLog()</a>, <a class="el" href="dmxlog_8c.html#ac8d8dc0ec631bab1d1d95815c238d574">dmxLogInput()</a>, <a class="el" href="dmxlog_8h.html#aeed612a5c0be196e23bd6b71b76b917fae81ae2a11fb7ab8eea902f609574210a">dmxWarning</a>, and <a class="el" href="dmxcommon_8h.html#ae04675e973690cab79ef643f298cb375">GETPRIVFROMPRIVATE</a>.</p> 713 714<p>Referenced by <a class="el" href="dmxbackend_8h.html#a6e9b6f0743636b93aeb6ae71a3517abf">dmxBackendCollectEvents()</a>, <a class="el" href="dmxconsole_8c.html#a4d898acda21ed431ce0ee21303930153">dmxCloseConsole()</a>, <a class="el" href="dmxcommon_8h.html#a86b1c983a556770efdd1a19e8be44534">dmxCommonKbdGetInfo()</a>, <a class="el" href="dmxcommon_8h.html#a9ddcdd8a91205b9b0e23022f246190a0">dmxCommonKbdOff()</a>, and <a class="el" href="dmxconsole_8h.html#a9c2ec3c63c36955d2458283dbd62b605">dmxConsoleCollectEvents()</a>.</p> 715 716</div> 717</div> 718<a class="anchor" id="a14295660e17d34955693cef6654d7bb6"></a><!-- doxytag: member="dmxcommon.h::dmxCommonSaveState" ref="a14295660e17d34955693cef6654d7bb6" args="(pointer private)" --> 719<div class="memitem"> 720<div class="memproto"> 721 <table class="memname"> 722 <tr> 723 <td class="memname">void dmxCommonSaveState </td> 724 <td>(</td> 725 <td class="paramtype">pointer </td> 726 <td class="paramname"><em>private</em></td><td>)</td> 727 <td></td> 728 </tr> 729 </table> 730</div> 731<div class="memdoc"> 732<p>This routine saves and resets some important state for the backend and console device drivers:</p> 733<ul> 734<li>the modifier map is saved and set to 0 (so DMX controls the LEDs)</li> 735<li>the key click, bell, led, and repeat masks are saved and set to the values that DMX claims to be using</li> 736</ul> 737<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> 738 739<p>References <a class="el" href="dmxcommon_8c.html#a029097ed04b236c945e3715910250680">dmxCommonKbdSetCtrl()</a>, <a class="el" href="dmxcommon_8c.html#adf6865b0bc7ad370c94e3b8682262c13">DMXDBG0</a>, <a class="el" href="dmxlog_8c.html#ac8d8dc0ec631bab1d1d95815c238d574">dmxLogInput()</a>, <a class="el" href="dmx_8h.html#a3e242a6818df05e547a4776919e3827f">dmxScreens</a>, <a class="el" href="dmxsync_8c.html#ab848762f4d2e30d31b87d3e8e10c5967">dmxSync()</a>, <a class="el" href="dmx_8h.html#ab5b999218612af4136983694943737aa">dmxUseXKB</a>, and <a class="el" href="dmxcommon_8h.html#ae04675e973690cab79ef643f298cb375">GETPRIVFROMPRIVATE</a>.</p> 740 741<p>Referenced by <a class="el" href="dmxbackend_8h.html#a6e9b6f0743636b93aeb6ae71a3517abf">dmxBackendCollectEvents()</a>, <a class="el" href="dmxcommon_8h.html#a399f0ec4a6e5d0bcd3d07f24b2a6ac9e">dmxCommonKbdCtrl()</a>, <a class="el" href="dmxcommon_8h.html#a86b1c983a556770efdd1a19e8be44534">dmxCommonKbdGetInfo()</a>, <a class="el" href="dmxcommon_8h.html#a60cd36c3430ead2858986fe5f93165c1">dmxCommonKbdOn()</a>, and <a class="el" href="dmxconsole_8h.html#a9c2ec3c63c36955d2458283dbd62b605">dmxConsoleCollectEvents()</a>.</p> 742 743</div> 744</div> 745<a class="anchor" id="a907580b7be71d9be0b771d32210f3cad"></a><!-- doxytag: member="dmxcommon.h::dmxFindPointerScreen" ref="a907580b7be71d9be0b771d32210f3cad" args="(int x, int y)" --> 746<div class="memitem"> 747<div class="memproto"> 748 <table class="memname"> 749 <tr> 750 <td class="memname">int dmxFindPointerScreen </td> 751 <td>(</td> 752 <td class="paramtype">int </td> 753 <td class="paramname"><em>x</em>, </td> 754 </tr> 755 <tr> 756 <td class="paramkey"></td> 757 <td></td> 758 <td class="paramtype">int </td> 759 <td class="paramname"><em>y</em> </td> 760 </tr> 761 <tr> 762 <td></td> 763 <td>)</td> 764 <td></td><td></td> 765 </tr> 766 </table> 767</div> 768<div class="memdoc"> 769<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> 770 771<p>References <a class="el" href="dmx_8h.html#a5a881109fe1e32c74cda4a280b09a7c4">dmxNumScreens</a>.</p> 772 773</div> 774</div> 775</div> 776</div> 777 <div id="nav-path" class="navpath"> 778 <ul> 779 <li class="navelem"><a class="el" href="dmxcommon_8h.html">dmxcommon.h</a> </li> 780 <hr> 781 <address> 782 <small> 783 Generated June 29, 2004 for <a 784 href="http://dmx.sourceforge.net">Distributed Multihead X</a> by 785 <a href="http://www.doxygen.org/index.html">doxygen</a> 786 1.3.4. 787 </small> 788 </addres> 789 </hr> 790 </body> 791</html> 792