<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>File Index</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head> <body> <!-- Generated by Doxygen 1.6.1 --> <div class="navigation" id="top"> <div class="tabs"> <ul> <li><a href="main.html"><span>Main Page</span></a></li> <li><a href="annotated.html"><span>Data Structures</span></a></li> <li class="current"><a href="files.html"><span>Files</span></a></li> </ul> </div> <div class="tabs"> <ul> <li><a href="files.html"><span>File List</span></a></li> <li><a href="globals.html"><span>Globals</span></a></li> </ul> </div> </div> <div class="contents"> <h1>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 </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 </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 </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 </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> <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> <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> <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> <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> <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> <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> <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> <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> <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> <tr><td colspan="2"><h2>Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="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 </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 </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 </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 </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 </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 </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 </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 </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 </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 </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 </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 </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 </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 </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 </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 </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 (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 (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 = &<a class="code" href="dmxinit_8c.html#a067017d9e67716c251357e9edf917e59">dmxInputs</a>[dmxLocal->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 = &<a class="code" href="dmxinit_8c.html#a067017d9e67716c251357e9edf917e59">dmxInputs</a>[dmxLocal->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 <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> </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 <a class="el" href="struct__DMXLocalInputInfo.html">DMXLocalInputInfoPtr</a> dmxLocal = pDev->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 = &pDevice->public; \ <a class="code" href="struct__DMXLocalInputInfo.html">DMXLocalInputInfoPtr</a> dmxLocal = pDev->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 <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->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 = &<a class="code" href="dmxinit_8c.html#a067017d9e67716c251357e9edf917e59">dmxInputs</a>[priv->dmxLocal->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 </td> <td class="paramname"> <em>pDevice</em></td> <td> ) </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 </td> <td class="paramname"> <em>pDev</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"> <em>percent</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"> <em>volume</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"> <em>pitch</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"> <em>duration</em></td><td> </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 </td> <td class="paramname"> <em>pDev</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">KeybdCtrl * </td> <td class="paramname"> <em>ctrl</em></td><td> </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 </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> </td> <td class="paramname"> <em>info</em></td><td> </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 </td> <td class="paramname"> <em>pDev</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">KeySymsPtr </td> <td class="paramname"> <em>pKeySyms</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">CARD8 * </td> <td class="paramname"> <em>pModMap</em></td><td> </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 </td> <td class="paramname"> <em>pDev</em></td> <td> ) </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 </td> <td class="paramname"> <em>pDev</em></td> <td> ) </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 </td> <td class="paramname"> <em>pDev</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">PtrCtrl * </td> <td class="paramname"> <em>ctrl</em></td><td> </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 </td> <td class="paramname"> <em>pDev</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">unsigned char * </td> <td class="paramname"> <em>map</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int * </td> <td class="paramname"> <em>nButtons</em></td><td> </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 </td> <td class="paramname"> <em>pDev</em></td> <td> ) </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 </td> <td class="paramname"> <em>pDev</em></td> <td> ) </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 </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> </td> <td class="paramname"> <em>info</em></td><td> </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 </td> <td class="paramname"> <em>pDev</em></td> <td> ) </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 </td> <td class="paramname"> <em>pDev</em></td> <td> ) </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 </td> <td class="paramname"> <em>private</em></td> <td> ) </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 </td> <td class="paramname"> <em>private</em></td> <td> ) </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 </td> <td class="paramname"> <em>x</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"> <em>y</em></td><td> </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>