mirror of
https://github.com/felis/USB_Host_Shield_2.0.git
synced 2024-03-22 11:31:26 +01:00
485 lines
46 KiB
HTML
485 lines
46 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>USB Host Shield 2.0: PS5BT 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>
|
|
<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;">
|
|
<div id="projectname">USB Host Shield 2.0
|
|
</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&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&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>
|
|
<!-- 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><!-- top -->
|
|
<div class="header">
|
|
<div class="summary">
|
|
<a href="#pub-methods">Public Member Functions</a> |
|
|
<a href="class_p_s5_b_t-members.html">List of all members</a> </div>
|
|
<div class="headertitle">
|
|
<div class="title">PS5BT Class Reference</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
|
|
<p><code>#include <<a class="el" href="_p_s5_b_t_8h_source.html">PS5BT.h</a>></code></p>
|
|
<div class="dynheader">
|
|
Inheritance diagram for PS5BT:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="class_p_s5_b_t__inherit__graph.png" border="0" usemap="#_p_s5_b_t_inherit__map" alt="Inheritance graph"/></div>
|
|
<map name="_p_s5_b_t_inherit__map" id="_p_s5_b_t_inherit__map">
|
|
<area shape="rect" title=" " alt="" coords="90,155,153,181"/>
|
|
<area shape="rect" href="class_b_t_h_i_d.html" title=" " alt="" coords="41,80,103,107"/>
|
|
<area shape="rect" href="class_bluetooth_service.html" title=" " alt="" coords="5,5,139,32"/>
|
|
<area shape="rect" href="class_p_s5_parser.html" title=" " alt="" coords="127,80,214,107"/>
|
|
</map>
|
|
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
|
|
<div class="dynheader">
|
|
Collaboration diagram for PS5BT:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="class_p_s5_b_t__coll__graph.png" border="0" usemap="#_p_s5_b_t_coll__map" alt="Collaboration graph"/></div>
|
|
<map name="_p_s5_b_t_coll__map" id="_p_s5_b_t_coll__map">
|
|
<area shape="rect" title=" " alt="" coords="305,440,368,467"/>
|
|
<area shape="rect" href="class_b_t_h_i_d.html" title=" " alt="" coords="257,364,320,391"/>
|
|
<area shape="rect" href="class_bluetooth_service.html" title=" " alt="" coords="207,260,341,287"/>
|
|
<area shape="rect" href="class_b_t_d.html" title=" " alt="" coords="249,171,299,197"/>
|
|
<area shape="rect" href="class_u_s_b_device_config.html" title=" " alt="" coords="5,81,140,108"/>
|
|
<area shape="rect" href="class_usb_config_xtracter.html" title=" " alt="" coords="164,81,304,108"/>
|
|
<area shape="rect" href="class_u_s_b.html" title=" " alt="" coords="328,81,377,108"/>
|
|
<area shape="rect" href="class_m_a_x3421e.html" title=" " alt="" coords="307,5,399,32"/>
|
|
<area shape="rect" href="struct_ep_info.html" title=" " alt="" coords="401,81,464,108"/>
|
|
<area shape="rect" href="class_p_s5_parser.html" title=" " alt="" coords="363,364,449,391"/>
|
|
<area shape="rect" href="class_p_s5_trigger.html" title=" " alt="" coords="365,260,455,287"/>
|
|
</map>
|
|
<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>
|
|
<tr class="memitem:a08c4c977a2e547a23b7924f47d38eae2"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_s5_b_t.html#a08c4c977a2e547a23b7924f47d38eae2">PS5BT</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="0000")</td></tr>
|
|
<tr class="separator:a08c4c977a2e547a23b7924f47d38eae2"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a7ac20c439a14d0447ba42315d9398fa8"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_s5_b_t.html#a7ac20c439a14d0447ba42315d9398fa8">connected</a> ()</td></tr>
|
|
<tr class="separator:a7ac20c439a14d0447ba42315d9398fa8"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<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="-"/> 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"> </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="0000")</td></tr>
|
|
<tr class="separator:a5ee874513852b83d6a04b991ab892f54 inherit pub_methods_class_b_t_h_i_d"><td class="memSeparator" colspan="2"> </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> * </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"> </td></tr>
|
|
<tr class="memitem:a0e903f0b5040f3561e5de6c4431027b1 inherit pub_methods_class_b_t_h_i_d"><td class="memItemLeft" align="right" valign="top">bool </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"> </td></tr>
|
|
<tr class="memitem:afceaafc89581441da40b141170b98595 inherit pub_methods_class_b_t_h_i_d"><td class="memItemLeft" align="right" valign="top">void </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"> </td></tr>
|
|
<tr class="memitem:afb19720b65cda69d910416c7a689dd45 inherit pub_methods_class_b_t_h_i_d"><td class="memItemLeft" align="right" valign="top">void </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"> </td></tr>
|
|
<tr class="memitem:a0d6a230b8916108f32bb3ca628e10bbf inherit pub_methods_class_b_t_h_i_d"><td class="memItemLeft" align="right" valign="top">uint32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_h_i_d.html#a0d6a230b8916108f32bb3ca628e10bbf">getLastMessageTime</a> ()</td></tr>
|
|
<tr class="separator:a0d6a230b8916108f32bb3ca628e10bbf inherit pub_methods_class_b_t_h_i_d"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:adbe1ef647fe57bfeaf72ce86cddb8357 inherit pub_methods_class_b_t_h_i_d"><td class="memItemLeft" align="right" valign="top">void </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"> </td></tr>
|
|
<tr class="memitem:ae222e33ac617620c4cab5c1b23b89310 inherit pub_methods_class_b_t_h_i_d"><td class="memItemLeft" align="right" valign="top">void </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"> </td></tr>
|
|
<tr class="memitem:ae1ee62d7b9951ec7960f122c9fc2d2d0 inherit pub_methods_class_b_t_h_i_d"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_h_i_d.html#ae1ee62d7b9951ec7960f122c9fc2d2d0">disconnect</a> ()</td></tr>
|
|
<tr class="separator:ae1ee62d7b9951ec7960f122c9fc2d2d0 inherit pub_methods_class_b_t_h_i_d"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<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="-"/> 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"> </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"> </td></tr>
|
|
<tr class="memitem:a488e219cf0a90d39e643615b1f12e91f inherit pub_methods_class_bluetooth_service"><td class="memItemLeft" align="right" valign="top">void </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"> </td></tr>
|
|
<tr class="inherit_header pub_methods_class_p_s5_parser"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_p_s5_parser')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="class_p_s5_parser.html">PS5Parser</a></td></tr>
|
|
<tr class="memitem:a415a2549a733de3a988fcdf0acdfa5f1 inherit pub_methods_class_p_s5_parser"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_s5_parser.html#a415a2549a733de3a988fcdf0acdfa5f1">PS5Parser</a> ()</td></tr>
|
|
<tr class="separator:a415a2549a733de3a988fcdf0acdfa5f1 inherit pub_methods_class_p_s5_parser"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a481808a0aecbee31d0fa52343a8d87a0 inherit pub_methods_class_p_s5_parser"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_s5_parser.html#a481808a0aecbee31d0fa52343a8d87a0">getButtonPress</a> (<a class="el" href="controller_enums_8h.html#a94f7389d205c78830a5441370d7870fd">ButtonEnum</a> b)</td></tr>
|
|
<tr class="separator:a481808a0aecbee31d0fa52343a8d87a0 inherit pub_methods_class_p_s5_parser"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a4b8f61bc96190a433ab59821adaf4b33 inherit pub_methods_class_p_s5_parser"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_s5_parser.html#a4b8f61bc96190a433ab59821adaf4b33">getButtonClick</a> (<a class="el" href="controller_enums_8h.html#a94f7389d205c78830a5441370d7870fd">ButtonEnum</a> b)</td></tr>
|
|
<tr class="separator:a4b8f61bc96190a433ab59821adaf4b33 inherit pub_methods_class_p_s5_parser"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ada92d3b0b2c966f2884a2563615ea7ae inherit pub_methods_class_p_s5_parser"><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_s5_parser.html#ada92d3b0b2c966f2884a2563615ea7ae">getAnalogButton</a> (<a class="el" href="controller_enums_8h.html#a94f7389d205c78830a5441370d7870fd">ButtonEnum</a> b)</td></tr>
|
|
<tr class="separator:ada92d3b0b2c966f2884a2563615ea7ae inherit pub_methods_class_p_s5_parser"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a79c2339d1b370c09ed3960b6c4fad6c9 inherit pub_methods_class_p_s5_parser"><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_s5_parser.html#a79c2339d1b370c09ed3960b6c4fad6c9">getAnalogHat</a> (<a class="el" href="controller_enums_8h.html#a34dad8f0a0927471137c403216597093">AnalogHatEnum</a> a)</td></tr>
|
|
<tr class="separator:a79c2339d1b370c09ed3960b6c4fad6c9 inherit pub_methods_class_p_s5_parser"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ae2817e10d7ef1f823545f8513602f25a inherit pub_methods_class_p_s5_parser"><td class="memItemLeft" align="right" valign="top">uint16_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_s5_parser.html#ae2817e10d7ef1f823545f8513602f25a">getX</a> (uint8_t finger=0)</td></tr>
|
|
<tr class="separator:ae2817e10d7ef1f823545f8513602f25a inherit pub_methods_class_p_s5_parser"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a20e1565de39e21f4a3d5fec534b7dda7 inherit pub_methods_class_p_s5_parser"><td class="memItemLeft" align="right" valign="top">uint16_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_s5_parser.html#a20e1565de39e21f4a3d5fec534b7dda7">getY</a> (uint8_t finger=0)</td></tr>
|
|
<tr class="separator:a20e1565de39e21f4a3d5fec534b7dda7 inherit pub_methods_class_p_s5_parser"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ad1a1940d1382ff854f49b896d49bc949 inherit pub_methods_class_p_s5_parser"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_s5_parser.html#ad1a1940d1382ff854f49b896d49bc949">isTouching</a> (uint8_t finger=0)</td></tr>
|
|
<tr class="separator:ad1a1940d1382ff854f49b896d49bc949 inherit pub_methods_class_p_s5_parser"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ad71e6f6cd11f55e688ab40aa5e1e2934 inherit pub_methods_class_p_s5_parser"><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_s5_parser.html#ad71e6f6cd11f55e688ab40aa5e1e2934">getTouchCounter</a> (uint8_t finger=0)</td></tr>
|
|
<tr class="separator:ad71e6f6cd11f55e688ab40aa5e1e2934 inherit pub_methods_class_p_s5_parser"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ac2cfd147d798af0c45ef7b752ad8ce63 inherit pub_methods_class_p_s5_parser"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_s5_parser.html#ac2cfd147d798af0c45ef7b752ad8ce63">getAngle</a> (<a class="el" href="controller_enums_8h.html#a7c7824a10a9ffa8fea85602fcf4d84e6">AngleEnum</a> a)</td></tr>
|
|
<tr class="separator:ac2cfd147d798af0c45ef7b752ad8ce63 inherit pub_methods_class_p_s5_parser"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a5711382b0e798160bba2d6f92fe28af2 inherit pub_methods_class_p_s5_parser"><td class="memItemLeft" align="right" valign="top">int16_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_s5_parser.html#a5711382b0e798160bba2d6f92fe28af2">getSensor</a> (<a class="el" href="controller_enums_8h.html#a00d5030559c481763282483889597d51">SensorEnum</a> s)</td></tr>
|
|
<tr class="separator:a5711382b0e798160bba2d6f92fe28af2 inherit pub_methods_class_p_s5_parser"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a47da338f276ce95436a57196bb92442f inherit pub_methods_class_p_s5_parser"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_s5_parser.html#a47da338f276ce95436a57196bb92442f">setAllOff</a> ()</td></tr>
|
|
<tr class="separator:a47da338f276ce95436a57196bb92442f inherit pub_methods_class_p_s5_parser"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:acc771bcd563447e3385b37593f8d727f inherit pub_methods_class_p_s5_parser"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_s5_parser.html#acc771bcd563447e3385b37593f8d727f">setRumbleOff</a> ()</td></tr>
|
|
<tr class="separator:acc771bcd563447e3385b37593f8d727f inherit pub_methods_class_p_s5_parser"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aa98b3193b374c59179d57a03e973f748 inherit pub_methods_class_p_s5_parser"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_s5_parser.html#aa98b3193b374c59179d57a03e973f748">setRumbleOn</a> (<a class="el" href="controller_enums_8h.html#ab195293384292950ebc2166bfe360fd1">RumbleEnum</a> mode)</td></tr>
|
|
<tr class="separator:aa98b3193b374c59179d57a03e973f748 inherit pub_methods_class_p_s5_parser"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:adb0f8db56bff6d61b89e9ba8bb972224 inherit pub_methods_class_p_s5_parser"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_s5_parser.html#adb0f8db56bff6d61b89e9ba8bb972224">setRumbleOn</a> (uint8_t bigRumble, uint8_t smallRumble)</td></tr>
|
|
<tr class="separator:adb0f8db56bff6d61b89e9ba8bb972224 inherit pub_methods_class_p_s5_parser"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a39a725ebb4b95a8cf59e0440576319f8 inherit pub_methods_class_p_s5_parser"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_s5_parser.html#a39a725ebb4b95a8cf59e0440576319f8">setLedOff</a> ()</td></tr>
|
|
<tr class="separator:a39a725ebb4b95a8cf59e0440576319f8 inherit pub_methods_class_p_s5_parser"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a1269586cdd5447aa60ad9d32a84a8260 inherit pub_methods_class_p_s5_parser"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_s5_parser.html#a1269586cdd5447aa60ad9d32a84a8260">setLed</a> (uint8_t r, uint8_t g, uint8_t b)</td></tr>
|
|
<tr class="separator:a1269586cdd5447aa60ad9d32a84a8260 inherit pub_methods_class_p_s5_parser"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aa543ae953a5fab2e438142fc9f168a9c inherit pub_methods_class_p_s5_parser"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_s5_parser.html#aa543ae953a5fab2e438142fc9f168a9c">setLed</a> (<a class="el" href="controller_enums_8h.html#aac6fa7b0395b95cc528deaad0ce884a2">ColorsEnum</a> color)</td></tr>
|
|
<tr class="separator:aa543ae953a5fab2e438142fc9f168a9c inherit pub_methods_class_p_s5_parser"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a4a8c060d1eb8d2eb949beadb27019d58 inherit pub_methods_class_p_s5_parser"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_s5_parser.html#a4a8c060d1eb8d2eb949beadb27019d58">setPlayerLedOff</a> ()</td></tr>
|
|
<tr class="separator:a4a8c060d1eb8d2eb949beadb27019d58 inherit pub_methods_class_p_s5_parser"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a8dfbe24dbd5a79a3f6a1c76cbd9554a7 inherit pub_methods_class_p_s5_parser"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_s5_parser.html#a8dfbe24dbd5a79a3f6a1c76cbd9554a7">setPlayerLed</a> (uint8_t mask)</td></tr>
|
|
<tr class="separator:a8dfbe24dbd5a79a3f6a1c76cbd9554a7 inherit pub_methods_class_p_s5_parser"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a85b48b47b6976786e54d9f0684203d05 inherit pub_methods_class_p_s5_parser"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_s5_parser.html#a85b48b47b6976786e54d9f0684203d05">setMicLedOff</a> ()</td></tr>
|
|
<tr class="separator:a85b48b47b6976786e54d9f0684203d05 inherit pub_methods_class_p_s5_parser"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a398a544b4b2ad38ca00ecd19ab4ff9b0 inherit pub_methods_class_p_s5_parser"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_s5_parser.html#a398a544b4b2ad38ca00ecd19ab4ff9b0">setMicLed</a> (bool on)</td></tr>
|
|
<tr class="separator:a398a544b4b2ad38ca00ecd19ab4ff9b0 inherit pub_methods_class_p_s5_parser"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a8ea1c748821b20c47db4f26a01fa887d inherit pub_methods_class_p_s5_parser"><td class="memItemLeft" align="right" valign="top">uint16_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_s5_parser.html#a8ea1c748821b20c47db4f26a01fa887d">getMessageCounter</a> ()</td></tr>
|
|
<tr class="separator:a8ea1c748821b20c47db4f26a01fa887d inherit pub_methods_class_p_s5_parser"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</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>
|
|
<tr class="memitem:a7298dfedcac3819646828edf055bc26b"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_s5_b_t.html#a7298dfedcac3819646828edf055bc26b">ParseBTHIDData</a> (uint8_t len, uint8_t *buf)</td></tr>
|
|
<tr class="separator:a7298dfedcac3819646828edf055bc26b"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a18ee2006348c6a7aad4b0fc9b14eae40"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_s5_b_t.html#a18ee2006348c6a7aad4b0fc9b14eae40">OnInitBTHID</a> ()</td></tr>
|
|
<tr class="separator:a18ee2006348c6a7aad4b0fc9b14eae40"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a1752541c2796de06407cf3c6092604cd"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_s5_b_t.html#a1752541c2796de06407cf3c6092604cd">ResetBTHID</a> ()</td></tr>
|
|
<tr class="separator:a1752541c2796de06407cf3c6092604cd"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr><td colspan="2"><div class="groupHeader">PS5Parser implementation</div></td></tr>
|
|
<tr class="memitem:a1c55a37b59d84c204c3460f2163b06fa"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_s5_b_t.html#a1c55a37b59d84c204c3460f2163b06fa">sendOutputReport</a> (<a class="el" href="struct_p_s5_output.html">PS5Output</a> *output)</td></tr>
|
|
<tr class="separator:a1c55a37b59d84c204c3460f2163b06fa"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<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="-"/> 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 </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"> </td></tr>
|
|
<tr class="memitem:a84eb1b910027f2d78741f65225c14e54 inherit pro_methods_class_b_t_h_i_d"><td class="memItemLeft" align="right" valign="top">void </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"> </td></tr>
|
|
<tr class="memitem:a938eab04e406a29cc9324dad3ccb52cc inherit pro_methods_class_b_t_h_i_d"><td class="memItemLeft" align="right" valign="top">void </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"> </td></tr>
|
|
<tr class="memitem:af4c58b81414a037910dd6fb78f97b96e inherit pro_methods_class_b_t_h_i_d"><td class="memItemLeft" align="right" valign="top">void </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"> </td></tr>
|
|
<tr class="memitem:a9c3d1a1c2420a7f7d6d9f8a75a4a5a88 inherit pro_methods_class_b_t_h_i_d"><td class="memItemLeft" align="right" valign="top">void </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"> </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="-"/> 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 </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"> </td></tr>
|
|
<tr class="inherit_header pro_methods_class_p_s5_parser"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_class_p_s5_parser')"><img src="closed.png" alt="-"/> Protected Member Functions inherited from <a class="el" href="class_p_s5_parser.html">PS5Parser</a></td></tr>
|
|
<tr class="memitem:a396efb4b210f86095dc21a4ba2afffed inherit pro_methods_class_p_s5_parser"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_s5_parser.html#a396efb4b210f86095dc21a4ba2afffed">Parse</a> (uint8_t len, uint8_t *buf)</td></tr>
|
|
<tr class="separator:a396efb4b210f86095dc21a4ba2afffed inherit pro_methods_class_p_s5_parser"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a136b97d303936a6f3c13bb74fad521d1 inherit pro_methods_class_p_s5_parser"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_s5_parser.html#a136b97d303936a6f3c13bb74fad521d1">Reset</a> ()</td></tr>
|
|
<tr class="separator:a136b97d303936a6f3c13bb74fad521d1 inherit pro_methods_class_p_s5_parser"><td class="memSeparator" colspan="2"> </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="-"/> 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 </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"> </td></tr>
|
|
<tr class="inherit_header pub_attribs_class_p_s5_parser"><td colspan="2" onclick="javascript:toggleInherit('pub_attribs_class_p_s5_parser')"><img src="closed.png" alt="-"/> Public Attributes inherited from <a class="el" href="class_p_s5_parser.html">PS5Parser</a></td></tr>
|
|
<tr class="memitem:a819cd1faa12a83cd8525be60bc8c8b83 inherit pub_attribs_class_p_s5_parser"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_p_s5_trigger.html">PS5Trigger</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_s5_parser.html#a819cd1faa12a83cd8525be60bc8c8b83">leftTrigger</a></td></tr>
|
|
<tr class="separator:a819cd1faa12a83cd8525be60bc8c8b83 inherit pub_attribs_class_p_s5_parser"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a3a6cf326963a4bd8b08ee4b22d456df4 inherit pub_attribs_class_p_s5_parser"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_p_s5_trigger.html">PS5Trigger</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_s5_parser.html#a3a6cf326963a4bd8b08ee4b22d456df4">rightTrigger</a></td></tr>
|
|
<tr class="separator:a3a6cf326963a4bd8b08ee4b22d456df4 inherit pub_attribs_class_p_s5_parser"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<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="-"/> 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 </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"> </td></tr>
|
|
<tr class="memitem:a34a91f92ea32033403c2b37af92535dc inherit pro_attribs_class_b_t_h_i_d"><td class="memItemLeft" align="right" valign="top">uint8_t </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"> </td></tr>
|
|
<tr class="memitem:ae239a164548e359b4deead55ed540962 inherit pro_attribs_class_b_t_h_i_d"><td class="memItemLeft" align="right" valign="top">uint8_t </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"> </td></tr>
|
|
<tr class="memitem:a0446c8e266a111f007b48fa7895f36d7 inherit pro_attribs_class_b_t_h_i_d"><td class="memItemLeft" align="right" valign="top">uint8_t </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"> </td></tr>
|
|
<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="-"/> 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(* </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"> </td></tr>
|
|
<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> * </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"> </td></tr>
|
|
<tr class="memitem:a67b1db67c05d0bbdcd9c992135455437 inherit pro_attribs_class_bluetooth_service"><td class="memItemLeft" align="right" valign="top">uint16_t </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"> </td></tr>
|
|
<tr class="memitem:a78a1a893ec9c2db32e42bc2271c4a4f2 inherit pro_attribs_class_bluetooth_service"><td class="memItemLeft" align="right" valign="top">uint32_t </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"> </td></tr>
|
|
<tr class="memitem:ad643db609c7e2e3fae8904dbc7991262 inherit pro_attribs_class_bluetooth_service"><td class="memItemLeft" align="right" valign="top">uint8_t </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"> </td></tr>
|
|
</table>
|
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
|
<div class="textblock"><p>This class implements support for the PS5 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>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="_p_s5_b_t_8h_source.html#l00109">109</a> of file <a class="el" href="_p_s5_b_t_8h_source.html">PS5BT.h</a>.</p>
|
|
</div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
|
|
<a id="a08c4c977a2e547a23b7924f47d38eae2"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a08c4c977a2e547a23b7924f47d38eae2">◆ </a></span>PS5BT()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">PS5BT::PS5BT </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="class_b_t_d.html">BTD</a> * </td>
|
|
<td class="paramname"><em>p</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">bool </td>
|
|
<td class="paramname"><em>pair</em> = <code>false</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const char * </td>
|
|
<td class="paramname"><em>pin</em> = <code>"0000"</code> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</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>Constructor for the <a class="el" href="class_p_s5_b_t.html">PS5BT</a> class. </p><dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<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>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="_p_s5_b_t_8h_source.html#l00117">117</a> of file <a class="el" href="_p_s5_b_t_8h_source.html">PS5BT.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Member Function Documentation</h2>
|
|
<a id="a7ac20c439a14d0447ba42315d9398fa8"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a7ac20c439a14d0447ba42315d9398fa8">◆ </a></span>connected()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool PS5BT::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 PS5 controller is connected. </p><dl class="section return"><dt>Returns</dt><dd>Returns true if it is connected. </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="_p_s5_b_t_8h_source.html#l00126">126</a> of file <a class="el" href="_p_s5_b_t_8h_source.html">PS5BT.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a7298dfedcac3819646828edf055bc26b"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a7298dfedcac3819646828edf055bc26b">◆ </a></span>ParseBTHIDData()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual void PS5BT::ParseBTHIDData </td>
|
|
<td>(</td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>len</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint8_t * </td>
|
|
<td class="paramname"><em>buf</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</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>Used to parse Bluetooth HID data. </p><dl class="params"><dt>Parameters</dt><dd>
|
|
<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>
|
|
|
|
<p>Reimplemented from <a class="el" href="class_b_t_h_i_d.html#a4de4a1efd32000a0cf5a884456e52c7d">BTHID</a>.</p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="_p_s5_b_t_8h_source.html#l00137">137</a> of file <a class="el" href="_p_s5_b_t_8h_source.html">PS5BT.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a18ee2006348c6a7aad4b0fc9b14eae40"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a18ee2006348c6a7aad4b0fc9b14eae40">◆ </a></span>OnInitBTHID()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual void PS5BT::OnInitBTHID </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 class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<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>
|
|
|
|
<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_s5_b_t_8h_source.html#l00146">146</a> of file <a class="el" href="_p_s5_b_t_8h_source.html">PS5BT.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a1752541c2796de06407cf3c6092604cd"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a1752541c2796de06407cf3c6092604cd">◆ </a></span>ResetBTHID()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual void PS5BT::ResetBTHID </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 class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<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>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="_p_s5_b_t_8h_source.html#l00156">156</a> of file <a class="el" href="_p_s5_b_t_8h_source.html">PS5BT.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a1c55a37b59d84c204c3460f2163b06fa"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a1c55a37b59d84c204c3460f2163b06fa">◆ </a></span>sendOutputReport()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual void PS5BT::sendOutputReport </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="struct_p_s5_output.html">PS5Output</a> * </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 PS5 controller. This is implemented in <a class="el" href="_p_s5_b_t_8h.html">PS5BT.h</a> and <a class="el" href="_p_s5_u_s_b_8h.html">PS5USB.h</a>. </p><dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">output</td><td>Pointer to <a class="el" href="struct_p_s5_output.html">PS5Output</a> buffer; </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p>Implements <a class="el" href="class_p_s5_parser.html#ad35f2e7d60ce26a5b220267e20d6cfa3">PS5Parser</a>.</p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="_p_s5_b_t_8h_source.html#l00162">162</a> of file <a class="el" href="_p_s5_b_t_8h_source.html">PS5BT.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<hr/>The documentation for this class was generated from the following file:<ul>
|
|
<li><a class="el" href="_p_s5_b_t_8h_source.html">PS5BT.h</a></li>
|
|
</ul>
|
|
</div><!-- contents -->
|
|
<!-- start footer part -->
|
|
<hr class="footer"/><address class="footer"><small>
|
|
Generated by  <a href="http://www.doxygen.org/index.html">
|
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
|
</a> 1.8.17
|
|
</small></address>
|
|
</body>
|
|
</html>
|