/usr/share/doc/gammu-doc/html/c/keys.html is in gammu-doc 1.38.1-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Keys — Gammu 1.38.1 documentation</title>
<link rel="stylesheet" href="../_static/alabaster.css" type="text/css" />
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: '../',
VERSION: '1.38.1',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true
};
</script>
<script type="text/javascript" src="../_static/jquery.js"></script>
<script type="text/javascript" src="../_static/underscore.js"></script>
<script type="text/javascript" src="../_static/doctools.js"></script>
<link rel="index" title="Index" href="../genindex.html" />
<link rel="search" title="Search" href="../search.html" />
<link rel="top" title="Gammu 1.38.1 documentation" href="../index.html" />
<link rel="up" title="libGammu C API" href="api.html" />
<link rel="next" title="Limits" href="limits.html" />
<link rel="prev" title="INI files" href="inifile.html" />
<link rel="stylesheet" href="../_static/custom.css" type="text/css" />
<meta name="viewport" content="width=device-width, initial-scale=0.9, maximum-scale=0.9" />
</head>
<body role="document">
<div class="document">
<div class="documentwrapper">
<div class="bodywrapper">
<div class="body" role="main">
<div class="section" id="keys">
<h1>Keys<a class="headerlink" href="#keys" title="Permalink to this headline">¶</a></h1>
<dl class="function">
<dt id="c.MakeKeySequence">
<span class="target" id="apigroup__Keys_1ga410afe1ce3115f259df3658d353bed3c"></span><a class="reference internal" href="error.html#c.GSM_Error" title="GSM_Error">GSM_Error</a> <code class="descname">MakeKeySequence</code><span class="sig-paren">(</span>char *<em> text</em>, <a class="reference internal" href="#c.GSM_KeyCode" title="GSM_KeyCode">GSM_KeyCode</a> *<em> KeyCode</em>, size_t *<em> Length</em><span class="sig-paren">)</span><a class="headerlink" href="#c.MakeKeySequence" title="Permalink to this definition">¶</a></dt>
<dd><p>Creates key sequence from string.</p>
<p><dl class="docutils">
<dt><strong>Return</strong></dt>
<dd>Error code. </dd>
<dt><strong>Parameters</strong></dt>
<dd><ul class="breatheparameterlist first last simple">
<li><code class="docutils literal"><span class="pre">text</span></code>: Text to convert. </li>
<li><code class="docutils literal"><span class="pre">KeyCode</span></code>: Storage for key codes. </li>
<li><code class="docutils literal"><span class="pre">Length</span></code>: Storage for resulting length.</li>
</ul>
</dd>
</dl>
</p>
</dd></dl>
<dl class="function">
<dt id="c.GSM_PressKey">
<span class="target" id="apigroup__Keys_1ga1564d49b9764a18d48e52c89a5a84fdd"></span><a class="reference internal" href="error.html#c.GSM_Error" title="GSM_Error">GSM_Error</a> <code class="descname">GSM_PressKey</code><span class="sig-paren">(</span><a class="reference internal" href="statemachine.html#c.GSM_StateMachine" title="GSM_StateMachine">GSM_StateMachine</a> *<em> s</em>, <a class="reference internal" href="#c.GSM_KeyCode" title="GSM_KeyCode">GSM_KeyCode</a><em> Key</em>, <a class="reference internal" href="types.html#c.gboolean" title="gboolean">gboolean</a><em> Press</em><span class="sig-paren">)</span><a class="headerlink" href="#c.GSM_PressKey" title="Permalink to this definition">¶</a></dt>
<dd><p>Emulates key press or key release. </p>
</dd></dl>
<dl class="enum">
<dt id="c.GSM_KeyCode">
<span class="target" id="apigroup__Keys_1ga847ae7a586bfd1d0c506a3062d013ec2"></span><em class="property">enum </em><code class="descname">GSM_KeyCode</code><a class="headerlink" href="#c.GSM_KeyCode" title="Permalink to this definition">¶</a></dt>
<dd><p>Key event identifiers. </p>
<p><em>Values:</em></p>
<dl class="enumvalue">
<dt id="c.GSM_KEY_NONE">
<span class="target" id="apigroup__Keys_1gga847ae7a586bfd1d0c506a3062d013ec2a340c156a7260ddd62cd8d1998cad9040"></span><code class="descname">GSM_KEY_NONE</code> = 0x00<a class="headerlink" href="#c.GSM_KEY_NONE" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="enumvalue">
<dt id="c.GSM_KEY_1">
<span class="target" id="apigroup__Keys_1gga847ae7a586bfd1d0c506a3062d013ec2a014c70ea39fdb56eb01913333e4b50ae"></span><code class="descname">GSM_KEY_1</code> = 0x01<a class="headerlink" href="#c.GSM_KEY_1" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="enumvalue">
<dt id="c.GSM_KEY_2">
<span class="target" id="apigroup__Keys_1gga847ae7a586bfd1d0c506a3062d013ec2a0990febebc605da4457cbe45e5bbb4b3"></span><code class="descname">GSM_KEY_2</code><a class="headerlink" href="#c.GSM_KEY_2" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="enumvalue">
<dt id="c.GSM_KEY_3">
<span class="target" id="apigroup__Keys_1gga847ae7a586bfd1d0c506a3062d013ec2a374b2da0eb1e04151df095e0e4c187de"></span><code class="descname">GSM_KEY_3</code><a class="headerlink" href="#c.GSM_KEY_3" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="enumvalue">
<dt id="c.GSM_KEY_4">
<span class="target" id="apigroup__Keys_1gga847ae7a586bfd1d0c506a3062d013ec2a2ef04c75a876dc7ed6f796e0b93e7e4f"></span><code class="descname">GSM_KEY_4</code><a class="headerlink" href="#c.GSM_KEY_4" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="enumvalue">
<dt id="c.GSM_KEY_5">
<span class="target" id="apigroup__Keys_1gga847ae7a586bfd1d0c506a3062d013ec2a244222f9c62c5e055508dbc756bba43f"></span><code class="descname">GSM_KEY_5</code><a class="headerlink" href="#c.GSM_KEY_5" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="enumvalue">
<dt id="c.GSM_KEY_6">
<span class="target" id="apigroup__Keys_1gga847ae7a586bfd1d0c506a3062d013ec2abd1e8b846a828f1aeafb21dc14ab7c5f"></span><code class="descname">GSM_KEY_6</code><a class="headerlink" href="#c.GSM_KEY_6" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="enumvalue">
<dt id="c.GSM_KEY_7">
<span class="target" id="apigroup__Keys_1gga847ae7a586bfd1d0c506a3062d013ec2a71d439ca6603f5002cf8ff8bd901ea9b"></span><code class="descname">GSM_KEY_7</code><a class="headerlink" href="#c.GSM_KEY_7" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="enumvalue">
<dt id="c.GSM_KEY_8">
<span class="target" id="apigroup__Keys_1gga847ae7a586bfd1d0c506a3062d013ec2abca2b7d9cada1f1c54ec850dd9aaa2db"></span><code class="descname">GSM_KEY_8</code><a class="headerlink" href="#c.GSM_KEY_8" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="enumvalue">
<dt id="c.GSM_KEY_9">
<span class="target" id="apigroup__Keys_1gga847ae7a586bfd1d0c506a3062d013ec2a8960009373db80604d99246b3af9b8df"></span><code class="descname">GSM_KEY_9</code><a class="headerlink" href="#c.GSM_KEY_9" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="enumvalue">
<dt id="c.GSM_KEY_0">
<span class="target" id="apigroup__Keys_1gga847ae7a586bfd1d0c506a3062d013ec2a6a9f66e4d1bd22f5c5809a26632970a5"></span><code class="descname">GSM_KEY_0</code><a class="headerlink" href="#c.GSM_KEY_0" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="enumvalue">
<dt id="c.GSM_KEY_HASH">
<span class="target" id="apigroup__Keys_1gga847ae7a586bfd1d0c506a3062d013ec2ae933d745442d4b5d95f0570a76867c09"></span><code class="descname">GSM_KEY_HASH</code><a class="headerlink" href="#c.GSM_KEY_HASH" title="Permalink to this definition">¶</a></dt>
<dd><p># </p>
</dd></dl>
<dl class="enumvalue">
<dt id="c.GSM_KEY_ASTERISK">
<span class="target" id="apigroup__Keys_1gga847ae7a586bfd1d0c506a3062d013ec2aa97788a9a1c5f30eba7230bbe98b64a5"></span><code class="descname">GSM_KEY_ASTERISK</code><a class="headerlink" href="#c.GSM_KEY_ASTERISK" title="Permalink to this definition">¶</a></dt>
<dd><p><ul class="simple">
<li></li>
</ul>
</p>
</dd></dl>
<dl class="enumvalue">
<dt id="c.GSM_KEY_POWER">
<span class="target" id="apigroup__Keys_1gga847ae7a586bfd1d0c506a3062d013ec2a7f8480763def67f32ab0ccddbde6dba6"></span><code class="descname">GSM_KEY_POWER</code><a class="headerlink" href="#c.GSM_KEY_POWER" title="Permalink to this definition">¶</a></dt>
<dd><p>Power key. </p>
</dd></dl>
<dl class="enumvalue">
<dt id="c.GSM_KEY_GREEN">
<span class="target" id="apigroup__Keys_1gga847ae7a586bfd1d0c506a3062d013ec2a61bc766926d4fd974d8a36da1fd251be"></span><code class="descname">GSM_KEY_GREEN</code><a class="headerlink" href="#c.GSM_KEY_GREEN" title="Permalink to this definition">¶</a></dt>
<dd><p>in some phone ie. N5110 sometimes works identical to POWER </p>
</dd></dl>
<dl class="enumvalue">
<dt id="c.GSM_KEY_RED">
<span class="target" id="apigroup__Keys_1gga847ae7a586bfd1d0c506a3062d013ec2ab49a6d2b1e0a1a19d3ba5c7e29978647"></span><code class="descname">GSM_KEY_RED</code><a class="headerlink" href="#c.GSM_KEY_RED" title="Permalink to this definition">¶</a></dt>
<dd><p>(c) key in some phone: ie. N5110 </p>
</dd></dl>
<dl class="enumvalue">
<dt id="c.GSM_KEY_INCREASEVOLUME">
<span class="target" id="apigroup__Keys_1gga847ae7a586bfd1d0c506a3062d013ec2aad01005bafab6650184dc20ccedcb566"></span><code class="descname">GSM_KEY_INCREASEVOLUME</code><a class="headerlink" href="#c.GSM_KEY_INCREASEVOLUME" title="Permalink to this definition">¶</a></dt>
<dd><p>Not available in some phones as separate button: ie. N5110 </p>
</dd></dl>
<dl class="enumvalue">
<dt id="c.GSM_KEY_DECREASEVOLUME">
<span class="target" id="apigroup__Keys_1gga847ae7a586bfd1d0c506a3062d013ec2aae6662d3edbc0554314de1c02025df63"></span><code class="descname">GSM_KEY_DECREASEVOLUME</code><a class="headerlink" href="#c.GSM_KEY_DECREASEVOLUME" title="Permalink to this definition">¶</a></dt>
<dd><p>Not available in some phones as separate button: ie. N5110 </p>
</dd></dl>
<dl class="enumvalue">
<dt id="c.GSM_KEY_UP">
<span class="target" id="apigroup__Keys_1gga847ae7a586bfd1d0c506a3062d013ec2aae124dd62124796d65753a0285c01538"></span><code class="descname">GSM_KEY_UP</code> = 0x17<a class="headerlink" href="#c.GSM_KEY_UP" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="enumvalue">
<dt id="c.GSM_KEY_DOWN">
<span class="target" id="apigroup__Keys_1gga847ae7a586bfd1d0c506a3062d013ec2a38def1a154ee80cf7983e0625f4f5380"></span><code class="descname">GSM_KEY_DOWN</code><a class="headerlink" href="#c.GSM_KEY_DOWN" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="enumvalue">
<dt id="c.GSM_KEY_MENU">
<span class="target" id="apigroup__Keys_1gga847ae7a586bfd1d0c506a3062d013ec2a36dabfff52cb3cd3d3d8374c659074e8"></span><code class="descname">GSM_KEY_MENU</code><a class="headerlink" href="#c.GSM_KEY_MENU" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="enumvalue">
<dt id="c.GSM_KEY_NAMES">
<span class="target" id="apigroup__Keys_1gga847ae7a586bfd1d0c506a3062d013ec2a2263ab1e4b324d5a886f2659112e74ce"></span><code class="descname">GSM_KEY_NAMES</code><a class="headerlink" href="#c.GSM_KEY_NAMES" title="Permalink to this definition">¶</a></dt>
<dd><p>Not available in some phone: ie. N5110 </p>
</dd></dl>
<dl class="enumvalue">
<dt id="c.GSM_KEY_LEFT">
<span class="target" id="apigroup__Keys_1gga847ae7a586bfd1d0c506a3062d013ec2a40936a32a7a8276d4c3f1d12e49fb0f3"></span><code class="descname">GSM_KEY_LEFT</code><a class="headerlink" href="#c.GSM_KEY_LEFT" title="Permalink to this definition">¶</a></dt>
<dd><p>Left arrow </p>
</dd></dl>
<dl class="enumvalue">
<dt id="c.GSM_KEY_RIGHT">
<span class="target" id="apigroup__Keys_1gga847ae7a586bfd1d0c506a3062d013ec2a2e419fbe8687262afbc52c24be85f009"></span><code class="descname">GSM_KEY_RIGHT</code><a class="headerlink" href="#c.GSM_KEY_RIGHT" title="Permalink to this definition">¶</a></dt>
<dd><p>Right arrow </p>
</dd></dl>
<dl class="enumvalue">
<dt id="c.GSM_KEY_SOFT1">
<span class="target" id="apigroup__Keys_1gga847ae7a586bfd1d0c506a3062d013ec2a56c1147e2b893077f81a4543ea8e6229"></span><code class="descname">GSM_KEY_SOFT1</code><a class="headerlink" href="#c.GSM_KEY_SOFT1" title="Permalink to this definition">¶</a></dt>
<dd><p>Software key which has assigned mening on display. </p>
</dd></dl>
<dl class="enumvalue">
<dt id="c.GSM_KEY_SOFT2">
<span class="target" id="apigroup__Keys_1gga847ae7a586bfd1d0c506a3062d013ec2a3b941d649890914bafe3d03abdf5af8c"></span><code class="descname">GSM_KEY_SOFT2</code><a class="headerlink" href="#c.GSM_KEY_SOFT2" title="Permalink to this definition">¶</a></dt>
<dd><p>Software key which has assigned mening on display. </p>
</dd></dl>
<dl class="enumvalue">
<dt id="c.GSM_KEY_HEADSET">
<span class="target" id="apigroup__Keys_1gga847ae7a586bfd1d0c506a3062d013ec2ab8b7dda76b51e939909f557ba605bb08"></span><code class="descname">GSM_KEY_HEADSET</code><a class="headerlink" href="#c.GSM_KEY_HEADSET" title="Permalink to this definition">¶</a></dt>
<dd><p>Button on headset </p>
</dd></dl>
<dl class="enumvalue">
<dt id="c.GSM_KEY_JOYSTICK">
<span class="target" id="apigroup__Keys_1gga847ae7a586bfd1d0c506a3062d013ec2a8776779b685958da425d04f9256c6971"></span><code class="descname">GSM_KEY_JOYSTICK</code><a class="headerlink" href="#c.GSM_KEY_JOYSTICK" title="Permalink to this definition">¶</a></dt>
<dd><p>Joystick pressed </p>
</dd></dl>
<dl class="enumvalue">
<dt id="c.GSM_KEY_CAMERA">
<span class="target" id="apigroup__Keys_1gga847ae7a586bfd1d0c506a3062d013ec2ab9f0e379b7b55bbe8047060bd7fda31b"></span><code class="descname">GSM_KEY_CAMERA</code><a class="headerlink" href="#c.GSM_KEY_CAMERA" title="Permalink to this definition">¶</a></dt>
<dd><p>Camera button pressed </p>
</dd></dl>
<dl class="enumvalue">
<dt id="c.GSM_KEY_MEDIA">
<span class="target" id="apigroup__Keys_1gga847ae7a586bfd1d0c506a3062d013ec2a34b8893de6a8da76eba647de06a945ed"></span><code class="descname">GSM_KEY_MEDIA</code><a class="headerlink" href="#c.GSM_KEY_MEDIA" title="Permalink to this definition">¶</a></dt>
<dd><p>Media player button </p>
</dd></dl>
<dl class="enumvalue">
<dt id="c.GSM_KEY_DESKTOP">
<span class="target" id="apigroup__Keys_1gga847ae7a586bfd1d0c506a3062d013ec2a358bfb83cda010b5482b9014f41733e8"></span><code class="descname">GSM_KEY_DESKTOP</code><a class="headerlink" href="#c.GSM_KEY_DESKTOP" title="Permalink to this definition">¶</a></dt>
<dd><p>Multi function key, desktop </p>
</dd></dl>
<dl class="enumvalue">
<dt id="c.GSM_KEY_OPERATOR">
<span class="target" id="apigroup__Keys_1gga847ae7a586bfd1d0c506a3062d013ec2a710910293919d2c92048924f650cd648"></span><code class="descname">GSM_KEY_OPERATOR</code><a class="headerlink" href="#c.GSM_KEY_OPERATOR" title="Permalink to this definition">¶</a></dt>
<dd><p>Operator button </p>
</dd></dl>
<dl class="enumvalue">
<dt id="c.GSM_KEY_RETURN">
<span class="target" id="apigroup__Keys_1gga847ae7a586bfd1d0c506a3062d013ec2ac4c158c9f6e38cd8c6aa0fa704335a7c"></span><code class="descname">GSM_KEY_RETURN</code><a class="headerlink" href="#c.GSM_KEY_RETURN" title="Permalink to this definition">¶</a></dt>
<dd><p>Return button </p>
</dd></dl>
<dl class="enumvalue">
<dt id="c.GSM_KEY_CLEAR">
<span class="target" id="apigroup__Keys_1gga847ae7a586bfd1d0c506a3062d013ec2a583741d65e7e0c136e24bdce87149026"></span><code class="descname">GSM_KEY_CLEAR</code><a class="headerlink" href="#c.GSM_KEY_CLEAR" title="Permalink to this definition">¶</a></dt>
<dd><p>Clear button </p>
</dd></dl>
</dd></dl>
</div>
</div>
</div>
</div>
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
<div class="sphinxsidebarwrapper"><div class="relations">
<h3>Related Topics</h3>
<ul>
<li><a href="../index.html">Documentation overview</a><ul>
<li><a href="../contents.html">Gammu Documentation Contents</a><ul>
<li><a href="index.html">libGammu</a><ul>
<li><a href="api.html">libGammu C API</a><ul>
<li>Previous: <a href="inifile.html" title="previous chapter">INI files</a></li>
<li>Next: <a href="limits.html" title="next chapter">Limits</a></li>
</ul></li>
</ul></li>
</ul></li>
</ul></li>
</ul>
</div>
<div role="note" aria-label="source link">
<h3>This Page</h3>
<ul class="this-page-menu">
<li><a href="../_sources/c/keys.txt"
rel="nofollow">Show Source</a></li>
</ul>
</div>
<div id="searchbox" style="display: none" role="search">
<h3>Quick search</h3>
<form class="search" action="../search.html" method="get">
<div><input type="text" name="q" /></div>
<div><input type="submit" value="Go" /></div>
<input type="hidden" name="check_keywords" value="yes" />
<input type="hidden" name="area" value="default" />
</form>
</div>
<script type="text/javascript">$('#searchbox').show(0);</script>
</div>
</div>
<div class="clearer"></div>
</div>
<div class="footer">
©2009-2017, Michal Čihař <michal@cihar.com>.
|
Powered by <a href="http://sphinx-doc.org/">Sphinx 1.4.9</a>
& <a href="https://github.com/bitprophet/alabaster">Alabaster 0.7.8</a>
|
<a href="../_sources/c/keys.txt"
rel="nofollow">Page source</a>
</div>
</body>
</html>
|