wut/group__padscore__kpad.html
2020-03-26 16:49:18 +11:00

633 lines
29 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://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"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>wut: KPAD</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="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></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 id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">wut
&#160;<span id="projectnumber">1.0.0-beta9</span>
</div>
<div id="projectbrief">Wii U Toolchain</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</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> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#enum-members">Enumerations</a> &#124;
<a href="#func-members">Functions</a> </div>
<div class="headertitle">
<div class="title">KPAD<div class="ingroups"><a class="el" href="group__padscore.html">padscore</a></div></div> </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:structKPADVec2D"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__padscore__kpad.html#structKPADVec2D">KPADVec2D</a></td></tr>
<tr class="separator:structKPADVec2D"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:structKPADStatus"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__padscore__kpad.html#structKPADStatus">KPADStatus</a></td></tr>
<tr class="separator:structKPADStatus"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:unionKPADStatus_8____unnamed____"><td class="memItemLeft" align="right" valign="top">union &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__padscore__kpad.html#unionKPADStatus_8____unnamed____">KPADStatus.__unnamed__</a></td></tr>
<tr class="separator:unionKPADStatus_8____unnamed____"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:structKPADStatus_8____unnamed_____8nunchuck"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__padscore__kpad.html#structKPADStatus_8____unnamed_____8nunchuck">KPADStatus.__unnamed__.nunchuck</a></td></tr>
<tr class="separator:structKPADStatus_8____unnamed_____8nunchuck"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:structKPADStatus_8____unnamed_____8classic"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__padscore__kpad.html#structKPADStatus_8____unnamed_____8classic">KPADStatus.__unnamed__.classic</a></td></tr>
<tr class="separator:structKPADStatus_8____unnamed_____8classic"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:structKPADStatus_8____unnamed_____8pro"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__padscore__kpad.html#structKPADStatus_8____unnamed_____8pro">KPADStatus.__unnamed__.pro</a></td></tr>
<tr class="separator:structKPADStatus_8____unnamed_____8pro"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:ga8df093af89d553d541fd99d8c61d2442"><td class="memItemLeft" align="right" valign="top">typedef enum <a class="el" href="group__padscore__wpad.html#ga3d9addfad689c9015cdc4243473df107">WPADChan</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__padscore__kpad.html#ga8df093af89d553d541fd99d8c61d2442">KPADChan</a></td></tr>
<tr class="separator:ga8df093af89d553d541fd99d8c61d2442"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga30fd569aa5adf56075edc9e971d35bad"><td class="memItemLeft" align="right" valign="top">typedef enum <a class="el" href="group__padscore__wpad.html#ga2db2238f03b51e7ea465f48397ec4900">WPADDataFormat</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__padscore__kpad.html#ga30fd569aa5adf56075edc9e971d35bad">KPADDataFormat</a></td></tr>
<tr class="separator:ga30fd569aa5adf56075edc9e971d35bad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2f5ef07b36039e79a2ea8d00e8453eb0"><td class="memItemLeft" align="right" valign="top">typedef enum <a class="el" href="group__padscore__wpad.html#gaabe6fcb6ae154b867c0ed874728099f3">WPADExtensionType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__padscore__kpad.html#ga2f5ef07b36039e79a2ea8d00e8453eb0">KPADExtensionType</a></td></tr>
<tr class="separator:ga2f5ef07b36039e79a2ea8d00e8453eb0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga188dbbdbbe19e39ce3c1b7ae6c76c544"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="group__padscore__kpad.html#structKPADStatus">KPADStatus</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__padscore__kpad.html#ga188dbbdbbe19e39ce3c1b7ae6c76c544">KPADStatus</a></td></tr>
<tr class="separator:ga188dbbdbbe19e39ce3c1b7ae6c76c544"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad7557ca2a5e0f9d90f0ae4c0a498bcb8"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="group__padscore__kpad.html#structKPADVec2D">KPADVec2D</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__padscore__kpad.html#gad7557ca2a5e0f9d90f0ae4c0a498bcb8">KPADVec2D</a></td></tr>
<tr class="separator:gad7557ca2a5e0f9d90f0ae4c0a498bcb8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gabb1a5a26c73e63881f1e74f7fcd792d3"><td class="memItemLeft" align="right" valign="top">typedef enum <a class="el" href="group__padscore__kpad.html#ga24f9946812e70c194e190b6880d030cc">KPADError</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__padscore__kpad.html#gabb1a5a26c73e63881f1e74f7fcd792d3">KPADError</a></td></tr>
<tr class="separator:gabb1a5a26c73e63881f1e74f7fcd792d3"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
Enumerations</h2></td></tr>
<tr class="memitem:ga24f9946812e70c194e190b6880d030cc"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__padscore__kpad.html#ga24f9946812e70c194e190b6880d030cc">KPADError</a> { <a class="el" href="group__padscore__kpad.html#gga24f9946812e70c194e190b6880d030cca2ae8a84907754a877720861d2816aa63">KPAD_ERROR_OK</a> = 0
}</td></tr>
<tr class="separator:ga24f9946812e70c194e190b6880d030cc"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga59dd0b75518d16750f94e43a89378669"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__padscore__kpad.html#ga59dd0b75518d16750f94e43a89378669">KPADInit</a> ()</td></tr>
<tr class="separator:ga59dd0b75518d16750f94e43a89378669"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga94592ff4811fb9b3b7ec2f4f75cda9b4"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__padscore__kpad.html#ga94592ff4811fb9b3b7ec2f4f75cda9b4">KPADRead</a> (<a class="el" href="group__padscore__kpad.html#ga8df093af89d553d541fd99d8c61d2442">KPADChan</a> chan, <a class="el" href="group__padscore__kpad.html#structKPADStatus">KPADStatus</a> *data, uint32_t size)</td></tr>
<tr class="separator:ga94592ff4811fb9b3b7ec2f4f75cda9b4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga038556150e03e5ba9bae3aa4a554acf7"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__padscore__kpad.html#ga038556150e03e5ba9bae3aa4a554acf7">KPADReadEx</a> (<a class="el" href="group__padscore__kpad.html#ga8df093af89d553d541fd99d8c61d2442">KPADChan</a> chan, <a class="el" href="group__padscore__kpad.html#structKPADStatus">KPADStatus</a> *data, uint32_t size, int32_t *error)</td></tr>
<tr class="separator:ga038556150e03e5ba9bae3aa4a554acf7"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<hr/><h2 class="groupheader">Data Structure Documentation</h2>
<a name="structKPADVec2D" id="structKPADVec2D"></a>
<h2 class="memtitle"><span class="permalink"><a href="#structKPADVec2D">&#9670;&nbsp;</a></span>KPADVec2D</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">struct KPADVec2D</td>
</tr>
</table>
</div><div class="memdoc">
<div class="textblock">
<p class="definition">Definition at line <a class="el" href="kpad_8h_source.html#l00026">26</a> of file <a class="el" href="kpad_8h_source.html">kpad.h</a>.</p>
</div><table class="fieldtable">
<tr><th colspan="3">Data Fields</th></tr>
<tr><td class="fieldtype">
<a id="ad0da36b2558901e21e7a30f6c227a45e"></a>float</td>
<td class="fieldname">
x</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="aa4f0d3eebc3c443f9be81bf48561a217"></a>float</td>
<td class="fieldname">
y</td>
<td class="fielddoc">
</td></tr>
</table>
</div>
</div>
<a name="structKPADStatus" id="structKPADStatus"></a>
<h2 class="memtitle"><span class="permalink"><a href="#structKPADStatus">&#9670;&nbsp;</a></span>KPADStatus</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">struct KPADStatus</td>
</tr>
</table>
</div><div class="memdoc">
<div class="textblock">
<p class="definition">Definition at line <a class="el" href="kpad_8h_source.html#l00035">35</a> of file <a class="el" href="kpad_8h_source.html">kpad.h</a>.</p>
</div><table class="fieldtable">
<tr><th colspan="3">Data Fields</th></tr>
<tr><td class="fieldtype">
<a id="a640685c2285e7b8a348fff1e0332d0bf"></a>uint32_t</td>
<td class="fieldname">
hold</td>
<td class="fielddoc">
Indicates what KPADButtons are held down. </td></tr>
<tr><td class="fieldtype">
<a id="acd87cb9526a15b75a88488a2fb33b322"></a>uint32_t</td>
<td class="fieldname">
trigger</td>
<td class="fielddoc">
Indicates what KPADButtons have been pressed since last sample. </td></tr>
<tr><td class="fieldtype">
<a id="aa892f9b747303e5e8a7d81d08f2fff7c"></a>uint32_t</td>
<td class="fieldname">
release</td>
<td class="fielddoc">
Indicates what KPADButtons have been released since last sample. </td></tr>
<tr><td class="fieldtype">
<a id="afe21caa642c86850fe79ed98bb39d712"></a><a class="el" href="group__padscore__kpad.html#structKPADVec2D">KPADVec2D</a></td>
<td class="fieldname">
pos</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="a7519e52603597f1ac4ee8eea1ae8425d"></a><a class="el" href="group__padscore__kpad.html#structKPADVec2D">KPADVec2D</a></td>
<td class="fieldname">
angle</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="a05c631f3036f4e8dfafb19246eed7db8"></a>uint8_t</td>
<td class="fieldname">
extensionType</td>
<td class="fielddoc">
Value from KPADExtensionType. </td></tr>
<tr><td class="fieldtype">
<a id="abb80db0ecee8b18b2e2d87732b3a6387"></a>int8_t</td>
<td class="fieldname">
error</td>
<td class="fielddoc">
Value from KPADError. </td></tr>
<tr><td class="fieldtype">
<a id="a96f430bba792b649157ec13502afdcc9"></a>uint8_t</td>
<td class="fieldname">
posValid</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="a7864fd50d470f893524181b4a59d9828"></a>uint8_t</td>
<td class="fieldname">
format</td>
<td class="fielddoc">
Value from KPADDataFormat. </td></tr>
<tr><td class="fieldtype">
<a id="a7ce9a69c99ad1563e95fcac3b296a4f9"></a>union <a class="el" href="group__padscore__kpad.html#unionKPADStatus_8____unnamed____">KPADStatus</a></td>
<td class="fieldname">
__unnamed__</td>
<td class="fielddoc">
</td></tr>
</table>
</div>
</div>
<a name="unionKPADStatus_8____unnamed____" id="unionKPADStatus_8____unnamed____"></a>
<h2 class="memtitle"><span class="permalink"><a href="#unionKPADStatus_8____unnamed____">&#9670;&nbsp;</a></span>KPADStatus.__unnamed__</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">union KPADStatus.__unnamed__</td>
</tr>
</table>
</div><div class="memdoc">
<div class="textblock">
<p class="definition">Definition at line <a class="el" href="kpad_8h_source.html#l00068">68</a> of file <a class="el" href="kpad_8h_source.html">kpad.h</a>.</p>
</div><table class="fieldtable">
<tr><th colspan="3">Data Fields</th></tr>
<tr><td class="fieldtype">
<a id="ab2484d2c016c550b3ccb2efdc2d16f05"></a><a class="el" href="group__padscore__kpad.html#structKPADStatus_8____unnamed_____8nunchuck">__unnamed__</a></td>
<td class="fieldname">
nunchuck</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="af3d64714d1f6e7f71558d4252e84ab58"></a><a class="el" href="group__padscore__kpad.html#structKPADStatus_8____unnamed_____8classic">__unnamed__</a></td>
<td class="fieldname">
classic</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="a1f0f70bf2b5ad94c7387e64c16dc455a"></a><a class="el" href="group__padscore__kpad.html#structKPADStatus_8____unnamed_____8pro">__unnamed__</a></td>
<td class="fieldname">
pro</td>
<td class="fielddoc">
</td></tr>
</table>
</div>
</div>
<a name="structKPADStatus_8____unnamed_____8nunchuck" id="structKPADStatus_8____unnamed_____8nunchuck"></a>
<h2 class="memtitle"><span class="permalink"><a href="#structKPADStatus_8____unnamed_____8nunchuck">&#9670;&nbsp;</a></span>KPADStatus.__unnamed__.nunchuck</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">struct KPADStatus.__unnamed__.nunchuck</td>
</tr>
</table>
</div><div class="memdoc">
<div class="textblock">
<p class="definition">Definition at line <a class="el" href="kpad_8h_source.html#l00071">71</a> of file <a class="el" href="kpad_8h_source.html">kpad.h</a>.</p>
</div><table class="fieldtable">
<tr><th colspan="3">Data Fields</th></tr>
<tr><td class="fieldtype">
<a id="a37f8bf33853e0a8c55c5fd2a26f9ffc0"></a><a class="el" href="group__padscore__kpad.html#structKPADVec2D">KPADVec2D</a></td>
<td class="fieldname">
stick</td>
<td class="fielddoc">
</td></tr>
</table>
</div>
</div>
<a name="structKPADStatus_8____unnamed_____8classic" id="structKPADStatus_8____unnamed_____8classic"></a>
<h2 class="memtitle"><span class="permalink"><a href="#structKPADStatus_8____unnamed_____8classic">&#9670;&nbsp;</a></span>KPADStatus.__unnamed__.classic</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">struct KPADStatus.__unnamed__.classic</td>
</tr>
</table>
</div><div class="memdoc">
<div class="textblock">
<p class="definition">Definition at line <a class="el" href="kpad_8h_source.html#l00077">77</a> of file <a class="el" href="kpad_8h_source.html">kpad.h</a>.</p>
</div><table class="fieldtable">
<tr><th colspan="3">Data Fields</th></tr>
<tr><td class="fieldtype">
<a id="aaf1d8213f4a22b0f9803fec9259ff7a8"></a>uint32_t</td>
<td class="fieldname">
hold</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="ac7d08e09a44d2b453e7eeecebf0a8daf"></a>uint32_t</td>
<td class="fieldname">
trigger</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="a123fead50246387983ee340507115ef4"></a>uint32_t</td>
<td class="fieldname">
release</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="a343f174ab29aa5b252231fa9bf88d2eb"></a><a class="el" href="group__padscore__kpad.html#structKPADVec2D">KPADVec2D</a></td>
<td class="fieldname">
leftStick</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="a7c8298b3f1e6c45b75a276fbc54650ce"></a><a class="el" href="group__padscore__kpad.html#structKPADVec2D">KPADVec2D</a></td>
<td class="fieldname">
rightStick</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="ac843b67df863b66eaabe63e698ad0304"></a>float</td>
<td class="fieldname">
leftTrigger</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="afe8de8812758de942af9ab1c71cc3c2a"></a>float</td>
<td class="fieldname">
rightTrigger</td>
<td class="fielddoc">
</td></tr>
</table>
</div>
</div>
<a name="structKPADStatus_8____unnamed_____8pro" id="structKPADStatus_8____unnamed_____8pro"></a>
<h2 class="memtitle"><span class="permalink"><a href="#structKPADStatus_8____unnamed_____8pro">&#9670;&nbsp;</a></span>KPADStatus.__unnamed__.pro</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">struct KPADStatus.__unnamed__.pro</td>
</tr>
</table>
</div><div class="memdoc">
<div class="textblock">
<p class="definition">Definition at line <a class="el" href="kpad_8h_source.html#l00089">89</a> of file <a class="el" href="kpad_8h_source.html">kpad.h</a>.</p>
</div><table class="fieldtable">
<tr><th colspan="3">Data Fields</th></tr>
<tr><td class="fieldtype">
<a id="aaf1d8213f4a22b0f9803fec9259ff7a8"></a>uint32_t</td>
<td class="fieldname">
hold</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="ac7d08e09a44d2b453e7eeecebf0a8daf"></a>uint32_t</td>
<td class="fieldname">
trigger</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="a123fead50246387983ee340507115ef4"></a>uint32_t</td>
<td class="fieldname">
release</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="a343f174ab29aa5b252231fa9bf88d2eb"></a><a class="el" href="group__padscore__kpad.html#structKPADVec2D">KPADVec2D</a></td>
<td class="fieldname">
leftStick</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="a7c8298b3f1e6c45b75a276fbc54650ce"></a><a class="el" href="group__padscore__kpad.html#structKPADVec2D">KPADVec2D</a></td>
<td class="fieldname">
rightStick</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="a05a0c26d8e746429c786c8e53378b9c9"></a>int32_t</td>
<td class="fieldname">
charging</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="a62358c80eaea78aaec5c917fd176bfa3"></a>int32_t</td>
<td class="fieldname">
wired</td>
<td class="fielddoc">
</td></tr>
</table>
</div>
</div>
<h2 class="groupheader">Typedef Documentation</h2>
<a id="ga8df093af89d553d541fd99d8c61d2442"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga8df093af89d553d541fd99d8c61d2442">&#9670;&nbsp;</a></span>KPADChan</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef enum <a class="el" href="group__padscore__wpad.html#ga3d9addfad689c9015cdc4243473df107">WPADChan</a> <a class="el" href="group__padscore__kpad.html#ga8df093af89d553d541fd99d8c61d2442">KPADChan</a></td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="kpad_8h_source.html#l00014">14</a> of file <a class="el" href="kpad_8h_source.html">kpad.h</a>.</p>
</div>
</div>
<a id="ga30fd569aa5adf56075edc9e971d35bad"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga30fd569aa5adf56075edc9e971d35bad">&#9670;&nbsp;</a></span>KPADDataFormat</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef enum <a class="el" href="group__padscore__wpad.html#ga2db2238f03b51e7ea465f48397ec4900">WPADDataFormat</a> <a class="el" href="group__padscore__kpad.html#ga30fd569aa5adf56075edc9e971d35bad">KPADDataFormat</a></td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="kpad_8h_source.html#l00015">15</a> of file <a class="el" href="kpad_8h_source.html">kpad.h</a>.</p>
</div>
</div>
<a id="ga2f5ef07b36039e79a2ea8d00e8453eb0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga2f5ef07b36039e79a2ea8d00e8453eb0">&#9670;&nbsp;</a></span>KPADExtensionType</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef enum <a class="el" href="group__padscore__wpad.html#gaabe6fcb6ae154b867c0ed874728099f3">WPADExtensionType</a> <a class="el" href="group__padscore__kpad.html#ga2f5ef07b36039e79a2ea8d00e8453eb0">KPADExtensionType</a></td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="kpad_8h_source.html#l00016">16</a> of file <a class="el" href="kpad_8h_source.html">kpad.h</a>.</p>
</div>
</div>
<a id="ga188dbbdbbe19e39ce3c1b7ae6c76c544"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga188dbbdbbe19e39ce3c1b7ae6c76c544">&#9670;&nbsp;</a></span>KPADStatus</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef struct <a class="el" href="group__padscore__kpad.html#structKPADStatus">KPADStatus</a> <a class="el" href="group__padscore__kpad.html#structKPADStatus">KPADStatus</a></td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="kpad_8h_source.html#l00018">18</a> of file <a class="el" href="kpad_8h_source.html">kpad.h</a>.</p>
</div>
</div>
<a id="gad7557ca2a5e0f9d90f0ae4c0a498bcb8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gad7557ca2a5e0f9d90f0ae4c0a498bcb8">&#9670;&nbsp;</a></span>KPADVec2D</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef struct <a class="el" href="group__padscore__kpad.html#structKPADVec2D">KPADVec2D</a> <a class="el" href="group__padscore__kpad.html#structKPADVec2D">KPADVec2D</a></td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="kpad_8h_source.html#l00019">19</a> of file <a class="el" href="kpad_8h_source.html">kpad.h</a>.</p>
</div>
</div>
<a id="gabb1a5a26c73e63881f1e74f7fcd792d3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gabb1a5a26c73e63881f1e74f7fcd792d3">&#9670;&nbsp;</a></span>KPADError</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef enum <a class="el" href="group__padscore__kpad.html#ga24f9946812e70c194e190b6880d030cc">KPADError</a> <a class="el" href="group__padscore__kpad.html#ga24f9946812e70c194e190b6880d030cc">KPADError</a></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<h2 class="groupheader">Enumeration Type Documentation</h2>
<a id="ga24f9946812e70c194e190b6880d030cc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga24f9946812e70c194e190b6880d030cc">&#9670;&nbsp;</a></span>KPADError</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">enum <a class="el" href="group__padscore__kpad.html#ga24f9946812e70c194e190b6880d030cc">KPADError</a></td>
</tr>
</table>
</div><div class="memdoc">
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="gga24f9946812e70c194e190b6880d030cca2ae8a84907754a877720861d2816aa63"></a>KPAD_ERROR_OK&#160;</td><td class="fielddoc"></td></tr>
</table>
<p class="definition">Definition at line <a class="el" href="kpad_8h_source.html#l00021">21</a> of file <a class="el" href="kpad_8h_source.html">kpad.h</a>.</p>
</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a id="ga59dd0b75518d16750f94e43a89378669"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga59dd0b75518d16750f94e43a89378669">&#9670;&nbsp;</a></span>KPADInit()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void KPADInit </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="ga94592ff4811fb9b3b7ec2f4f75cda9b4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga94592ff4811fb9b3b7ec2f4f75cda9b4">&#9670;&nbsp;</a></span>KPADRead()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int32_t KPADRead </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group__padscore__kpad.html#ga8df093af89d553d541fd99d8c61d2442">KPADChan</a>&#160;</td>
<td class="paramname"><em>chan</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group__padscore__kpad.html#structKPADStatus">KPADStatus</a> *&#160;</td>
<td class="paramname"><em>data</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint32_t&#160;</td>
<td class="paramname"><em>size</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="ga038556150e03e5ba9bae3aa4a554acf7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga038556150e03e5ba9bae3aa4a554acf7">&#9670;&nbsp;</a></span>KPADReadEx()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int32_t KPADReadEx </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group__padscore__kpad.html#ga8df093af89d553d541fd99d8c61d2442">KPADChan</a>&#160;</td>
<td class="paramname"><em>chan</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group__padscore__kpad.html#structKPADStatus">KPADStatus</a> *&#160;</td>
<td class="paramname"><em>data</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint32_t&#160;</td>
<td class="paramname"><em>size</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int32_t *&#160;</td>
<td class="paramname"><em>error</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.17
</small></address>
</body>
</html>