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.6" / >
< 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/search.js" > < / script >
< script type = "text/javascript" >
$(document).ready(function() { searchBox.OnSelectItem(0); });
< / 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 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.6 -->
< script type = "text/javascript" >
var searchBox = new SearchBox("searchBox", "search",false,'Search');
< / script >
< div id = "navrow1" class = "tabs" >
< ul class = "tablist" >
< li > < a href = "index.html" > < span > Main  Page< / span > < / a > < / li >
< li > < a href = "pages.html" > < span > Related  Pages< / span > < / a > < / li >
< li class = "current" > < a href = "annotated.html" > < span > Classes< / span > < / a > < / li >
< li > < a href = "files.html" > < span > Files< / span > < / a > < / li >
< li >
< div id = "MSearchBox" class = "MSearchBoxInactive" >
< span class = "left" >
< img id = "MSearchSelect" src = "search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
< input type = "text" id = "MSearchField" value = "Search" accesskey = "S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
< / span > < span class = "right" >
< a id = "MSearchClose" href = "javascript:searchBox.CloseResultsWindow()" > < img id = "MSearchCloseImg" border = "0" src = "search/close.png" alt = "" / > < / a >
< / span >
< / div >
< / li >
< / ul >
< / div >
< div id = "navrow2" class = "tabs2" >
< ul class = "tablist" >
< li > < a href = "annotated.html" > < span > Class  List< / span > < / a > < / li >
< li > < a href = "classes.html" > < span > Class  Index< / span > < / a > < / li >
< li > < a href = "inherits.html" > < span > Class  Hierarchy< / span > < / a > < / li >
< li > < a href = "functions.html" > < span > Class  Members< / span > < / a > < / li >
< / ul >
< / div >
<!-- window showing the filter options -->
< div id = "MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
< a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(0)" > < span class = "SelectionMark" >   < / span > All< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(1)" > < span class = "SelectionMark" >   < / span > Classes< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(2)" > < span class = "SelectionMark" >   < / span > Files< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(3)" > < span class = "SelectionMark" >   < / span > Functions< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(4)" > < span class = "SelectionMark" >   < / span > Variables< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(5)" > < span class = "SelectionMark" >   < / span > Typedefs< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(6)" > < span class = "SelectionMark" >   < / span > Enumerations< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(7)" > < span class = "SelectionMark" >   < / span > Enumerator< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(8)" > < span class = "SelectionMark" >   < / span > Macros< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(9)" > < span class = "SelectionMark" >   < / span > Pages< / a > < / div >
<!-- iframe showing the search results (closed by default) -->
< div id = "MSearchResultsWindow" >
< iframe src = "javascript:void(0)" frameborder = "0"
name="MSearchResults" id="MSearchResults">
< / iframe >
< / div >
< / div > <!-- top -->
< div class = "header" >
< div class = "summary" >
< a href = "#pub-methods" > Public Member Functions< / a > |
< 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 < < a class = "el" href = "_p_s4_b_t_8h_source.html" > PS4BT.h< / a > > < / 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" >
2014-01-19 17:17:06 +01:00
< area shape = "rect" id = "node2" href = "class_b_t_h_i_d.html" title = "BTHID" alt = "" coords = "35,83,96,111" / > < area shape = "rect" id = "node3" href = "class_bluetooth_service.html" title = "BluetoothService" alt = "" coords = "4,6,125,34" / > < area shape = "rect" id = "node4" href = "class_p_s4_parser.html" title = "PS4Parser" alt = "" coords = "120,83,205,111" / > < / 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" >
2014-01-19 17:17:06 +01:00
< area shape = "rect" id = "node2" href = "class_b_t_h_i_d.html" title = "BTHID" alt = "" coords = "35,83,96,111" / > < area shape = "rect" id = "node3" href = "class_bluetooth_service.html" title = "BluetoothService" alt = "" coords = "4,6,125,34" / > < area shape = "rect" id = "node4" href = "class_p_s4_parser.html" title = "PS4Parser" alt = "" coords = "120,83,205,111" / > < / 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" >   < / 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=" 0000" )< / td > < / tr >
< tr class = "separator:a616d5167f795b14c5955910807b5024b" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2014-01-10 18:20:37 +01:00
< tr class = "memitem:a08a857b8533e59f6eb872e4c8f727405" > < td class = "memItemLeft" align = "right" valign = "top" > bool  < / 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" >   < / td > < / tr >
< tr class = "memitem:a63c57ecc5c678da13e7787792e385ec9" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "class_p_s4_b_t.html#a63c57ecc5c678da13e7787792e385ec9" > attachOnInit< / a > (void(*funcOnInit)(void))< / td > < / tr >
< tr class = "separator:a63c57ecc5c678da13e7787792e385ec9" > < td class = "memSeparator" colspan = "2" >   < / 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 = "-" / >   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: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: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:ac2d67e173774e344bca86fbd0ed5a10c 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#ac2d67e173774e344bca86fbd0ed5a10c" > attachOnInit< / a > (void(*funcOnInit)(void))< / td > < / tr >
< tr class = "separator:ac2d67e173774e344bca86fbd0ed5a10c inherit pub_methods_class_b_t_h_i_d" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a84eb1b910027f2d78741f65225c14e54 inherit pub_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#a84eb1b910027f2d78741f65225c14e54" > ACLData< / a > (uint8_t *ACLData)< / td > < / tr >
< tr class = "separator:a84eb1b910027f2d78741f65225c14e54 inherit pub_methods_class_b_t_h_i_d" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a938eab04e406a29cc9324dad3ccb52cc inherit pub_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#a938eab04e406a29cc9324dad3ccb52cc" > Run< / a > ()< / td > < / tr >
< tr class = "separator:a938eab04e406a29cc9324dad3ccb52cc inherit pub_methods_class_b_t_h_i_d" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:af4c58b81414a037910dd6fb78f97b96e inherit pub_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#af4c58b81414a037910dd6fb78f97b96e" > Reset< / a > ()< / td > < / tr >
< tr class = "separator:af4c58b81414a037910dd6fb78f97b96e 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" > virtual 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_p_s4_parser" > < td colspan = "2" onclick = "javascript:toggleInherit('pub_methods_class_p_s4_parser')" > < img src = "closed.png" alt = "-" / >   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" >   < / 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" >   < / td > < / tr >
< tr class = "memitem:ad352f30e4ab772246574bbf654248906 inherit pub_methods_class_p_s4_parser" > < td class = "memItemLeft" align = "right" valign = "top" > bool  < / 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" >   < / td > < / tr >
< tr class = "memitem:a92a4ea3d328426b9f86be05cabaad91c inherit pub_methods_class_p_s4_parser" > < td class = "memItemLeft" align = "right" valign = "top" > bool  < / 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" >   < / td > < / tr >
< tr class = "memitem:a66151c4e4601f80492cd5b2451a2f87a inherit pub_methods_class_p_s4_parser" > < td class = "memItemLeft" align = "right" valign = "top" > uint8_t  < / 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" >   < / td > < / tr >
< tr class = "memitem:a9b11c5b27f9c9501fdb4f616cb3b194c inherit pub_methods_class_p_s4_parser" > < td class = "memItemLeft" align = "right" valign = "top" > uint8_t  < / 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" >   < / td > < / tr >
< tr class = "memitem:aa149326d97c6231087f81d954a994493 inherit pub_methods_class_p_s4_parser" > < td class = "memItemLeft" align = "right" valign = "top" > uint16_t  < / 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" >   < / td > < / tr >
< tr class = "memitem:a9972eeb87f2ed4a96dcdccf2dabbbc5a inherit pub_methods_class_p_s4_parser" > < td class = "memItemLeft" align = "right" valign = "top" > uint16_t  < / 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" >   < / td > < / tr >
< tr class = "memitem:a6770a72c17062c2e00fb3602435fcade inherit pub_methods_class_p_s4_parser" > < td class = "memItemLeft" align = "right" valign = "top" > bool  < / 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" >   < / td > < / tr >
< tr class = "memitem:a0b3de008ae8aaa057c571081b1b64e88 inherit pub_methods_class_p_s4_parser" > < td class = "memItemLeft" align = "right" valign = "top" > uint8_t  < / 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" >   < / td > < / tr >
< tr class = "memitem:ac4b7e6c29af23a88d41a83e82c87c888 inherit pub_methods_class_p_s4_parser" > < td class = "memItemLeft" align = "right" valign = "top" > double  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "class_p_s4_parser.html#ac4b7e6c29af23a88d41a83e82c87c888" > getAngle< / a > (< a class = "el" href = "controller_enums_8h.html#a7c7824a10a9ffa8fea85602fcf4d84e6" > AngleEnum< / a > a)< / td > < / tr >
< tr class = "separator:ac4b7e6c29af23a88d41a83e82c87c888 inherit pub_methods_class_p_s4_parser" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a2b06200adee0c8ed616c4d18c23a584a inherit pub_methods_class_p_s4_parser" > < td class = "memItemLeft" align = "right" valign = "top" > int16_t  < / 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" >   < / 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:a9f9e18bee9e7d9cf6538681e0370193f" > < td class = "memItemLeft" align = "right" valign = "top" > virtual void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "class_p_s4_b_t.html#a9f9e18bee9e7d9cf6538681e0370193f" > ParseBTHID< / a > (< a class = "el" href = "class_b_t_h_i_d.html" > BTHID< / a > *bthid, uint8_t len, uint8_t *buf)< / td > < / tr >
< tr class = "separator:a9f9e18bee9e7d9cf6538681e0370193f" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a91088a6ed093d3cebb82d8f5e208304b" > < td class = "memItemLeft" align = "right" valign = "top" > virtual void  < / 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" >   < / td > < / tr >
< tr class = "memitem:a4b1c9e15ccdc7ab24f7fb42fc9b5d827" > < td class = "memItemLeft" align = "right" valign = "top" > virtual void  < / 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" >   < / td > < / tr >
< tr > < td colspan = "2" > < div class = "groupHeader" > Overridable functions< / div > < / td > < / tr >
< 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 = "-" / >   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  < / 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" >   < / td > < / tr >
< tr class = "memitem:a24640b2362b0f6f51785fbd3dd4f13f9 inherit pro_methods_class_p_s4_parser" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / 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" >   < / 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 >
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
2014-01-19 17:17:06 +01:00
< p > 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 & Destructor Documentation< / h2 >
2014-01-19 17:17:06 +01:00
< a class = "anchor" id = "a616d5167f795b14c5955910807b5024b" > < / a >
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 > *  < / 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  < / 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 *  < / td >
< td class = "paramname" > < em > pin< / em > = < code > " 0000" < / code >   < / 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" >
2014-01-19 17:17:06 +01:00
< p > Constructor for the < a class = "el" href = "class_p_s4_b_t.html" > PS4BT< / a > class. < / p >
2014-01-10 18:20:37 +01:00
< dl class = "params" > < dt > Parameters< / dt > < dd >
< 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 >
2014-01-19 17:17:06 +01:00
< p > 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 >
2014-01-10 18:20:37 +01:00
< a class = "anchor" id = "a08a857b8533e59f6eb872e4c8f727405" > < / a >
< 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" >
2014-01-19 17:17:06 +01:00
< 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
2014-01-19 17:17:06 +01:00
< p > 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 >
2014-01-19 17:17:06 +01:00
< a class = "anchor" id = "a63c57ecc5c678da13e7787792e385ec9" > < / a >
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" > void PS4BT::attachOnInit < / td >
2014-01-10 18:20:37 +01:00
< td > (< / td >
2014-01-19 17:17:06 +01:00
< td class = "paramtype" > void(*)(void)  < / td >
< td class = "paramname" > < em > funcOnInit< / em > < / td > < td > )< / td >
2014-01-10 18:20:37 +01:00
< 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" >
2014-01-19 17:17:06 +01:00
< p > Used to call your own function when the device is successfully initialized. < / p >
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
< tr > < td class = "paramname" > funcOnInit< / td > < td > Function to call. < / td > < / tr >
< / table >
< / dd >
< / dl >
2014-01-10 18:20:37 +01:00
2014-01-19 17:17:06 +01:00
< p > Definition at line < a class = "el" href = "_p_s4_b_t_8h_source.html#l00053" > 53< / 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
< a class = "anchor" id = "a9f9e18bee9e7d9cf6538681e0370193f" > < / a >
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::ParseBTHID < / td >
2014-01-10 18:20:37 +01:00
< td > (< / td >
2014-01-19 17:17:06 +01:00
< td class = "paramtype" > < a class = "el" href = "class_b_t_h_i_d.html" > BTHID< / a > *  < / td >
< td class = "paramname" > < em > bthid< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint8_t  < / 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 *  < / td >
< td class = "paramname" > < em > buf< / em >   < / 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" >
2014-01-19 17:17:06 +01:00
< p > Used to parse Bluetooth < a class = "el" href = "class_h_i_d.html" > HID< / a > data. < / p >
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
< tr > < td class = "paramname" > bthid< / td > < td > Pointer to the < a class = "el" href = "class_b_t_h_i_d.html" > BTHID< / a > class. < / td > < / tr >
< 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-01-19 17:17:06 +01:00
< p > Reimplemented from < a class = "el" href = "class_b_t_h_i_d.html#af9a13ab2a8c9c10fc74b3ed7dde1ff52" > BTHID< / a > .< / p >
< p > 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 >
2014-01-19 17:17:06 +01:00
< a class = "anchor" id = "a91088a6ed093d3cebb82d8f5e208304b" > < / a >
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 > Definition at line < a class = "el" href = "_p_s4_b_t_8h_source.html#l00074" > 74< / 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
< a class = "anchor" id = "a4b1c9e15ccdc7ab24f7fb42fc9b5d827" > < / a >
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
2014-01-19 17:17:06 +01:00
< p > Definition at line < a class = "el" href = "_p_s4_b_t_8h_source.html#l00080" > 80< / 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   < a href = "http://www.doxygen.org/index.html" >
< img class = "footer" src = "doxygen.png" alt = "doxygen" / >
< / a > 1.8.6
< / small > < / address >
< / body >
< / html >