<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="generator" content="rustdoc">
    <meta name="description" content="API documentation for the Rust `xinput` mod in crate `x11`.">
    <meta name="keywords" content="rust, rustlang, rust-lang, xinput">

    <title>x11::xinput - Rust</title>

    <link rel="stylesheet" type="text/css" href="../../normalize.css">
    <link rel="stylesheet" type="text/css" href="../../rustdoc.css">
    <link rel="stylesheet" type="text/css" href="../../main.css">
    

    
    
</head>
<body class="rustdoc mod">
    <!--[if lte IE 8]>
    <div class="warning">
        This old browser is unsupported and will most likely display funky
        things.
    </div>
    <![endif]-->

    

    <nav class="sidebar">
        
        <p class='location'>Module xinput</p><div class="block items"><ul><li><a href="#structs">Structs</a></li><li><a href="#enums">Enums</a></li><li><a href="#functions">Functions</a></li><li><a href="#types">Type Definitions</a></li></ul></div><p class='location'><a href='../index.html'>x11</a></p><script>window.sidebarCurrent = {name: 'xinput', ty: 'mod', relpath: '../'};</script><script defer src="../sidebar-items.js"></script>
    </nav>

    <nav class="sub">
        <form class="search-form js-only">
            <div class="search-container">
                <input class="search-input" name="search"
                       autocomplete="off"
                       placeholder="Click or press ‘S’ to search, ‘?’ for more options…"
                       type="search">
            </div>
        </form>
    </nav>

    <section id='main' class="content">
