• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<!-- HTML header for doxygen 1.8.8-->
2<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3<html xmlns="http://www.w3.org/1999/xhtml">
4    <head>
5        <meta http-equiv="X-UA-Compatible" content="IE=edge">
6        <!-- For Mobile Devices -->
7        <meta name="viewport" content="width=device-width, initial-scale=1">
8        <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
9        <meta name="generator" content="Doxygen 1.9.1"/>
10        <script type="text/javascript" src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
11        <title>libevdev: /home/whot/code/libevdev/release/libevdev/build.eXgVwUduJp/libevdev/libevdev-uinput.h File Reference</title>
12        <!--<link href="tabs.css" rel="stylesheet" type="text/css"/>-->
13        <script type="text/javascript" src="dynsections.js"></script>
14        <link href="search/search.css" rel="stylesheet" type="text/css"/>
15<script type="text/javascript" src="search/searchdata.js"></script>
16<script type="text/javascript" src="search/search.js"></script>
17        <link href="doxygen.css" rel="stylesheet" type="text/css" />
18        <link href="bootstrap.css" rel="stylesheet" type="text/css"/>
19<link href="customdoxygen.css" rel="stylesheet" type="text/css"/>
20<link href="libevdevdoxygen.css" rel="stylesheet" type="text/css"/>
21        <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>
22        <script type="text/javascript" src="doxy-boot.js"></script>
23    </head>
24    <body>
25        <nav class="navbar navbar-default" role="navigation">
26            <div class="container">
27                <div class="navbar-header">
28                    <a class="navbar-brand">libevdev 1.12.1</a>
29                </div>
30            </div>
31        </nav>
32        <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
33            <div class="content" id="content">
34                <div class="container">
35                    <div class="row">
36                        <div class="col-sm-12 panel panel-default" style="padding-bottom: 15px;">
37                            <div style="margin-bottom: 15px;">
38<!-- end header part -->
39<!-- Generated by Doxygen 1.9.1 -->
40<script type="text/javascript">
41/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
42var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
43/* @license-end */
44</script>
45<script type="text/javascript" src="menudata.js"></script>
46<script type="text/javascript" src="menu.js"></script>
47<script type="text/javascript">
48/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
49$(function() {
50  initMenu('',true,false,'search.php','Search');
51  $(document).ready(function() { init_search(); });
52});
53/* @license-end */</script>
54<div id="main-nav"></div>
55<!-- window showing the filter options -->
56<div id="MSearchSelectWindow"
57     onmouseover="return searchBox.OnSearchSelectShow()"
58     onmouseout="return searchBox.OnSearchSelectHide()"
59     onkeydown="return searchBox.OnSearchSelectKey(event)">
60</div>
61
62<!-- iframe showing the search results (closed by default) -->
63<div id="MSearchResultsWindow">
64<iframe src="javascript:void(0)" frameborder="0"
65        name="MSearchResults" id="MSearchResults">
66</iframe>
67</div>
68
69<div id="nav-path" class="navpath">
70  <ul>
71<li class="navelem"><a class="el" href="dir_237a012ffe1a208b10d31c74b4ef545e.html">libevdev</a></li>  </ul>
72</div>
73</div><!-- top -->
74<div class="header">
75  <div class="summary">
76<a href="#enum-members">Enumerations</a> &#124;
77<a href="#func-members">Functions</a>  </div>
78  <div class="headertitle">
79<div class="title">libevdev-uinput.h File Reference</div>  </div>
80</div><!--header-->
81<div class="contents">
82<div class="textblock"><code>#include &lt;<a class="el" href="libevdev_8h_source.html">libevdev/libevdev.h</a>&gt;</code><br />
83</div>
84<p><a href="libevdev-uinput_8h_source.html">Go to the source code of this file.</a></p>
85<table class="memberdecls">
86<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
87Enumerations</h2></td></tr>
88<tr class="memitem:a6546acd3e4fe75a74d91eebf9bbd3d03"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="libevdev-uinput_8h.html#a6546acd3e4fe75a74d91eebf9bbd3d03">libevdev_uinput_open_mode</a> { <a class="el" href="libevdev-uinput_8h.html#a6546acd3e4fe75a74d91eebf9bbd3d03adcf2d4de38844ee3a8c830bc3285afad">LIBEVDEV_UINPUT_OPEN_MANAGED</a>
89 }</td></tr>
90<tr class="separator:a6546acd3e4fe75a74d91eebf9bbd3d03"><td class="memSeparator" colspan="2">&#160;</td></tr>
91</table><table class="memberdecls">
92<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
93Functions</h2></td></tr>
94<tr class="memitem:gaf14b21301bac9d79c20e890172873b96"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__uinput.html#gaf14b21301bac9d79c20e890172873b96">libevdev_uinput_create_from_device</a> (const struct libevdev *dev, int uinput_fd, struct libevdev_uinput **uinput_dev)</td></tr>
95<tr class="memdesc:gaf14b21301bac9d79c20e890172873b96"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a uinput device based on the given libevdev device.  <a href="group__uinput.html#gaf14b21301bac9d79c20e890172873b96">More...</a><br /></td></tr>
96<tr class="separator:gaf14b21301bac9d79c20e890172873b96"><td class="memSeparator" colspan="2">&#160;</td></tr>
97<tr class="memitem:ga9dfa58a84eb4c6b97107dcf3fa621329"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__uinput.html#ga9dfa58a84eb4c6b97107dcf3fa621329">libevdev_uinput_destroy</a> (struct libevdev_uinput *uinput_dev)</td></tr>
98<tr class="memdesc:ga9dfa58a84eb4c6b97107dcf3fa621329"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destroy a previously created uinput device and free associated memory.  <a href="group__uinput.html#ga9dfa58a84eb4c6b97107dcf3fa621329">More...</a><br /></td></tr>
99<tr class="separator:ga9dfa58a84eb4c6b97107dcf3fa621329"><td class="memSeparator" colspan="2">&#160;</td></tr>
100<tr class="memitem:ga9cd7fb14a96d4cc14d3dffdcead84c5d"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__uinput.html#ga9cd7fb14a96d4cc14d3dffdcead84c5d">libevdev_uinput_get_fd</a> (const struct libevdev_uinput *uinput_dev)</td></tr>
101<tr class="memdesc:ga9cd7fb14a96d4cc14d3dffdcead84c5d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the file descriptor used to create this uinput device.  <a href="group__uinput.html#ga9cd7fb14a96d4cc14d3dffdcead84c5d">More...</a><br /></td></tr>
102<tr class="separator:ga9cd7fb14a96d4cc14d3dffdcead84c5d"><td class="memSeparator" colspan="2">&#160;</td></tr>
103<tr class="memitem:gaacca93061fce57cec0ce3c52e443a427"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__uinput.html#gaacca93061fce57cec0ce3c52e443a427">libevdev_uinput_get_syspath</a> (struct libevdev_uinput *uinput_dev)</td></tr>
104<tr class="memdesc:gaacca93061fce57cec0ce3c52e443a427"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the syspath representing this uinput device.  <a href="group__uinput.html#gaacca93061fce57cec0ce3c52e443a427">More...</a><br /></td></tr>
105<tr class="separator:gaacca93061fce57cec0ce3c52e443a427"><td class="memSeparator" colspan="2">&#160;</td></tr>
106<tr class="memitem:ga4c595bcda748b08561e2819fe9b7c2d2"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__uinput.html#ga4c595bcda748b08561e2819fe9b7c2d2">libevdev_uinput_get_devnode</a> (struct libevdev_uinput *uinput_dev)</td></tr>
107<tr class="memdesc:ga4c595bcda748b08561e2819fe9b7c2d2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the device node representing this uinput device.  <a href="group__uinput.html#ga4c595bcda748b08561e2819fe9b7c2d2">More...</a><br /></td></tr>
108<tr class="separator:ga4c595bcda748b08561e2819fe9b7c2d2"><td class="memSeparator" colspan="2">&#160;</td></tr>
109<tr class="memitem:ga4c3c2f5fcd315a28a067f53b9f855fe7"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__uinput.html#ga4c3c2f5fcd315a28a067f53b9f855fe7">libevdev_uinput_write_event</a> (const struct libevdev_uinput *uinput_dev, unsigned int type, unsigned int code, int value)</td></tr>
110<tr class="memdesc:ga4c3c2f5fcd315a28a067f53b9f855fe7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Post an event through the uinput device.  <a href="group__uinput.html#ga4c3c2f5fcd315a28a067f53b9f855fe7">More...</a><br /></td></tr>
111<tr class="separator:ga4c3c2f5fcd315a28a067f53b9f855fe7"><td class="memSeparator" colspan="2">&#160;</td></tr>
112</table>
113<h2 class="groupheader">Enumeration Type Documentation</h2>
114<a id="a6546acd3e4fe75a74d91eebf9bbd3d03"></a>
115<h2 class="memtitle"><span class="permalink"><a href="#a6546acd3e4fe75a74d91eebf9bbd3d03">&#9670;&nbsp;</a></span>libevdev_uinput_open_mode</h2>
116
117<div class="memitem">
118<div class="memproto">
119      <table class="memname">
120        <tr>
121          <td class="memname">enum <a class="el" href="libevdev-uinput_8h.html#a6546acd3e4fe75a74d91eebf9bbd3d03">libevdev_uinput_open_mode</a></td>
122        </tr>
123      </table>
124</div><div class="memdoc">
125<table class="fieldtable">
126<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="a6546acd3e4fe75a74d91eebf9bbd3d03adcf2d4de38844ee3a8c830bc3285afad"></a>LIBEVDEV_UINPUT_OPEN_MANAGED&#160;</td><td class="fielddoc"><p>let libevdev open and close <code>/dev/uinput</code> </p>
127</td></tr>
128</table>
129
130</div>
131</div>
132</div><!-- contents -->
133<!-- HTML footer for doxygen 1.8.8-->
134<!-- start footer part -->
135</div>
136</div>
137</div>
138</div>
139</div>
140<hr class="footer"/><address class="footer"><small>
141Generated by &#160;<a href="http://www.doxygen.org/index.html">
142<img class="footer" src="doxygen.png" alt="doxygen"/>
143</a> 1.9.1
144</small></address>
145</body>
146</html>
147