/usr/share/doc/geis/html/group__geis__v2__device.html is in libgeis-doc 2.2.16-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 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 | <!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/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>GEIS: Input Devices</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
$(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
$(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
<div id="projectname">GEIS
 <span id="projectnumber">2.0</span>
</div>
<div id="projectbrief">Gesture Engine Interface Support</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.1.2 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
<li><a href="annotated.html"><span>Data Structures</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li>
<div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<img id="MSearchSelect" src="search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
<input type="text" id="MSearchField" value="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
</span>
</div>
</li>
</ul>
</div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('group__geis__v2__device.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark"> </span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark"> </span>Groups</a></div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div class="header">
<div class="summary">
<a href="#nested-classes">Data Structures</a> |
<a href="#func-members">Functions</a> </div>
<div class="headertitle">
<div class="title">Input Devices</div> </div>
<div class="ingroups"><a class="el" href="group__geis__v2.html">The Advanced GEIS Interface</a></div></div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_geis_device.html">GeisDevice</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">A gesture-capable input device. <a href="class_geis_device.html#details">More...</a><br/></td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga8970cb86538ab157abf518ac9be855d5"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga8970cb86538ab157abf518ac9be855d5"></a>
void </td><td class="memItemRight" valign="bottom"><b>geis_register_device_callback</b> (<a class="el" href="class_geis.html">Geis</a> geis, <a class="el" href="group__geis__v2__event__control.html#ga84e1904f0d93dd0cdbf8e2cf6eed88ea">GeisEventCallback</a> event_callback, void *context)</td></tr>
<tr class="memitem:ga090fe93c4bc888fec160f21c5c7b2992"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_geis_device.html">GeisDevice</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__geis__v2__device.html#ga090fe93c4bc888fec160f21c5c7b2992">geis_get_device</a> (<a class="el" href="class_geis.html">Geis</a> geis, GeisInteger device_id)</td></tr>
<tr class="memdesc:ga090fe93c4bc888fec160f21c5c7b2992"><td class="mdescLeft"> </td><td class="mdescRight">Gets a cached device description for an identified device. <a href="#ga090fe93c4bc888fec160f21c5c7b2992"></a><br/></td></tr>
<tr class="memitem:gaa6733d91cefb7cd5683d702397f2a139"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_geis_device.html">GeisDevice</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__geis__v2__device.html#gaa6733d91cefb7cd5683d702397f2a139">geis_device_ref</a> (<a class="el" href="class_geis_device.html">GeisDevice</a> device)</td></tr>
<tr class="memdesc:gaa6733d91cefb7cd5683d702397f2a139"><td class="mdescLeft"> </td><td class="mdescRight">Adds a reference count to a device. <a href="#gaa6733d91cefb7cd5683d702397f2a139"></a><br/></td></tr>
<tr class="memitem:gacec95f4cf068bacbaf2e4b932911f543"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__geis__v2__device.html#gacec95f4cf068bacbaf2e4b932911f543">geis_device_unref</a> (<a class="el" href="class_geis_device.html">GeisDevice</a> device)</td></tr>
<tr class="memdesc:gacec95f4cf068bacbaf2e4b932911f543"><td class="mdescLeft"> </td><td class="mdescRight">Removes a reference count from a device. <a href="#gacec95f4cf068bacbaf2e4b932911f543"></a><br/></td></tr>
<tr class="memitem:gaf8af5a75015b66cce547d0b39dec94c7"><td class="memItemLeft" align="right" valign="top">GeisString </td><td class="memItemRight" valign="bottom"><a class="el" href="group__geis__v2__device.html#gaf8af5a75015b66cce547d0b39dec94c7">geis_device_name</a> (<a class="el" href="class_geis_device.html">GeisDevice</a> device)</td></tr>
<tr class="memdesc:gaf8af5a75015b66cce547d0b39dec94c7"><td class="mdescLeft"> </td><td class="mdescRight">Gets the name of the input device. <a href="#gaf8af5a75015b66cce547d0b39dec94c7"></a><br/></td></tr>
<tr class="memitem:ga50dc0197231d68f2b8933c6b25ccde17"><td class="memItemLeft" align="right" valign="top">GeisInteger </td><td class="memItemRight" valign="bottom"><a class="el" href="group__geis__v2__device.html#ga50dc0197231d68f2b8933c6b25ccde17">geis_device_id</a> (<a class="el" href="class_geis_device.html">GeisDevice</a> device)</td></tr>
<tr class="memdesc:ga50dc0197231d68f2b8933c6b25ccde17"><td class="mdescLeft"> </td><td class="mdescRight">Gets the system identifier of the iput device. <a href="#ga50dc0197231d68f2b8933c6b25ccde17"></a><br/></td></tr>
<tr class="memitem:ga5aa6e28512e5bfaf977cb9e49b33c336"><td class="memItemLeft" align="right" valign="top">GeisSize </td><td class="memItemRight" valign="bottom"><a class="el" href="group__geis__v2__device.html#ga5aa6e28512e5bfaf977cb9e49b33c336">geis_device_attr_count</a> (<a class="el" href="class_geis_device.html">GeisDevice</a> device)</td></tr>
<tr class="memdesc:ga5aa6e28512e5bfaf977cb9e49b33c336"><td class="mdescLeft"> </td><td class="mdescRight">Gets the number of attributes of the device. <a href="#ga5aa6e28512e5bfaf977cb9e49b33c336"></a><br/></td></tr>
<tr class="memitem:ga09aff11d9194ca467d7c84487288f975"><td class="memItemLeft" align="right" valign="top">GeisAttr </td><td class="memItemRight" valign="bottom"><a class="el" href="group__geis__v2__device.html#ga09aff11d9194ca467d7c84487288f975">geis_device_attr</a> (<a class="el" href="class_geis_device.html">GeisDevice</a> device, GeisSize index)</td></tr>
<tr class="memdesc:ga09aff11d9194ca467d7c84487288f975"><td class="mdescLeft"> </td><td class="mdescRight">Gets the indicated attribute of the device. <a href="#ga09aff11d9194ca467d7c84487288f975"></a><br/></td></tr>
<tr class="memitem:gabaa8e80dd658e6357d0580aa1da8688a"><td class="memItemLeft" align="right" valign="top">GeisAttr </td><td class="memItemRight" valign="bottom"><a class="el" href="group__geis__v2__device.html#gabaa8e80dd658e6357d0580aa1da8688a">geis_device_attr_by_name</a> (<a class="el" href="class_geis_device.html">GeisDevice</a> device, GeisString attr_name)</td></tr>
<tr class="memdesc:gabaa8e80dd658e6357d0580aa1da8688a"><td class="mdescLeft"> </td><td class="mdescRight">Gets a named attribute from the device. <a href="#gabaa8e80dd658e6357d0580aa1da8688a"></a><br/></td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="member-group"></a>
Device Event Attributes</h2></td></tr>
<tr class="memitem:ga15db5a218633ecbe74cbf8c529b4ee6f"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__geis__v2__device.html#ga15db5a218633ecbe74cbf8c529b4ee6f">GEIS_EVENT_ATTRIBUTE_DEVICE</a></td></tr>
<tr class="memdesc:ga15db5a218633ecbe74cbf8c529b4ee6f"><td class="mdescLeft"> </td><td class="mdescRight">The event attribute containing a pointer to a <a class="el" href="class_geis_device.html" title="A gesture-capable input device.">GeisDevice</a>. <a href="#ga15db5a218633ecbe74cbf8c529b4ee6f"></a><br/></td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="member-group"></a>
Device Attributes</h2></td></tr>
<tr class="memitem:ga970744731f14455874d23402ffe715ed"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__geis__v2__device.html#ga970744731f14455874d23402ffe715ed">GEIS_DEVICE_ATTRIBUTE_NAME</a></td></tr>
<tr class="memdesc:ga970744731f14455874d23402ffe715ed"><td class="mdescLeft"> </td><td class="mdescRight">The name of the input device. <a href="#ga970744731f14455874d23402ffe715ed"></a><br/></td></tr>
<tr class="memitem:gacba080a3ff4a37f5b3337f642680073c"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__geis__v2__device.html#gacba080a3ff4a37f5b3337f642680073c">GEIS_DEVICE_ATTRIBUTE_ID</a></td></tr>
<tr class="memdesc:gacba080a3ff4a37f5b3337f642680073c"><td class="mdescLeft"> </td><td class="mdescRight">The unique integer ID of the device. <a href="#gacba080a3ff4a37f5b3337f642680073c"></a><br/></td></tr>
<tr class="memitem:ga57b55175976439bdaf50586811823b70"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__geis__v2__device.html#ga57b55175976439bdaf50586811823b70">GEIS_DEVICE_ATTRIBUTE_TOUCHES</a></td></tr>
<tr class="memdesc:ga57b55175976439bdaf50586811823b70"><td class="mdescLeft"> </td><td class="mdescRight">The maximum number of touches a device is capable of reporting. <a href="#ga57b55175976439bdaf50586811823b70"></a><br/></td></tr>
<tr class="memitem:gae89ac6173112a37d8f7a8ba36105675a"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__geis__v2__device.html#gae89ac6173112a37d8f7a8ba36105675a">GEIS_DEVICE_ATTRIBUTE_DIRECT_TOUCH</a></td></tr>
<tr class="memdesc:gae89ac6173112a37d8f7a8ba36105675a"><td class="mdescLeft"> </td><td class="mdescRight">Indicates the device is a direct touch device. <a href="#gae89ac6173112a37d8f7a8ba36105675a"></a><br/></td></tr>
<tr class="memitem:ga68b7858b553baf0a6ff5ad74aa82fc40"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__geis__v2__device.html#ga68b7858b553baf0a6ff5ad74aa82fc40">GEIS_DEVICE_ATTRIBUTE_INDEPENDENT_TOUCH</a></td></tr>
<tr class="memdesc:ga68b7858b553baf0a6ff5ad74aa82fc40"><td class="mdescLeft"> </td><td class="mdescRight">Indicates the device is an independent touch device. <a href="#ga68b7858b553baf0a6ff5ad74aa82fc40"></a><br/></td></tr>
<tr class="memitem:ga234ae3f7d1672a400f2d76b71c7f4f5b"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__geis__v2__device.html#ga234ae3f7d1672a400f2d76b71c7f4f5b">GEIS_DEVICE_ATTRIBUTE_MIN_X</a></td></tr>
<tr class="memdesc:ga234ae3f7d1672a400f2d76b71c7f4f5b"><td class="mdescLeft"> </td><td class="mdescRight">The lower bound of the X-axis (nominally horizontal) coordinate values reported by the device. <a href="#ga234ae3f7d1672a400f2d76b71c7f4f5b"></a><br/></td></tr>
<tr class="memitem:ga8c44d97c4bfce012bff0cd590b0870d4"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__geis__v2__device.html#ga8c44d97c4bfce012bff0cd590b0870d4">GEIS_DEVICE_ATTRIBUTE_MAX_X</a></td></tr>
<tr class="memdesc:ga8c44d97c4bfce012bff0cd590b0870d4"><td class="mdescLeft"> </td><td class="mdescRight">The upper bound of the X-axis (nominally horizontal) coordinate values reported by the device. <a href="#ga8c44d97c4bfce012bff0cd590b0870d4"></a><br/></td></tr>
<tr class="memitem:gaa66bae7375c1257edae0261966e41d5b"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__geis__v2__device.html#gaa66bae7375c1257edae0261966e41d5b">GEIS_DEVICE_ATTRIBUTE_RES_X</a></td></tr>
<tr class="memdesc:gaa66bae7375c1257edae0261966e41d5b"><td class="mdescLeft"> </td><td class="mdescRight">The resolution of the X-axis (nominally horizontal) coordinate values reported by the device. <a href="#gaa66bae7375c1257edae0261966e41d5b"></a><br/></td></tr>
<tr class="memitem:ga59513a39016cb551eee1de22a06573e7"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__geis__v2__device.html#ga59513a39016cb551eee1de22a06573e7">GEIS_DEVICE_ATTRIBUTE_MIN_Y</a></td></tr>
<tr class="memdesc:ga59513a39016cb551eee1de22a06573e7"><td class="mdescLeft"> </td><td class="mdescRight">The lower bound of the Y-axis (nominally vertical) coordinate values reported by the device. <a href="#ga59513a39016cb551eee1de22a06573e7"></a><br/></td></tr>
<tr class="memitem:gab3e0b2a558d0c87cb34e630ff0547fb2"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__geis__v2__device.html#gab3e0b2a558d0c87cb34e630ff0547fb2">GEIS_DEVICE_ATTRIBUTE_MAX_Y</a></td></tr>
<tr class="memdesc:gab3e0b2a558d0c87cb34e630ff0547fb2"><td class="mdescLeft"> </td><td class="mdescRight">The upper bound of the Y-axis (nominally vertical) coordinate values reported by the device. <a href="#gab3e0b2a558d0c87cb34e630ff0547fb2"></a><br/></td></tr>
<tr class="memitem:gae9bf8d4763374f43a18fd5f07f89d339"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__geis__v2__device.html#gae9bf8d4763374f43a18fd5f07f89d339">GEIS_DEVICE_ATTRIBUTE_RES_Y</a></td></tr>
<tr class="memdesc:gae9bf8d4763374f43a18fd5f07f89d339"><td class="mdescLeft"> </td><td class="mdescRight">The resolution of the Y-axis (nominally vertical) coordinate values reported by the device. <a href="#gae9bf8d4763374f43a18fd5f07f89d339"></a><br/></td></tr>
</table>
<a name="details" id="details"></a><h2>Detailed Description</h2>
<h2>Macro Definition Documentation</h2>
<a class="anchor" id="gae89ac6173112a37d8f7a8ba36105675a"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define GEIS_DEVICE_ATTRIBUTE_DIRECT_TOUCH</td>
</tr>
</table>
</div><div class="memdoc">
<p>Indicates the device is a direct touch device. </p>
<p>The present of this boolean attribute with a value of GEIS_TRUE indicates the device is a direct touch multi-touch device (for example, a touchscreen), otherwise it is an indirect touch device (such as a touchpad) or not a touch device at all.</p>
<p>The attribute value is of type GeisBoolean. </p>
</div>
</div>
<a class="anchor" id="gacba080a3ff4a37f5b3337f642680073c"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define GEIS_DEVICE_ATTRIBUTE_ID</td>
</tr>
</table>
</div><div class="memdoc">
<p>The unique integer ID of the device. </p>
<p>Guaranteed unique within a <a class="el" href="class_geis.html" title="Represents an instance of the gesture recognition engine.">Geis</a> instance.</p>
<p>The attribute values is of type GeisInteger. </p>
</div>
</div>
<a class="anchor" id="ga68b7858b553baf0a6ff5ad74aa82fc40"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define GEIS_DEVICE_ATTRIBUTE_INDEPENDENT_TOUCH</td>
</tr>
</table>
</div><div class="memdoc">
<p>Indicates the device is an independent touch device. </p>
<p>The presence of this boolean attribute with a value of GEIS_TRUE indicates the device is an independent touch device (for example, an Apple MagicMouse). Other multi-touch devices should report GEIS_FALSE.</p>
<p>The attribute value is of type GeisBoolean. </p>
</div>
</div>
<a class="anchor" id="ga8c44d97c4bfce012bff0cd590b0870d4"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define GEIS_DEVICE_ATTRIBUTE_MAX_X</td>
</tr>
</table>
</div><div class="memdoc">
<p>The upper bound of the X-axis (nominally horizontal) coordinate values reported by the device. </p>
<p>The attribute values is of type GeisFloat. </p>
</div>
</div>
<a class="anchor" id="gab3e0b2a558d0c87cb34e630ff0547fb2"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define GEIS_DEVICE_ATTRIBUTE_MAX_Y</td>
</tr>
</table>
</div><div class="memdoc">
<p>The upper bound of the Y-axis (nominally vertical) coordinate values reported by the device. </p>
<p>The attribute values is of type GeisFloat. </p>
</div>
</div>
<a class="anchor" id="ga234ae3f7d1672a400f2d76b71c7f4f5b"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define GEIS_DEVICE_ATTRIBUTE_MIN_X</td>
</tr>
</table>
</div><div class="memdoc">
<p>The lower bound of the X-axis (nominally horizontal) coordinate values reported by the device. </p>
<p>The attribute values is of type GeisFloat. </p>
</div>
</div>
<a class="anchor" id="ga59513a39016cb551eee1de22a06573e7"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define GEIS_DEVICE_ATTRIBUTE_MIN_Y</td>
</tr>
</table>
</div><div class="memdoc">
<p>The lower bound of the Y-axis (nominally vertical) coordinate values reported by the device. </p>
<p>The attribute values is of type GeisFloat. </p>
</div>
</div>
<a class="anchor" id="ga970744731f14455874d23402ffe715ed"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define GEIS_DEVICE_ATTRIBUTE_NAME</td>
</tr>
</table>
</div><div class="memdoc">
<p>The name of the input device. </p>
<p>Not guaranteed unique.</p>
<p>The attribute value is of type GeisString. </p>
</div>
</div>
<a class="anchor" id="gaa66bae7375c1257edae0261966e41d5b"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define GEIS_DEVICE_ATTRIBUTE_RES_X</td>
</tr>
</table>
</div><div class="memdoc">
<p>The resolution of the X-axis (nominally horizontal) coordinate values reported by the device. </p>
<p>The attribute values is of type GeisFloat. </p>
</div>
</div>
<a class="anchor" id="gae9bf8d4763374f43a18fd5f07f89d339"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define GEIS_DEVICE_ATTRIBUTE_RES_Y</td>
</tr>
</table>
</div><div class="memdoc">
<p>The resolution of the Y-axis (nominally vertical) coordinate values reported by the device. </p>
<p>The attribute values is of type GeisFloat. </p>
</div>
</div>
<a class="anchor" id="ga57b55175976439bdaf50586811823b70"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define GEIS_DEVICE_ATTRIBUTE_TOUCHES</td>
</tr>
</table>
</div><div class="memdoc">
<p>The maximum number of touches a device is capable of reporting. </p>
<p>This integer is the number if simultaneous touches the device claims to be able to detect if it is a multi-touch device. A value of zero indicates the maximum number of touches can not be determined.</p>
<p>The attribute value is of type GeisInteger. </p>
</div>
</div>
<a class="anchor" id="ga15db5a218633ecbe74cbf8c529b4ee6f"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define GEIS_EVENT_ATTRIBUTE_DEVICE</td>
</tr>
</table>
</div><div class="memdoc">
<p>The event attribute containing a pointer to a <a class="el" href="class_geis_device.html" title="A gesture-capable input device.">GeisDevice</a>. </p>
<p>The GEIS_EVENT_DEVICE_AVAILABLE and GEIS_EVENT_DEVICE_UNAVAILABLE events should have a GEIS_ATTR_TYPE_POINTER attribute with this name. It should contain a pointer to a <a class="el" href="class_geis_device.html" title="A gesture-capable input device.">GeisDevice</a> describing the device made available or unavailable. </p>
</div>
</div>
<h2>Function Documentation</h2>
<a class="anchor" id="ga09aff11d9194ca467d7c84487288f975"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">GeisAttr geis_device_attr </td>
<td>(</td>
<td class="paramtype"><a class="el" href="class_geis_device.html">GeisDevice</a> </td>
<td class="paramname"><em>device</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">GeisSize </td>
<td class="paramname"><em>index</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Gets the indicated attribute of the device. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">device</td><td>The device. </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">index</td><td>Indicates which attr to retrieve. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="gabaa8e80dd658e6357d0580aa1da8688a"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">GeisAttr geis_device_attr_by_name </td>
<td>(</td>
<td class="paramtype"><a class="el" href="class_geis_device.html">GeisDevice</a> </td>
<td class="paramname"><em>device</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">GeisString </td>
<td class="paramname"><em>attr_name</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Gets a named attribute from the device. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">device</td><td>The device. </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">attr_name</td><td>The name of the attribute to retrieve. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="ga5aa6e28512e5bfaf977cb9e49b33c336"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">GeisSize geis_device_attr_count </td>
<td>(</td>
<td class="paramtype"><a class="el" href="class_geis_device.html">GeisDevice</a> </td>
<td class="paramname"><em>device</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Gets the number of attributes of the device. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">device</td><td>The device. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="ga50dc0197231d68f2b8933c6b25ccde17"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">GeisInteger geis_device_id </td>
<td>(</td>
<td class="paramtype"><a class="el" href="class_geis_device.html">GeisDevice</a> </td>
<td class="paramname"><em>device</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Gets the system identifier of the iput device. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">device</td><td>The device.</td></tr>
</table>
</dd>
</dl>
<p>The system-defined device identifier is system- and possibly device-dependent. </p>
</div>
</div>
<a class="anchor" id="gaf8af5a75015b66cce547d0b39dec94c7"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">GeisString geis_device_name </td>
<td>(</td>
<td class="paramtype"><a class="el" href="class_geis_device.html">GeisDevice</a> </td>
<td class="paramname"><em>device</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Gets the name of the input device. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">device</td><td>The device. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="gaa6733d91cefb7cd5683d702397f2a139"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_geis_device.html">GeisDevice</a> geis_device_ref </td>
<td>(</td>
<td class="paramtype"><a class="el" href="class_geis_device.html">GeisDevice</a> </td>
<td class="paramname"><em>device</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Adds a reference count to a device. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">device</td><td>The device.</td></tr>
</table>
</dd>
</dl>
<p>An application that wishes to guarantee the device object remains valid should add a reference using this call, and unref when the object is no longer needed.</p>
<dl class="section return"><dt>Returns</dt><dd><code>device</code> for syntactic convenience. </dd></dl>
</div>
</div>
<a class="anchor" id="gacec95f4cf068bacbaf2e4b932911f543"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void geis_device_unref </td>
<td>(</td>
<td class="paramtype"><a class="el" href="class_geis_device.html">GeisDevice</a> </td>
<td class="paramname"><em>device</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Removes a reference count from a device. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">device</td><td>The device.</td></tr>
</table>
</dd>
</dl>
<p>This function decrements the number of references to the device and, if the number of references hits zero, deletes the device. </p>
</div>
</div>
<a class="anchor" id="ga090fe93c4bc888fec160f21c5c7b2992"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_geis_device.html">GeisDevice</a> geis_get_device </td>
<td>(</td>
<td class="paramtype"><a class="el" href="class_geis.html">Geis</a> </td>
<td class="paramname"><em>geis</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">GeisInteger </td>
<td class="paramname"><em>device_id</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Gets a cached device description for an identified device. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">geis</td><td>The GEIS API instance. </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">device_id</td><td>Identifies the device.</td></tr>
</table>
</dd>
</dl>
<p>The GEIS instance caches a list of gesture-capable input devices that have been reported. The <a class="el" href="class_geis_device.html" title="A gesture-capable input device.">GeisDevice</a> description for an identified device may be retrieved from that cache with this call.</p>
<dl class="section return"><dt>Returns</dt><dd>a valid <a class="el" href="class_geis_device.html" title="A gesture-capable input device.">GeisDevice</a> for the identified device, or NULL if no such device is in the cache. </dd></dl>
</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="footer">Generated on Thu Jun 13 2013 06:13:23 for GEIS by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.1.2 </li>
</ul>
</div>
</body>
</html>
|