USB_Host_Shield_2.0/class_p_s4_b_t.html

473 lines
44 KiB
HTML
Raw Normal View History

2014-01-10 18:20:37 +01:00
<!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"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
2014-01-10 18:20:37 +01:00
<title>USB Host Shield 2.0: PS4BT Class Reference</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>
2014-01-10 18:20:37 +01:00
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="imageStyle.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;">
2014-01-10 18:20:37 +01:00
<div id="projectname">USB Host Shield 2.0
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
2014-01-10 18:20:37 +01:00
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
2014-01-10 18:20:37 +01:00
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
2014-01-10 18:20:37 +01:00
<!-- 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><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="class_p_s4_b_t-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">PS4BT Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p><code>#include &lt;<a class="el" href="_p_s4_b_t_8h_source.html">PS4BT.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for PS4BT:</div>
<div class="dyncontent">
<div class="center"><img src="class_p_s4_b_t__inherit__graph.png" border="0" usemap="#_p_s4_b_t_inherit__map" alt="Inheritance graph"/></div>
<map name="_p_s4_b_t_inherit__map" id="_p_s4_b_t_inherit__map">
<area shape="rect" id="node2" href="class_b_t_h_i_d.html" title="BTHID" alt="" coords="35,80,97,107"/>
<area shape="rect" id="node3" href="class_bluetooth_service.html" title="BluetoothService" alt="" coords="5,5,127,32"/>
<area shape="rect" id="node4" href="class_p_s4_parser.html" title="PS4Parser" alt="" coords="122,80,207,107"/>
</map>
2014-01-10 18:20:37 +01:00
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<div class="dynheader">
Collaboration diagram for PS4BT:</div>
<div class="dyncontent">
<div class="center"><img src="class_p_s4_b_t__coll__graph.png" border="0" usemap="#_p_s4_b_t_coll__map" alt="Collaboration graph"/></div>
<map name="_p_s4_b_t_coll__map" id="_p_s4_b_t_coll__map">
<area shape="rect" id="node2" href="class_b_t_h_i_d.html" title="BTHID" alt="" coords="233,336,296,363"/>
<area shape="rect" id="node3" href="class_bluetooth_service.html" title="BluetoothService" alt="" coords="204,260,325,287"/>
<area shape="rect" id="node4" href="class_b_t_d.html" title="BTD" alt="" coords="240,171,289,197"/>
<area shape="rect" id="node5" href="class_u_s_b_device_config.html" title="USBDeviceConfig" alt="" coords="5,81,135,108"/>
<area shape="rect" id="node6" href="class_usb_config_xtracter.html" title="UsbConfigXtracter" alt="" coords="159,81,290,108"/>
<area shape="rect" id="node7" href="class_u_s_b.html" title="USB" alt="" coords="314,81,365,108"/>
<area shape="rect" id="node8" href="class_m_a_x3421e.html" title="MAX3421E" alt="" coords="295,5,383,32"/>
<area shape="rect" id="node9" href="struct_ep_info.html" title="EpInfo" alt="" coords="389,81,449,108"/>
<area shape="rect" id="node10" href="class_p_s4_parser.html" title="PS4Parser" alt="" coords="321,336,406,363"/>
</map>
2014-01-10 18:20:37 +01:00
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
2014-01-19 17:17:06 +01:00
<tr class="memitem:a616d5167f795b14c5955910807b5024b"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_s4_b_t.html#a616d5167f795b14c5955910807b5024b">PS4BT</a> (<a class="el" href="class_b_t_d.html">BTD</a> *p, bool <a class="el" href="class_b_t_h_i_d.html#afb19720b65cda69d910416c7a689dd45">pair</a>=false, const char *pin=&quot;0000&quot;)</td></tr>
<tr class="separator:a616d5167f795b14c5955910807b5024b"><td class="memSeparator" colspan="2">&#160;</td></tr>
2014-01-10 18:20:37 +01:00
<tr class="memitem:a08a857b8533e59f6eb872e4c8f727405"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_s4_b_t.html#a08a857b8533e59f6eb872e4c8f727405">connected</a> ()</td></tr>
<tr class="separator:a08a857b8533e59f6eb872e4c8f727405"><td class="memSeparator" colspan="2">&#160;</td></tr>
2014-01-19 17:17:06 +01:00
<tr class="inherit_header pub_methods_class_b_t_h_i_d"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_b_t_h_i_d')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="class_b_t_h_i_d.html">BTHID</a></td></tr>
<tr class="memitem:a5ee874513852b83d6a04b991ab892f54 inherit pub_methods_class_b_t_h_i_d"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_h_i_d.html#a5ee874513852b83d6a04b991ab892f54">BTHID</a> (<a class="el" href="class_b_t_d.html">BTD</a> *p, bool <a class="el" href="class_b_t_h_i_d.html#afb19720b65cda69d910416c7a689dd45">pair</a>=false, const char *pin=&quot;0000&quot;)</td></tr>
<tr class="separator:a5ee874513852b83d6a04b991ab892f54 inherit pub_methods_class_b_t_h_i_d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ade1924514bc9c9cd71f54a1f37529575 inherit pub_methods_class_b_t_h_i_d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_h_i_d_report_parser.html">HIDReportParser</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_h_i_d.html#ade1924514bc9c9cd71f54a1f37529575">GetReportParser</a> (uint8_t id)</td></tr>
<tr class="separator:ade1924514bc9c9cd71f54a1f37529575 inherit pub_methods_class_b_t_h_i_d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0e903f0b5040f3561e5de6c4431027b1 inherit pub_methods_class_b_t_h_i_d"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_h_i_d.html#a0e903f0b5040f3561e5de6c4431027b1">SetReportParser</a> (uint8_t id, <a class="el" href="class_h_i_d_report_parser.html">HIDReportParser</a> *prs)</td></tr>
<tr class="separator:a0e903f0b5040f3561e5de6c4431027b1 inherit pub_methods_class_b_t_h_i_d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afceaafc89581441da40b141170b98595 inherit pub_methods_class_b_t_h_i_d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_h_i_d.html#afceaafc89581441da40b141170b98595">setProtocolMode</a> (uint8_t mode)</td></tr>
<tr class="separator:afceaafc89581441da40b141170b98595 inherit pub_methods_class_b_t_h_i_d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afb19720b65cda69d910416c7a689dd45 inherit pub_methods_class_b_t_h_i_d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_h_i_d.html#afb19720b65cda69d910416c7a689dd45">pair</a> (void)</td></tr>
<tr class="separator:afb19720b65cda69d910416c7a689dd45 inherit pub_methods_class_b_t_h_i_d"><td class="memSeparator" colspan="2">&#160;</td></tr>
2016-04-19 18:16:46 +02:00
<tr class="memitem:adbe1ef647fe57bfeaf72ce86cddb8357 inherit pub_methods_class_b_t_h_i_d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_h_i_d.html#adbe1ef647fe57bfeaf72ce86cddb8357">setLeds</a> (struct <a class="el" href="struct_k_b_d_l_e_d_s.html">KBDLEDS</a> data)</td></tr>
<tr class="separator:adbe1ef647fe57bfeaf72ce86cddb8357 inherit pub_methods_class_b_t_h_i_d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae222e33ac617620c4cab5c1b23b89310 inherit pub_methods_class_b_t_h_i_d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_h_i_d.html#ae222e33ac617620c4cab5c1b23b89310">setLeds</a> (uint8_t data)</td></tr>
<tr class="separator:ae222e33ac617620c4cab5c1b23b89310 inherit pub_methods_class_b_t_h_i_d"><td class="memSeparator" colspan="2">&#160;</td></tr>
2015-04-07 16:07:33 +02:00
<tr class="memitem:ae1ee62d7b9951ec7960f122c9fc2d2d0 inherit pub_methods_class_b_t_h_i_d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_h_i_d.html#ae1ee62d7b9951ec7960f122c9fc2d2d0">disconnect</a> ()</td></tr>
2014-01-19 17:17:06 +01:00
<tr class="separator:ae1ee62d7b9951ec7960f122c9fc2d2d0 inherit pub_methods_class_b_t_h_i_d"><td class="memSeparator" colspan="2">&#160;</td></tr>
2015-04-07 16:07:33 +02:00
<tr class="inherit_header pub_methods_class_bluetooth_service"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_bluetooth_service')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="class_bluetooth_service.html">BluetoothService</a></td></tr>
<tr class="memitem:a410c7df1e49328de23a89921c89f9573 inherit pub_methods_class_bluetooth_service"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_bluetooth_service.html#a410c7df1e49328de23a89921c89f9573">BluetoothService</a> (<a class="el" href="class_b_t_d.html">BTD</a> *p)</td></tr>
<tr class="separator:a410c7df1e49328de23a89921c89f9573 inherit pub_methods_class_bluetooth_service"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a488e219cf0a90d39e643615b1f12e91f inherit pub_methods_class_bluetooth_service"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_bluetooth_service.html#a488e219cf0a90d39e643615b1f12e91f">attachOnInit</a> (void(*funcOnInit)(void))</td></tr>
<tr class="separator:a488e219cf0a90d39e643615b1f12e91f inherit pub_methods_class_bluetooth_service"><td class="memSeparator" colspan="2">&#160;</td></tr>
2014-01-19 17:17:06 +01:00
<tr class="inherit_header pub_methods_class_p_s4_parser"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_p_s4_parser')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="class_p_s4_parser.html">PS4Parser</a></td></tr>
<tr class="memitem:a3ef06f8737f1088dbdbbc351b576c1cf inherit pub_methods_class_p_s4_parser"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_s4_parser.html#a3ef06f8737f1088dbdbbc351b576c1cf">PS4Parser</a> ()</td></tr>
<tr class="separator:a3ef06f8737f1088dbdbbc351b576c1cf inherit pub_methods_class_p_s4_parser"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad352f30e4ab772246574bbf654248906 inherit pub_methods_class_p_s4_parser"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_s4_parser.html#ad352f30e4ab772246574bbf654248906">getButtonPress</a> (<a class="el" href="controller_enums_8h.html#a94f7389d205c78830a5441370d7870fd">ButtonEnum</a> b)</td></tr>
<tr class="separator:ad352f30e4ab772246574bbf654248906 inherit pub_methods_class_p_s4_parser"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a92a4ea3d328426b9f86be05cabaad91c inherit pub_methods_class_p_s4_parser"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_s4_parser.html#a92a4ea3d328426b9f86be05cabaad91c">getButtonClick</a> (<a class="el" href="controller_enums_8h.html#a94f7389d205c78830a5441370d7870fd">ButtonEnum</a> b)</td></tr>
<tr class="separator:a92a4ea3d328426b9f86be05cabaad91c inherit pub_methods_class_p_s4_parser"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a66151c4e4601f80492cd5b2451a2f87a inherit pub_methods_class_p_s4_parser"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_s4_parser.html#a66151c4e4601f80492cd5b2451a2f87a">getAnalogButton</a> (<a class="el" href="controller_enums_8h.html#a94f7389d205c78830a5441370d7870fd">ButtonEnum</a> b)</td></tr>
<tr class="separator:a66151c4e4601f80492cd5b2451a2f87a inherit pub_methods_class_p_s4_parser"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9b11c5b27f9c9501fdb4f616cb3b194c inherit pub_methods_class_p_s4_parser"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_s4_parser.html#a9b11c5b27f9c9501fdb4f616cb3b194c">getAnalogHat</a> (<a class="el" href="controller_enums_8h.html#a34dad8f0a0927471137c403216597093">AnalogHatEnum</a> a)</td></tr>
<tr class="separator:a9b11c5b27f9c9501fdb4f616cb3b194c inherit pub_methods_class_p_s4_parser"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa149326d97c6231087f81d954a994493 inherit pub_methods_class_p_s4_parser"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_s4_parser.html#aa149326d97c6231087f81d954a994493">getX</a> (uint8_t finger=0, uint8_t xyId=0)</td></tr>
<tr class="separator:aa149326d97c6231087f81d954a994493 inherit pub_methods_class_p_s4_parser"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9972eeb87f2ed4a96dcdccf2dabbbc5a inherit pub_methods_class_p_s4_parser"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_s4_parser.html#a9972eeb87f2ed4a96dcdccf2dabbbc5a">getY</a> (uint8_t finger=0, uint8_t xyId=0)</td></tr>
<tr class="separator:a9972eeb87f2ed4a96dcdccf2dabbbc5a inherit pub_methods_class_p_s4_parser"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6770a72c17062c2e00fb3602435fcade inherit pub_methods_class_p_s4_parser"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_s4_parser.html#a6770a72c17062c2e00fb3602435fcade">isTouching</a> (uint8_t finger=0, uint8_t xyId=0)</td></tr>
<tr class="separator:a6770a72c17062c2e00fb3602435fcade inherit pub_methods_class_p_s4_parser"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0b3de008ae8aaa057c571081b1b64e88 inherit pub_methods_class_p_s4_parser"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_s4_parser.html#a0b3de008ae8aaa057c571081b1b64e88">getTouchCounter</a> (uint8_t finger=0, uint8_t xyId=0)</td></tr>
<tr class="separator:a0b3de008ae8aaa057c571081b1b64e88 inherit pub_methods_class_p_s4_parser"><td class="memSeparator" colspan="2">&#160;</td></tr>
2016-04-19 18:16:46 +02:00
<tr class="memitem:af2f1a54f9127ff4bd4864de46fe83cf2 inherit pub_methods_class_p_s4_parser"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_s4_parser.html#af2f1a54f9127ff4bd4864de46fe83cf2">getAngle</a> (<a class="el" href="controller_enums_8h.html#a7c7824a10a9ffa8fea85602fcf4d84e6">AngleEnum</a> a)</td></tr>
<tr class="separator:af2f1a54f9127ff4bd4864de46fe83cf2 inherit pub_methods_class_p_s4_parser"><td class="memSeparator" colspan="2">&#160;</td></tr>
2014-01-19 17:17:06 +01:00
<tr class="memitem:a2b06200adee0c8ed616c4d18c23a584a inherit pub_methods_class_p_s4_parser"><td class="memItemLeft" align="right" valign="top">int16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_s4_parser.html#a2b06200adee0c8ed616c4d18c23a584a">getSensor</a> (<a class="el" href="controller_enums_8h.html#a00d5030559c481763282483889597d51">SensorEnum</a> s)</td></tr>
<tr class="separator:a2b06200adee0c8ed616c4d18c23a584a inherit pub_methods_class_p_s4_parser"><td class="memSeparator" colspan="2">&#160;</td></tr>
2014-06-09 17:02:31 +02:00
<tr class="memitem:a9923c62cace760f3091ec1491ea966e0 inherit pub_methods_class_p_s4_parser"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_s4_parser.html#a9923c62cace760f3091ec1491ea966e0">getBatteryLevel</a> ()</td></tr>
<tr class="separator:a9923c62cace760f3091ec1491ea966e0 inherit pub_methods_class_p_s4_parser"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac5eb7f8b6059fdf3b406244d8ebe4000 inherit pub_methods_class_p_s4_parser"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_s4_parser.html#ac5eb7f8b6059fdf3b406244d8ebe4000">getUsbStatus</a> ()</td></tr>
<tr class="separator:ac5eb7f8b6059fdf3b406244d8ebe4000 inherit pub_methods_class_p_s4_parser"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af168e2800954b75dd167560e47d13bbe inherit pub_methods_class_p_s4_parser"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_s4_parser.html#af168e2800954b75dd167560e47d13bbe">getAudioStatus</a> ()</td></tr>
<tr class="separator:af168e2800954b75dd167560e47d13bbe inherit pub_methods_class_p_s4_parser"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad032eb66359df0d6fb15e9a3cabdaece inherit pub_methods_class_p_s4_parser"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_s4_parser.html#ad032eb66359df0d6fb15e9a3cabdaece">getMicStatus</a> ()</td></tr>
<tr class="separator:ad032eb66359df0d6fb15e9a3cabdaece inherit pub_methods_class_p_s4_parser"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adf2b7f2888fb7ebc9c58595a85568d65 inherit pub_methods_class_p_s4_parser"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_s4_parser.html#adf2b7f2888fb7ebc9c58595a85568d65">setAllOff</a> ()</td></tr>
<tr class="separator:adf2b7f2888fb7ebc9c58595a85568d65 inherit pub_methods_class_p_s4_parser"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acc9b3be8fb673e8e1f637c56d72f1180 inherit pub_methods_class_p_s4_parser"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_s4_parser.html#acc9b3be8fb673e8e1f637c56d72f1180">setRumbleOff</a> ()</td></tr>
<tr class="separator:acc9b3be8fb673e8e1f637c56d72f1180 inherit pub_methods_class_p_s4_parser"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a44628a8521ef9c19d773347156962cab inherit pub_methods_class_p_s4_parser"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_s4_parser.html#a44628a8521ef9c19d773347156962cab">setRumbleOn</a> (<a class="el" href="controller_enums_8h.html#ab195293384292950ebc2166bfe360fd1">RumbleEnum</a> mode)</td></tr>
<tr class="separator:a44628a8521ef9c19d773347156962cab inherit pub_methods_class_p_s4_parser"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8299bdbb9d790e6b2e98e942e9bd154e inherit pub_methods_class_p_s4_parser"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_s4_parser.html#a8299bdbb9d790e6b2e98e942e9bd154e">setRumbleOn</a> (uint8_t bigRumble, uint8_t smallRumble)</td></tr>
<tr class="separator:a8299bdbb9d790e6b2e98e942e9bd154e inherit pub_methods_class_p_s4_parser"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a820f1caf266224d1c1bb83b550ef4c97 inherit pub_methods_class_p_s4_parser"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_s4_parser.html#a820f1caf266224d1c1bb83b550ef4c97">setLedOff</a> ()</td></tr>
<tr class="separator:a820f1caf266224d1c1bb83b550ef4c97 inherit pub_methods_class_p_s4_parser"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3f709524b0303086591d81bd238e62e8 inherit pub_methods_class_p_s4_parser"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_s4_parser.html#a3f709524b0303086591d81bd238e62e8">setLed</a> (uint8_t r, uint8_t g, uint8_t b)</td></tr>
<tr class="separator:a3f709524b0303086591d81bd238e62e8 inherit pub_methods_class_p_s4_parser"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a58e7a4746ee4e1fc5ceea44f64ffc3f2 inherit pub_methods_class_p_s4_parser"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_s4_parser.html#a58e7a4746ee4e1fc5ceea44f64ffc3f2">setLed</a> (<a class="el" href="controller_enums_8h.html#aac6fa7b0395b95cc528deaad0ce884a2">ColorsEnum</a> color)</td></tr>
<tr class="separator:a58e7a4746ee4e1fc5ceea44f64ffc3f2 inherit pub_methods_class_p_s4_parser"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a26342dea530bf09e2ac8df847c1874fc inherit pub_methods_class_p_s4_parser"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_s4_parser.html#a26342dea530bf09e2ac8df847c1874fc">setLedFlash</a> (uint8_t flashOn, uint8_t flashOff)</td></tr>
<tr class="separator:a26342dea530bf09e2ac8df847c1874fc inherit pub_methods_class_p_s4_parser"><td class="memSeparator" colspan="2">&#160;</td></tr>
2014-01-19 17:17:06 +01:00
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr><td colspan="2"><div class="groupHeader">BTHID implementation</div></td></tr>
2014-06-09 17:02:31 +02:00
<tr class="memitem:a0d92689d0c24e62ddc7a1b3c4c658512"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_s4_b_t.html#a0d92689d0c24e62ddc7a1b3c4c658512">ParseBTHIDData</a> (uint8_t len, uint8_t *buf)</td></tr>
<tr class="separator:a0d92689d0c24e62ddc7a1b3c4c658512"><td class="memSeparator" colspan="2">&#160;</td></tr>
2014-01-19 17:17:06 +01:00
<tr class="memitem:a91088a6ed093d3cebb82d8f5e208304b"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_s4_b_t.html#a91088a6ed093d3cebb82d8f5e208304b">OnInitBTHID</a> ()</td></tr>
<tr class="separator:a91088a6ed093d3cebb82d8f5e208304b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4b1c9e15ccdc7ab24f7fb42fc9b5d827"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_s4_b_t.html#a4b1c9e15ccdc7ab24f7fb42fc9b5d827">ResetBTHID</a> ()</td></tr>
<tr class="separator:a4b1c9e15ccdc7ab24f7fb42fc9b5d827"><td class="memSeparator" colspan="2">&#160;</td></tr>
2014-06-09 17:02:31 +02:00
<tr><td colspan="2"><div class="groupHeader">PS4Parser implementation</div></td></tr>
<tr class="memitem:ad3bb50902905677726bd62d5f394b062"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_s4_b_t.html#ad3bb50902905677726bd62d5f394b062">sendOutputReport</a> (<a class="el" href="struct_p_s4_output.html">PS4Output</a> *output)</td></tr>
<tr class="separator:ad3bb50902905677726bd62d5f394b062"><td class="memSeparator" colspan="2">&#160;</td></tr>
2015-04-07 16:07:33 +02:00
<tr class="inherit_header pro_methods_class_b_t_h_i_d"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_class_b_t_h_i_d')"><img src="closed.png" alt="-"/>&#160;Protected Member Functions inherited from <a class="el" href="class_b_t_h_i_d.html">BTHID</a></td></tr>
<tr class="memitem:ad8339ed58b8c19bb5bee1c8aaa4bb715 inherit pro_methods_class_b_t_h_i_d"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_h_i_d.html#ad8339ed58b8c19bb5bee1c8aaa4bb715">ParseBTHIDControlData</a> (uint8_t len, uint8_t *buf)</td></tr>
<tr class="separator:ad8339ed58b8c19bb5bee1c8aaa4bb715 inherit pro_methods_class_b_t_h_i_d"><td class="memSeparator" colspan="2">&#160;</td></tr>
2015-04-07 16:07:33 +02:00
<tr class="memitem:a84eb1b910027f2d78741f65225c14e54 inherit pro_methods_class_b_t_h_i_d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_h_i_d.html#a84eb1b910027f2d78741f65225c14e54">ACLData</a> (uint8_t *ACLData)</td></tr>
<tr class="separator:a84eb1b910027f2d78741f65225c14e54 inherit pro_methods_class_b_t_h_i_d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a938eab04e406a29cc9324dad3ccb52cc inherit pro_methods_class_b_t_h_i_d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_h_i_d.html#a938eab04e406a29cc9324dad3ccb52cc">Run</a> ()</td></tr>
<tr class="separator:a938eab04e406a29cc9324dad3ccb52cc inherit pro_methods_class_b_t_h_i_d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af4c58b81414a037910dd6fb78f97b96e inherit pro_methods_class_b_t_h_i_d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_h_i_d.html#af4c58b81414a037910dd6fb78f97b96e">Reset</a> ()</td></tr>
<tr class="separator:af4c58b81414a037910dd6fb78f97b96e inherit pro_methods_class_b_t_h_i_d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9c3d1a1c2420a7f7d6d9f8a75a4a5a88 inherit pro_methods_class_b_t_h_i_d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_h_i_d.html#a9c3d1a1c2420a7f7d6d9f8a75a4a5a88">onInit</a> ()</td></tr>
<tr class="separator:a9c3d1a1c2420a7f7d6d9f8a75a4a5a88 inherit pro_methods_class_b_t_h_i_d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_methods_class_bluetooth_service"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_class_bluetooth_service')"><img src="closed.png" alt="-"/>&#160;Protected Member Functions inherited from <a class="el" href="class_bluetooth_service.html">BluetoothService</a></td></tr>
<tr class="memitem:a2a3674a4bb5d409840995eabe07049bd inherit pro_methods_class_bluetooth_service"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_bluetooth_service.html#a2a3674a4bb5d409840995eabe07049bd">checkHciHandle</a> (uint8_t *buf, uint16_t handle)</td></tr>
<tr class="separator:a2a3674a4bb5d409840995eabe07049bd inherit pro_methods_class_bluetooth_service"><td class="memSeparator" colspan="2">&#160;</td></tr>
2014-01-19 17:17:06 +01:00
<tr class="inherit_header pro_methods_class_p_s4_parser"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_class_p_s4_parser')"><img src="closed.png" alt="-"/>&#160;Protected Member Functions inherited from <a class="el" href="class_p_s4_parser.html">PS4Parser</a></td></tr>
<tr class="memitem:a6498fdeb767364e84ce09ef208980622 inherit pro_methods_class_p_s4_parser"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_s4_parser.html#a6498fdeb767364e84ce09ef208980622">Parse</a> (uint8_t len, uint8_t *buf)</td></tr>
<tr class="separator:a6498fdeb767364e84ce09ef208980622 inherit pro_methods_class_p_s4_parser"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a24640b2362b0f6f51785fbd3dd4f13f9 inherit pro_methods_class_p_s4_parser"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_s4_parser.html#a24640b2362b0f6f51785fbd3dd4f13f9">Reset</a> ()</td></tr>
<tr class="separator:a24640b2362b0f6f51785fbd3dd4f13f9 inherit pro_methods_class_p_s4_parser"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pub_attribs_class_b_t_h_i_d"><td colspan="2" onclick="javascript:toggleInherit('pub_attribs_class_b_t_h_i_d')"><img src="closed.png" alt="-"/>&#160;Public Attributes inherited from <a class="el" href="class_b_t_h_i_d.html">BTHID</a></td></tr>
<tr class="memitem:ab3a81823a1d8805383146a6baad6ccc4 inherit pub_attribs_class_b_t_h_i_d"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_h_i_d.html#ab3a81823a1d8805383146a6baad6ccc4">connected</a></td></tr>
<tr class="separator:ab3a81823a1d8805383146a6baad6ccc4 inherit pub_attribs_class_b_t_h_i_d"><td class="memSeparator" colspan="2">&#160;</td></tr>
2014-06-09 17:02:31 +02:00
<tr class="inherit_header pro_attribs_class_b_t_h_i_d"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_class_b_t_h_i_d')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="class_b_t_h_i_d.html">BTHID</a></td></tr>
<tr class="memitem:acf6933a4988ed9f48c6e08cc7c9b906c inherit pro_attribs_class_b_t_h_i_d"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_h_i_d.html#acf6933a4988ed9f48c6e08cc7c9b906c">control_scid</a> [2]</td></tr>
<tr class="separator:acf6933a4988ed9f48c6e08cc7c9b906c inherit pro_attribs_class_b_t_h_i_d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a34a91f92ea32033403c2b37af92535dc inherit pro_attribs_class_b_t_h_i_d"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_h_i_d.html#a34a91f92ea32033403c2b37af92535dc">interrupt_scid</a> [2]</td></tr>
<tr class="separator:a34a91f92ea32033403c2b37af92535dc inherit pro_attribs_class_b_t_h_i_d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae239a164548e359b4deead55ed540962 inherit pro_attribs_class_b_t_h_i_d"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_h_i_d.html#ae239a164548e359b4deead55ed540962">l2cap_sdp_state</a></td></tr>
<tr class="separator:ae239a164548e359b4deead55ed540962 inherit pro_attribs_class_b_t_h_i_d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0446c8e266a111f007b48fa7895f36d7 inherit pro_attribs_class_b_t_h_i_d"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_h_i_d.html#a0446c8e266a111f007b48fa7895f36d7">sdp_scid</a> [2]</td></tr>
<tr class="separator:a0446c8e266a111f007b48fa7895f36d7 inherit pro_attribs_class_b_t_h_i_d"><td class="memSeparator" colspan="2">&#160;</td></tr>
2015-04-07 16:07:33 +02:00
<tr class="inherit_header pro_attribs_class_bluetooth_service"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_class_bluetooth_service')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="class_bluetooth_service.html">BluetoothService</a></td></tr>
<tr class="memitem:a321393d44ce59213fa1c7498c247d5ff inherit pro_attribs_class_bluetooth_service"><td class="memItemLeft" align="right" valign="top">void(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_bluetooth_service.html#a321393d44ce59213fa1c7498c247d5ff">pFuncOnInit</a> )(void)</td></tr>
<tr class="separator:a321393d44ce59213fa1c7498c247d5ff inherit pro_attribs_class_bluetooth_service"><td class="memSeparator" colspan="2">&#160;</td></tr>
2015-04-07 16:07:33 +02:00
<tr class="memitem:aa67faf901f78a55a202945a20f6d778a inherit pro_attribs_class_bluetooth_service"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_b_t_d.html">BTD</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_bluetooth_service.html#aa67faf901f78a55a202945a20f6d778a">pBtd</a></td></tr>
<tr class="separator:aa67faf901f78a55a202945a20f6d778a inherit pro_attribs_class_bluetooth_service"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a67b1db67c05d0bbdcd9c992135455437 inherit pro_attribs_class_bluetooth_service"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_bluetooth_service.html#a67b1db67c05d0bbdcd9c992135455437">hci_handle</a></td></tr>
<tr class="separator:a67b1db67c05d0bbdcd9c992135455437 inherit pro_attribs_class_bluetooth_service"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a78a1a893ec9c2db32e42bc2271c4a4f2 inherit pro_attribs_class_bluetooth_service"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_bluetooth_service.html#a78a1a893ec9c2db32e42bc2271c4a4f2">l2cap_event_flag</a></td></tr>
<tr class="separator:a78a1a893ec9c2db32e42bc2271c4a4f2 inherit pro_attribs_class_bluetooth_service"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad643db609c7e2e3fae8904dbc7991262 inherit pro_attribs_class_bluetooth_service"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_bluetooth_service.html#ad643db609c7e2e3fae8904dbc7991262">identifier</a></td></tr>
<tr class="separator:ad643db609c7e2e3fae8904dbc7991262 inherit pro_attribs_class_bluetooth_service"><td class="memSeparator" colspan="2">&#160;</td></tr>
2014-01-10 18:20:37 +01:00
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
2014-01-19 17:17:06 +01:00
<div class="textblock"><p>This class implements support for the PS4 controller via Bluetooth. It uses the <a class="el" href="class_b_t_h_i_d.html">BTHID</a> class for all the Bluetooth communication. </p>
2014-01-10 18:20:37 +01:00
<p class="definition">Definition at line <a class="el" href="_p_s4_b_t_8h_source.html#l00028">28</a> of file <a class="el" href="_p_s4_b_t_8h_source.html">PS4BT.h</a>.</p>
2014-01-10 18:20:37 +01:00
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a616d5167f795b14c5955910807b5024b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a616d5167f795b14c5955910807b5024b">&#9670;&nbsp;</a></span>PS4BT()</h2>
2014-01-10 18:20:37 +01:00
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">PS4BT::PS4BT </td>
<td>(</td>
2014-01-19 17:17:06 +01:00
<td class="paramtype"><a class="el" href="class_b_t_d.html">BTD</a> *&#160;</td>
<td class="paramname"><em>p</em>, </td>
2014-01-10 18:20:37 +01:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool&#160;</td>
2014-01-19 17:17:06 +01:00
<td class="paramname"><em>pair</em> = <code>false</code>, </td>
2014-01-10 18:20:37 +01:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2014-01-19 17:17:06 +01:00
<td class="paramtype">const char *&#160;</td>
<td class="paramname"><em>pin</em> = <code>&quot;0000&quot;</code>&#160;</td>
2014-01-10 18:20:37 +01:00
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
2014-01-19 17:17:06 +01:00
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
2014-01-10 18:20:37 +01:00
</tr>
</table>
</div><div class="memdoc">
<p>Constructor for the <a class="el" href="class_p_s4_b_t.html">PS4BT</a> class. </p><dl class="params"><dt>Parameters</dt><dd>
2014-01-10 18:20:37 +01:00
<table class="params">
2014-01-19 17:17:06 +01:00
<tr><td class="paramname">p</td><td>Pointer to the <a class="el" href="class_b_t_d.html">BTD</a> class instance. </td></tr>
<tr><td class="paramname">pair</td><td>Set this to true in order to pair with the device. If the argument is omitted then it will not pair with it. One can use <a class="el" href="_b_t_d_8h.html#a8f0b5b0dedaf5c25c4887f03ebfdd425">PAIR</a> to set it to true. </td></tr>
<tr><td class="paramname">pin</td><td>Write the pin to <a class="el" href="class_b_t_d.html#a215cb939c01ed3ff56db37841224546c">BTD::btdPin</a>. If argument is omitted, then "0000" will be used. </td></tr>
2014-01-10 18:20:37 +01:00
</table>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="_p_s4_b_t_8h_source.html#l00036">36</a> of file <a class="el" href="_p_s4_b_t_8h_source.html">PS4BT.h</a>.</p>
2014-01-10 18:20:37 +01:00
</div>
</div>
2014-01-19 17:17:06 +01:00
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a08a857b8533e59f6eb872e4c8f727405"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a08a857b8533e59f6eb872e4c8f727405">&#9670;&nbsp;</a></span>connected()</h2>
2014-01-10 18:20:37 +01:00
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool PS4BT::connected </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Used to check if a PS4 controller is connected. </p><dl class="section return"><dt>Returns</dt><dd>Returns true if it is connected. </dd></dl>
2014-01-10 18:20:37 +01:00
<p class="definition">Definition at line <a class="el" href="_p_s4_b_t_8h_source.html#l00045">45</a> of file <a class="el" href="_p_s4_b_t_8h_source.html">PS4BT.h</a>.</p>
2014-01-10 18:20:37 +01:00
</div>
</div>
<a id="a0d92689d0c24e62ddc7a1b3c4c658512"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0d92689d0c24e62ddc7a1b3c4c658512">&#9670;&nbsp;</a></span>ParseBTHIDData()</h2>
2014-01-10 18:20:37 +01:00
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
2014-06-09 17:02:31 +02:00
<td class="memname">virtual void PS4BT::ParseBTHIDData </td>
2014-01-10 18:20:37 +01:00
<td>(</td>
2014-01-19 17:17:06 +01:00
<td class="paramtype">uint8_t&#160;</td>
<td class="paramname"><em>len</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
2014-01-10 18:20:37 +01:00
<td></td>
2014-01-19 17:17:06 +01:00
<td class="paramtype">uint8_t *&#160;</td>
<td class="paramname"><em>buf</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
2014-01-10 18:20:37 +01:00
</tr>
</table>
</td>
<td class="mlabels-right">
2014-01-19 17:17:06 +01:00
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
2014-01-10 18:20:37 +01:00
</tr>
</table>
</div><div class="memdoc">
<p>Used to parse Bluetooth HID data. </p><dl class="params"><dt>Parameters</dt><dd>
2014-01-19 17:17:06 +01:00
<table class="params">
<tr><td class="paramname">len</td><td>The length of the incoming data. </td></tr>
<tr><td class="paramname">buf</td><td>Pointer to the data buffer. </td></tr>
</table>
</dd>
</dl>
2014-01-10 18:20:37 +01:00
2014-06-09 17:02:31 +02:00
<p>Reimplemented from <a class="el" href="class_b_t_h_i_d.html#a4de4a1efd32000a0cf5a884456e52c7d">BTHID</a>.</p>
2014-01-19 17:17:06 +01:00
<p class="definition">Definition at line <a class="el" href="_p_s4_b_t_8h_source.html#l00056">56</a> of file <a class="el" href="_p_s4_b_t_8h_source.html">PS4BT.h</a>.</p>
2014-01-10 18:20:37 +01:00
</div>
</div>
<a id="a91088a6ed093d3cebb82d8f5e208304b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a91088a6ed093d3cebb82d8f5e208304b">&#9670;&nbsp;</a></span>OnInitBTHID()</h2>
2014-01-10 18:20:37 +01:00
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
2014-01-19 17:17:06 +01:00
<td class="memname">virtual void PS4BT::OnInitBTHID </td>
2014-01-10 18:20:37 +01:00
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
2014-01-19 17:17:06 +01:00
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
2014-01-10 18:20:37 +01:00
</tr>
</table>
</div><div class="memdoc">
2014-01-19 17:17:06 +01:00
<p>Called when a device is successfully initialized. Use attachOnInit(void (*funcOnInit)(void)) to call your own function. This is useful for instance if you want to set the LEDs in a specific way. </p>
2014-01-10 18:20:37 +01:00
2014-01-19 17:17:06 +01:00
<p>Reimplemented from <a class="el" href="class_b_t_h_i_d.html#a6d92c1771d643172094fcd084f418421">BTHID</a>.</p>
<p class="definition">Definition at line <a class="el" href="_p_s4_b_t_8h_source.html#l00065">65</a> of file <a class="el" href="_p_s4_b_t_8h_source.html">PS4BT.h</a>.</p>
2014-01-10 18:20:37 +01:00
</div>
</div>
<a id="a4b1c9e15ccdc7ab24f7fb42fc9b5d827"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4b1c9e15ccdc7ab24f7fb42fc9b5d827">&#9670;&nbsp;</a></span>ResetBTHID()</h2>
2014-01-10 18:20:37 +01:00
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
2014-01-19 17:17:06 +01:00
<td class="memname">virtual void PS4BT::ResetBTHID </td>
2014-01-10 18:20:37 +01:00
<td>(</td>
2014-01-19 17:17:06 +01:00
<td class="paramname"></td><td>)</td>
2014-01-10 18:20:37 +01:00
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
2014-01-19 17:17:06 +01:00
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
2014-01-10 18:20:37 +01:00
</tr>
</table>
</div><div class="memdoc">
2014-01-19 17:17:06 +01:00
<p>Used to reset the different buffers to there default values </p>
<p>Reimplemented from <a class="el" href="class_b_t_h_i_d.html#acc22bf5baaa096fe09b72c812c1134f0">BTHID</a>.</p>
2014-01-10 18:20:37 +01:00
<p class="definition">Definition at line <a class="el" href="_p_s4_b_t_8h_source.html#l00075">75</a> of file <a class="el" href="_p_s4_b_t_8h_source.html">PS4BT.h</a>.</p>
2014-06-09 17:02:31 +02:00
</div>
</div>
<a id="ad3bb50902905677726bd62d5f394b062"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad3bb50902905677726bd62d5f394b062">&#9670;&nbsp;</a></span>sendOutputReport()</h2>
2014-06-09 17:02:31 +02:00
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void PS4BT::sendOutputReport </td>
<td>(</td>
<td class="paramtype"><a class="el" href="struct_p_s4_output.html">PS4Output</a> *&#160;</td>
<td class="paramname"><em>output</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Send the output to the PS4 controller. This is implemented in <a class="el" href="_p_s4_b_t_8h.html">PS4BT.h</a> and <a class="el" href="_p_s4_u_s_b_8h.html">PS4USB.h</a>. </p><dl class="params"><dt>Parameters</dt><dd>
2014-06-09 17:02:31 +02:00
<table class="params">
<tr><td class="paramname">output</td><td>Pointer to <a class="el" href="struct_p_s4_output.html">PS4Output</a> buffer; </td></tr>
</table>
</dd>
</dl>
<p>Implements <a class="el" href="class_p_s4_parser.html#a8788530b0c213dedfcf56b78e8ca4879">PS4Parser</a>.</p>
<p class="definition">Definition at line <a class="el" href="_p_s4_b_t_8h_source.html#l00081">81</a> of file <a class="el" href="_p_s4_b_t_8h_source.html">PS4BT.h</a>.</p>
2014-01-10 18:20:37 +01:00
</div>
</div>
2014-01-19 17:17:06 +01:00
<hr/>The documentation for this class was generated from the following file:<ul>
2014-01-10 18:20:37 +01:00
<li><a class="el" href="_p_s4_b_t_8h_source.html">PS4BT.h</a></li>
</ul>
</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.13
2014-01-10 18:20:37 +01:00
</small></address>
</body>
</html>