<h1 class='fqn'><span class='in-band'>Module <a href='../index.html'>x11</a>::<wbr><a class="mod" href=''>xinput</a></span><span class='out-of-band'><span id='render-detail'>
                   <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
                       [<span class='inner'>&#x2212;</span>]
                   </a>
               </span><a class='srclink' href='../../src/x11/xinput.rs.html#5-164' title='goto source code'>[src]</a></span></h1>
<h2 id='structs' class='section-header'><a href="#structs">Structs</a></h2>
<table>
                       <tr class=' module-item'>
                           <td><a class="struct" href="struct.XDevice.html"
                                  title='struct x11::xinput::XDevice'>XDevice</a></td>
                           <td class='docblock-short'>
                                
                           </td>
                       </tr>
                       <tr class=' module-item'>
                           <td><a class="struct" href="struct.XDeviceControl.html"
                                  title='struct x11::xinput::XDeviceControl'>XDeviceControl</a></td>
                           <td class='docblock-short'>
                                
                           </td>
                       </tr>
                       <tr class=' module-item'>
                           <td><a class="struct" href="struct.XDeviceInfo.html"
                                  title='struct x11::xinput::XDeviceInfo'>XDeviceInfo</a></td>
                           <td class='docblock-short'>
                                
                           </td>
                       </tr>
                       <tr class=' module-item'>
                           <td><a class="struct" href="struct.XDeviceState.html"
                                  title='struct x11::xinput::XDeviceState'>XDeviceState</a></td>
                           <td class='docblock-short'>
                                
                           </td>
                       </tr>
                       <tr class=' module-item'>
                           <td><a class="struct" href="struct.XDeviceTimeCoord.html"
                                  title='struct x11::xinput::XDeviceTimeCoord'>XDeviceTimeCoord</a></td>
                           <td class='docblock-short'>
                                
                           </td>
                       </tr>
                       <tr class=' module-item'>
                           <td><a class="struct" href="struct.XExtensionVersion.html"
                                  title='struct x11::xinput::XExtensionVersion'>XExtensionVersion</a></td>
                           <td class='docblock-short'>
                                
                           </td>
                       </tr>
                       <tr class=' module-item'>
                           <td><a class="struct" href="struct.XFeedbackControl.html"
                                  title='struct x11::xinput::XFeedbackControl'>XFeedbackControl</a></td>
                           <td class='docblock-short'>
                                
                           </td>
                       </tr>
                       <tr class=' module-item'>
                           <td><a class="struct" href="struct.XFeedbackState.html"
                                  title='struct x11::xinput::XFeedbackState'>XFeedbackState</a></td>
                           <td class='docblock-short'>
                                
                           </td>
                       </tr>
                       <tr class=' module-item'>
                           <td><a class="struct" href="struct.XInputClass.html"
                                  title='struct x11::xinput::XInputClass'>XInputClass</a></td>
                           <td class='docblock-short'>
                                
                           </td>
                       </tr>
                       <tr class=' module-item'>
                           <td><a class="struct" href="struct.XInputClassInfo.html"
                                  title='struct x11::xinput::XInputClassInfo'>XInputClassInfo</a></td>
                           <td class='docblock-short'>
                                
                           </td>
                       </tr></table><h2 id='enums' class='section-header'><a href="#enums">Enums</a></h2>
<table>
                       <tr class=' module-item'>
                           <td><a class="enum" href="enum._XAnyClassinfo.html"
                                  title='enum x11::xinput::_XAnyClassinfo'>_XAnyClassinfo</a></td>
                           <td class='docblock-short'>
                                
                           </td>
                       </tr></table><h2 id='functions' class='section-header'><a href="#functions">Functions</a></h2>
<table>
                       <tr class=' module-item'>
                           <td><a class="fn" href="fn.XAllowDeviceEvents.html"
                                  title='fn x11::xinput::XAllowDeviceEvents'>XAllowDeviceEvents</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td>
                           <td class='docblock-short'>
                                
                           </td>
                       </tr>
                       <tr class=' module-item'>
                           <td><a class="fn" href="fn.XChangeDeviceControl.html"
                                  title='fn x11::xinput::XChangeDeviceControl'>XChangeDeviceControl</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td>
                           <td class='docblock-short'>
                                
                           </td>
                       </tr>
                       <tr class=' module-item'>
                           <td><a class="fn" href="fn.XChangeDeviceDontPropagateList.html"
                                  title='fn x11::xinput::XChangeDeviceDontPropagateList'>XChangeDeviceDontPropagateList</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td>
                           <td class='docblock-short'>
                                
                           </td>
                       </tr>
                       <tr class=' module-item'>
                           <td><a class="fn" href="fn.XChangeDeviceKeyMapping.html"
                                  title='fn x11::xinput::XChangeDeviceKeyMapping'>XChangeDeviceKeyMapping</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td>
                           <td class='docblock-short'>
                                
                           </td>
                       </tr>
                       <tr class=' module-item'>
                           <td><a class="fn" href="fn.XChangeDeviceProperty.html"
                                  title='fn x11::xinput::XChangeDeviceProperty'>XChangeDeviceProperty</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td>
                           <td class='docblock-short'>
                                
                           </td>
                       </tr>
                       <tr class=' module-item'>
                           <td><a class="fn" href="fn.XChangeFeedbackControl.html"
                                  title='fn x11::xinput::XChangeFeedbackControl'>XChangeFeedbackControl</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td>
                           <td class='docblock-short'>
                                
                           </td>
                       </tr>
                       <tr class=' module-item'>
                           <td><a class="fn" href="fn.XChangeKeyboardDevice.html"
                                  title='fn x11::xinput::XChangeKeyboardDevice'>XChangeKeyboardDevice</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td>
                           <td class='docblock-short'>
                                
                           </td>
                       </tr>
                       <tr class=' module-item'>
                           <td><a class="fn" href="fn.XChangePointerDevice.html"
                                  title='fn x11::xinput::XChangePointerDevice'>XChangePointerDevice</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td>
                           <td class='docblock-short'>
                                
                           </td>
                       </tr>
                       <tr class=' module-item'>
                           <td><a class="fn" href="fn.XCloseDevice.html"
                                  title='fn x11::xinput::XCloseDevice'>XCloseDevice</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td>
                           <td class='docblock-short'>
                                
                           </td>
                       </tr>
                       <tr class=' module-item'>
                           <td><a class="fn" href="fn.XDeleteDeviceProperty.html"
                                  title='fn x11::xinput::XDeleteDeviceProperty'>XDeleteDeviceProperty</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td>
                           <td class='docblock-short'>
                                
                           </td>
                       </tr>
                       <tr class=' module-item'>
                           <td><a class="fn" href="fn.XDeviceBell.html"
                                  title='fn x11::xinput::XDeviceBell'>XDeviceBell</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td>
                           <td class='docblock-short'>
                                
                           </td>
                       </tr>
                       <tr class=' module-item'>
                           <td><a class="fn" href="fn.XFreeDeviceControl.html"
                                  title='fn x11::xinput::XFreeDeviceControl'>XFreeDeviceControl</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td>
                           <td class='docblock-short'>
                                
                           </td>
                       </tr>
                       <tr class=' module-item'>
                           <td><a class="fn" href="fn.XFreeDeviceList.html"
                                  title='fn x11::xinput::XFreeDeviceList'>XFreeDeviceList</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td>
                           <td class='docblock-short'>
                                
                           </td>
                       </tr>
                       <tr class=' module-item'>
                           <td><a class="fn" href="fn.XFreeDeviceMotionEvents.html"
                                  title='fn x11::xinput::XFreeDeviceMotionEvents'>XFreeDeviceMotionEvents</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td>
                           <td class='docblock-short'>
                                
                           </td>
                       </tr>
                       <tr class=' module-item'>
                           <td><a class="fn" href="fn.XFreeDeviceState.html"
                                  title='fn x11::xinput::XFreeDeviceState'>XFreeDeviceState</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td>
                           <td class='docblock-short'>
                                
                           </td>
                       </tr>
                       <tr class=' module-item'>
                           <td><a class="fn" href="fn.XFreeFeedbackList.html"
                                  title='fn x11::xinput::XFreeFeedbackList'>XFreeFeedbackList</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td>
                           <td class='docblock-short'>
                                
                           </td>
                       </tr>
                       <tr class=' module-item'>
                           <td><a class="fn" href="fn.XGetDeviceButtonMapping.html"
                                  title='fn x11::xinput::XGetDeviceButtonMapping'>XGetDeviceButtonMapping</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td>
                           <td class='docblock-short'>
                                
                           </td>
                       </tr>
                       <tr class=' module-item'>
                           <td><a class="fn" href="fn.XGetDeviceControl.html"
                                  title='fn x11::xinput::XGetDeviceControl'>XGetDeviceControl</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td>
                           <td class='docblock-short'>
                                
                           </td>
                       </tr>
                       <tr class=' module-item'>
                           <td><a class="fn" href="fn.XGetDeviceDontPropagateList.html"
                                  title='fn x11::xinput::XGetDeviceDontPropagateList'>XGetDeviceDontPropagateList</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td>
                           <td class='docblock-short'>
                                
                           </td>
                       </tr>
                       <tr class=' module-item'>
                           <td><a class="fn" href="fn.XGetDeviceFocus.html"
                                  title='fn x11::xinput::XGetDeviceFocus'>XGetDeviceFocus</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td>
                           <td class='docblock-short'>
                                
                           </td>
                       </tr>
                       <tr class=' module-item'>
                           <td><a class="fn" href="fn.XGetDeviceKeyMapping.html"
                                  title='fn x11::xinput::XGetDeviceKeyMapping'>XGetDeviceKeyMapping</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td>
                           <td class='docblock-short'>
                                
                           </td>
                       </tr>
                       <tr class=' module-item'>
                           <td><a class="fn" href="fn.XGetDeviceModifierMapping.html"
                                  title='fn x11::xinput::XGetDeviceModifierMapping'>XGetDeviceModifierMapping</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td>
                           <td class='docblock-short'>
                                
                           </td>
                       </tr>
                       <tr class=' module-item'>
                           <td><a class="fn" href="fn.XGetDeviceMotionEvents.html"
                                  title='fn x11::xinput::XGetDeviceMotionEvents'>XGetDeviceMotionEvents</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td>
                           <td class='docblock-short'>
                                
                           </td>
                       </tr>
                       <tr class=' module-item'>
                           <td><a class="fn" href="fn.XGetDeviceProperty.html"
                                  title='fn x11::xinput::XGetDeviceProperty'>XGetDeviceProperty</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td>
                           <td class='docblock-short'>
                                
                           </td>
                       </tr>
                       <tr class=' module-item'>
                           <td><a class="fn" href="fn.XGetExtensionVersion.html"
                                  title='fn x11::xinput::XGetExtensionVersion'>XGetExtensionVersion</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td>
                           <td class='docblock-short'>
                                
                           </td>
                       </tr>
                       <tr class=' module-item'>
                           <td><a class="fn" href="fn.XGetFeedbackControl.html"
                                  title='fn x11::xinput::XGetFeedbackControl'>XGetFeedbackControl</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td>
                           <td class='docblock-short'>
                                
                           </td>
                       </tr>
                       <tr class=' module-item'>
                           <td><a class="fn" href="fn.XGetSelectedExtensionEvents.html"
                                  title='fn x11::xinput::XGetSelectedExtensionEvents'>XGetSelectedExtensionEvents</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td>
                           <td class='docblock-short'>
                                
                           </td>
                       </tr>
                       <tr class=' module-item'>
                           <td><a class="fn" href="fn.XGrabDevice.html"
                                  title='fn x11::xinput::XGrabDevice'>XGrabDevice</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td>
                           <td class='docblock-short'>
                                
                           </td>
                       </tr>
                       <tr class=' module-item'>
                           <td><a class="fn" href="fn.XGrabDeviceButton.html"
                                  title='fn x11::xinput::XGrabDeviceButton'>XGrabDeviceButton</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td>
                           <td class='docblock-short'>
                                
                           </td>
                       </tr>
                       <tr class=' module-item'>
                           <td><a class="fn" href="fn.XGrabDeviceKey.html"
                                  title='fn x11::xinput::XGrabDeviceKey'>XGrabDeviceKey</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td>
                           <td class='docblock-short'>
                                
                           </td>
                       </tr>
                       <tr class=' module-item'>
                           <td><a class="fn" href="fn.XListDeviceProperties.html"
                                  title='fn x11::xinput::XListDeviceProperties'>XListDeviceProperties</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td>
                           <td class='docblock-short'>
                                
                           </td>
                       </tr>
                       <tr class=' module-item'>
                           <td><a class="fn" href="fn.XListInputDevices.html"
                                  title='fn x11::xinput::XListInputDevices'>XListInputDevices</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td>
                           <td class='docblock-short'>
                                
                           </td>
                       </tr>
                       <tr class=' module-item'>
                           <td><a class="fn" href="fn.XOpenDevice.html"
                                  title='fn x11::xinput::XOpenDevice'>XOpenDevice</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td>
                           <td class='docblock-short'>
                                
                           </td>
                       </tr>
                       <tr class=' module-item'>
                           <td><a class="fn" href="fn.XQueryDeviceState.html"
                                  title='fn x11::xinput::XQueryDeviceState'>XQueryDeviceState</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td>
                           <td class='docblock-short'>
                                
                           </td>
                       </tr>
                       <tr class=' module-item'>
                           <td><a class="fn" href="fn.XSelectExtensionEvent.html"
                                  title='fn x11::xinput::XSelectExtensionEvent'>XSelectExtensionEvent</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td>
                           <td class='docblock-short'>
                                
                           </td>
                       </tr>
                       <tr class=' module-item'>
                           <td><a class="fn" href="fn.XSendExtensionEvent.html"
                                  title='fn x11::xinput::XSendExtensionEvent'>XSendExtensionEvent</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td>
                           <td class='docblock-short'>
                                
                           </td>
                       </tr>
                       <tr class=' module-item'>
                           <td><a class="fn" href="fn.XSetDeviceButtonMapping.html"
                                  title='fn x11::xinput::XSetDeviceButtonMapping'>XSetDeviceButtonMapping</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td>
                           <td class='docblock-short'>
                                
                           </td>
                       </tr>
                       <tr class=' module-item'>
                           <td><a class="fn" href="fn.XSetDeviceFocus.html"
                                  title='fn x11::xinput::XSetDeviceFocus'>XSetDeviceFocus</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td>
                           <td class='docblock-short'>
                                
                           </td>
                       </tr>
                       <tr class=' module-item'>
                           <td><a class="fn" href="fn.XSetDeviceMode.html"
                                  title='fn x11::xinput::XSetDeviceMode'>XSetDeviceMode</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td>
                           <td class='docblock-short'>
                                
                           </td>
                       </tr>
                       <tr class=' module-item'>
                           <td><a class="fn" href="fn.XSetDeviceModifierMapping.html"
                                  title='fn x11::xinput::XSetDeviceModifierMapping'>XSetDeviceModifierMapping</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td>
                           <td class='docblock-short'>
                                
                           </td>
                       </tr>
                       <tr class=' module-item'>
                           <td><a class="fn" href="fn.XSetDeviceValuators.html"
                                  title='fn x11::xinput::XSetDeviceValuators'>XSetDeviceValuators</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td>
                           <td class='docblock-short'>
                                
                           </td>
                       </tr>
                       <tr class=' module-item'>
                           <td><a class="fn" href="fn.XUngrabDevice.html"
                                  title='fn x11::xinput::XUngrabDevice'>XUngrabDevice</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td>
                           <td class='docblock-short'>
                                
                           </td>
                       </tr>
                       <tr class=' module-item'>
                           <td><a class="fn" href="fn.XUngrabDeviceButton.html"
                                  title='fn x11::xinput::XUngrabDeviceButton'>XUngrabDeviceButton</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td>
                           <td class='docblock-short'>
                                
                           </td>
                       </tr>
                       <tr class=' module-item'>
                           <td><a class="fn" href="fn.XUngrabDeviceKey.html"
                                  title='fn x11::xinput::XUngrabDeviceKey'>XUngrabDeviceKey</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td>
                           <td class='docblock-short'>
                                
                           </td>
                       </tr></table><h2 id='types' class='section-header'><a href="#types">Type Definitions</a></h2>
<table>
                       <tr class=' module-item'>
                           <td><a class="type" href="type.XAnyClassPtr.html"
                                  title='type x11::xinput::XAnyClassPtr'>XAnyClassPtr</a></td>
                           <td class='docblock-short'>
                                
                           </td>
                       </tr></table></section>
    <section id='search' class="content hidden"></section>

    <section class="footer"></section>

    <aside id="help" class="hidden">
        <div>
            <h1 class="hidden">Help</h1>

            <div class="shortcuts">
                <h2>Keyboard Shortcuts</h2>

                <dl>
                    <dt>?</dt>
                    <dd>Show this help dialog</dd>
                    <dt>S</dt>
                    <dd>Focus the search field</dd>
                    <dt>&larrb;</dt>
                    <dd>Move up in search results</dd>
                    <dt>&rarrb;</dt>
                    <dd>Move down in search results</dd>
                    <dt>&#9166;</dt>
                    <dd>Go to active search result</dd>
                    <dt>+</dt>
                    <dd>Collapse/expand all sections</dd>
                </dl>
            </div>

            <div class="infos">
                <h2>Search Tricks</h2>

                <p>
                    Prefix searches with a type followed by a colon (e.g.
                    <code>fn:</code>) to restrict the search to a given type.
                </p>

                <p>
                    Accepted types are: <code>fn</code>, <code>mod</code>,
                    <code>struct</code>, <code>enum</code>,
                    <code>trait</code>, <code>type</code>, <code>macro</code>,
                    and <code>const</code>.
                </p>

                <p>
                    Search functions by type signature (e.g.
                    <code>vec -> usize</code> or <code>* -> vec</code>)
                </p>
            </div>
        </div>
    </aside>

    

    <script>
        window.rootPath = "../../";
        window.currentCrate = "x11";
    </script>
    <script src="../../main.js"></script>
    <script defer src="../../search-index.js"></script>
</body>
</html>