2013-01-30 22:00:18 +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" / >
2018-10-13 16:56:59 +02:00
< meta name = "generator" content = "Doxygen 1.8.6" / >
2013-02-17 01:37:13 +01:00
< title > USB Host Shield 2.0: PS3BT Class Reference< / title >
2013-01-30 22:00:18 +01:00
< 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 >
2018-10-13 16:56:59 +02:00
< script type = "text/javascript" >
$(document).ready(function() { searchBox.OnSelectItem(0); });
< / script >
2013-01-30 22:00:18 +01:00
< link href = "doxygen.css" rel = "stylesheet" type = "text/css" / >
2013-02-05 22:39:56 +01:00
< link href = "imageStyle.css" rel = "stylesheet" type = "text/css" / >
2013-01-30 22:00:18 +01:00
< / 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;" >
2018-10-13 16:56:59 +02:00
< td style = "padding-left: 0.5em;" >
2013-02-17 01:37:13 +01:00
< div id = "projectname" > USB Host Shield 2.0
2013-01-30 22:00:18 +01:00
< / div >
< / td >
< / tr >
< / tbody >
< / table >
< / div >
<!-- end header part -->
2018-10-13 16:56:59 +02:00
<!-- Generated by Doxygen 1.8.6 -->
2013-01-30 22:00:18 +01:00
< script type = "text/javascript" >
var searchBox = new SearchBox("searchBox", "search",false,'Search');
< / script >
2018-10-13 16:56:59 +02:00
< 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 >
2013-01-30 22:00:18 +01:00
<!-- window showing the filter options -->
< div id = "MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
2018-10-13 16:56:59 +02:00
< 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 >
2013-01-30 22:00:18 +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 > |
< a href = "#pub-attribs" > Public Attributes< / a > |
< a href = "class_p_s3_b_t-members.html" > List of all members< / a > < / div >
< div class = "headertitle" >
< div class = "title" > PS3BT Class Reference< / div > < / div >
< / div > <!-- header -->
< div class = "contents" >
< p > < code > #include < < a class = "el" href = "_p_s3_b_t_8h_source.html" > PS3BT.h< / a > > < / code > < / p >
< div class = "dynheader" >
Inheritance diagram for PS3BT:< / div >
< div class = "dyncontent" >
< div class = "center" > < img src = "class_p_s3_b_t__inherit__graph.png" border = "0" usemap = "#_p_s3_b_t_inherit__map" alt = "Inheritance graph" / > < / div >
< map name = "_p_s3_b_t_inherit__map" id = "_p_s3_b_t_inherit__map" >
2018-10-13 23:09:56 +02:00
< area shape = "rect" id = "node2" href = "class_bluetooth_service.html" title = "BluetoothService" alt = "" coords = "5,5,125,32" / > < / map >
2013-01-30 22:00:18 +01:00
< center > < span class = "legend" > [< a href = "graph_legend.html" > legend< / a > ]< / span > < / center > < / div >
< div class = "dynheader" >
Collaboration diagram for PS3BT:< / div >
< div class = "dyncontent" >
< div class = "center" > < img src = "class_p_s3_b_t__coll__graph.png" border = "0" usemap = "#_p_s3_b_t_coll__map" alt = "Collaboration graph" / > < / div >
< map name = "_p_s3_b_t_coll__map" id = "_p_s3_b_t_coll__map" >
2018-10-13 23:09:56 +02:00
< area shape = "rect" id = "node2" href = "class_bluetooth_service.html" title = "BluetoothService" alt = "" coords = "201,264,321,291" / > < area shape = "rect" id = "node3" href = "class_b_t_d.html" title = "BTD" alt = "" coords = "237,173,285,200" / > < area shape = "rect" id = "node4" href = "class_u_s_b_device_config.html" title = "USBDeviceConfig" alt = "" coords = "5,83,133,109" / > < area shape = "rect" id = "node5" href = "class_usb_config_xtracter.html" title = "UsbConfigXtracter" alt = "" coords = "157,83,287,109" / > < area shape = "rect" id = "node6" href = "class_u_s_b.html" title = "USB" alt = "" coords = "312,83,363,109" / > < area shape = "rect" id = "node7" href = "class_m_a_x3421e.html" title = "MAX3421E" alt = "" coords = "293,5,381,32" / > < area shape = "rect" id = "node8" href = "struct_ep_info.html" title = "EpInfo" alt = "" coords = "387,83,447,109" / > < / map >
2013-01-30 22:00:18 +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 >
2015-04-07 16:07:33 +02:00
< tr class = "memitem:aab14832f7844f07e6287eb443019b6e7" > < td class = "memItemLeft" align = "right" valign = "top" >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "class_p_s3_b_t.html#aab14832f7844f07e6287eb443019b6e7" > PS3BT< / a > (< a class = "el" href = "class_b_t_d.html" > BTD< / a > *< a class = "el" href = "class_bluetooth_service.html#aa67faf901f78a55a202945a20f6d778a" > pBtd< / a > , uint8_t btadr5=0, uint8_t btadr4=0, uint8_t btadr3=0, uint8_t btadr2=0, uint8_t btadr1=0, uint8_t btadr0=0)< / td > < / tr >
2013-01-30 22:00:18 +01:00
< tr class = "separator:aab14832f7844f07e6287eb443019b6e7" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2013-02-05 20:02:12 +01:00
< tr > < td colspan = "2" > < div class = "groupHeader" > PS3 Controller functions< / div > < / td > < / tr >
2014-01-10 18:20:37 +01:00
< tr class = "memitem:a5e7842bef25e7c7210974f5405e1bc81" > < td class = "memItemLeft" align = "right" valign = "top" > bool  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "class_p_s3_b_t.html#a5e7842bef25e7c7210974f5405e1bc81" > getButtonPress< / a > (< a class = "el" href = "controller_enums_8h.html#a94f7389d205c78830a5441370d7870fd" > ButtonEnum< / a > b)< / td > < / tr >
< tr class = "separator:a5e7842bef25e7c7210974f5405e1bc81" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a3b0e522b5d8a39d3daf540e4feb4f5fe" > < td class = "memItemLeft" align = "right" valign = "top" > bool  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "class_p_s3_b_t.html#a3b0e522b5d8a39d3daf540e4feb4f5fe" > getButtonClick< / a > (< a class = "el" href = "controller_enums_8h.html#a94f7389d205c78830a5441370d7870fd" > ButtonEnum< / a > b)< / td > < / tr >
< tr class = "separator:a3b0e522b5d8a39d3daf540e4feb4f5fe" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a6dac11972fc4b1f5984d43365be1a954" > < td class = "memItemLeft" align = "right" valign = "top" > uint8_t  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "class_p_s3_b_t.html#a6dac11972fc4b1f5984d43365be1a954" > getAnalogButton< / a > (< a class = "el" href = "controller_enums_8h.html#a94f7389d205c78830a5441370d7870fd" > ButtonEnum< / a > a)< / td > < / tr >
< tr class = "separator:a6dac11972fc4b1f5984d43365be1a954" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a648e2bfeb06e2dc1603202e95324b206" > < td class = "memItemLeft" align = "right" valign = "top" > uint8_t  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "class_p_s3_b_t.html#a648e2bfeb06e2dc1603202e95324b206" > getAnalogHat< / a > (< a class = "el" href = "controller_enums_8h.html#a34dad8f0a0927471137c403216597093" > AnalogHatEnum< / a > a)< / td > < / tr >
< tr class = "separator:a648e2bfeb06e2dc1603202e95324b206" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2014-01-19 17:17:06 +01:00
< tr class = "memitem:a07c8dcb809005e8492bbef4e1f4b9d24" > < td class = "memItemLeft" align = "right" valign = "top" > int16_t  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "class_p_s3_b_t.html#a07c8dcb809005e8492bbef4e1f4b9d24" > getSensor< / a > (< a class = "el" href = "controller_enums_8h.html#a00d5030559c481763282483889597d51" > SensorEnum< / a > a)< / td > < / tr >
2014-01-10 18:20:37 +01:00
< tr class = "separator:a07c8dcb809005e8492bbef4e1f4b9d24" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2016-04-19 18:16:46 +02:00
< tr class = "memitem:abf7179f12e5e8cf3e9e13c69c2713592" > < td class = "memItemLeft" align = "right" valign = "top" > float  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "class_p_s3_b_t.html#abf7179f12e5e8cf3e9e13c69c2713592" > getAngle< / a > (< a class = "el" href = "controller_enums_8h.html#a7c7824a10a9ffa8fea85602fcf4d84e6" > AngleEnum< / a > a)< / td > < / tr >
< tr class = "separator:abf7179f12e5e8cf3e9e13c69c2713592" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a1ed9dead526c19fc912506850b2f9cc8" > < td class = "memItemLeft" align = "right" valign = "top" > float  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "class_p_s3_b_t.html#a1ed9dead526c19fc912506850b2f9cc8" > get9DOFValues< / a > (< a class = "el" href = "controller_enums_8h.html#a00d5030559c481763282483889597d51" > SensorEnum< / a > a)< / td > < / tr >
< tr class = "separator:a1ed9dead526c19fc912506850b2f9cc8" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2014-01-10 18:20:37 +01:00
< tr class = "memitem:a5062acbd19a52d88a998f19060fbc46a" > < td class = "memItemLeft" align = "right" valign = "top" > bool  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "class_p_s3_b_t.html#a5062acbd19a52d88a998f19060fbc46a" > getStatus< / a > (< a class = "el" href = "_p_s3_enums_8h.html#add5c7a32e8138b44244caf07232161ae" > StatusEnum< / a > c)< / td > < / tr >
< tr class = "separator:a5062acbd19a52d88a998f19060fbc46a" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a8f3945da5c4e00ce2fd3daf0b6267cec" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "class_p_s3_b_t.html#a8f3945da5c4e00ce2fd3daf0b6267cec" > printStatusString< / a > ()< / td > < / tr >
< tr class = "separator:a8f3945da5c4e00ce2fd3daf0b6267cec" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2013-01-30 22:00:18 +01:00
< tr class = "memitem:ab4f49b61167df001d13b68c7699651b4" > < td class = "memItemLeft" align = "right" valign = "top" > String  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "class_p_s3_b_t.html#ab4f49b61167df001d13b68c7699651b4" > getTemperature< / a > ()< / td > < / tr >
< tr class = "separator:ab4f49b61167df001d13b68c7699651b4" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a6ee74242b0c1644496ff04b457f39cd2" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "class_p_s3_b_t.html#a6ee74242b0c1644496ff04b457f39cd2" > setAllOff< / a > ()< / td > < / tr >
< tr class = "separator:a6ee74242b0c1644496ff04b457f39cd2" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a5c87e7db5311a5d56f78c994b5545e4e" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "class_p_s3_b_t.html#a5c87e7db5311a5d56f78c994b5545e4e" > setRumbleOff< / a > ()< / td > < / tr >
< tr class = "separator:a5c87e7db5311a5d56f78c994b5545e4e" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2014-06-09 17:02:31 +02:00
< tr class = "memitem:a7a3e593911490538c061e9ccb4273f87" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "class_p_s3_b_t.html#a7a3e593911490538c061e9ccb4273f87" > setRumbleOn< / a > (< a class = "el" href = "controller_enums_8h.html#ab195293384292950ebc2166bfe360fd1" > RumbleEnum< / a > mode)< / td > < / tr >
2014-01-10 18:20:37 +01:00
< tr class = "separator:a7a3e593911490538c061e9ccb4273f87" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2013-04-01 22:52:24 +02:00
< tr class = "memitem:ae309556e995afc10b13dfbe4e6c32798" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "class_p_s3_b_t.html#ae309556e995afc10b13dfbe4e6c32798" > setRumbleOn< / a > (uint8_t rightDuration, uint8_t rightPower, uint8_t leftDuration, uint8_t leftPower)< / td > < / tr >
< tr class = "separator:ae309556e995afc10b13dfbe4e6c32798" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a0acdc09661a8099b2d5e8b59cd8325bb" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "class_p_s3_b_t.html#a0acdc09661a8099b2d5e8b59cd8325bb" > setLedRaw< / a > (uint8_t value)< / td > < / tr >
< tr class = "separator:a0acdc09661a8099b2d5e8b59cd8325bb" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2013-11-25 00:46:52 +01:00
< tr class = "memitem:a2ce9fb6251b56ec877cd22af7213a037" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "class_p_s3_b_t.html#a2ce9fb6251b56ec877cd22af7213a037" > setLedOff< / a > ()< / td > < / tr >
< tr class = "separator:a2ce9fb6251b56ec877cd22af7213a037" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2014-01-10 18:20:37 +01:00
< tr class = "memitem:af8677eaae9121a60947a1743628cd20a" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "class_p_s3_b_t.html#af8677eaae9121a60947a1743628cd20a" > setLedOff< / a > (< a class = "el" href = "controller_enums_8h.html#a70df64e026046bc352983127b7ae2cf0" > LEDEnum< / a > a)< / td > < / tr >
< tr class = "separator:af8677eaae9121a60947a1743628cd20a" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a4e6cdea1880421a21cc8cfca0f00b449" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "class_p_s3_b_t.html#a4e6cdea1880421a21cc8cfca0f00b449" > setLedOn< / a > (< a class = "el" href = "controller_enums_8h.html#a70df64e026046bc352983127b7ae2cf0" > LEDEnum< / a > a)< / td > < / tr >
< tr class = "separator:a4e6cdea1880421a21cc8cfca0f00b449" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ae163b7f00d287f8647dabc2897d0d208" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "class_p_s3_b_t.html#ae163b7f00d287f8647dabc2897d0d208" > setLedToggle< / a > (< a class = "el" href = "controller_enums_8h.html#a70df64e026046bc352983127b7ae2cf0" > LEDEnum< / a > a)< / td > < / tr >
< tr class = "separator:ae163b7f00d287f8647dabc2897d0d208" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2013-01-30 22:00:18 +01:00
< tr class = "memitem:ad0926b75edcbb12ddf76f78e66728782" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "class_p_s3_b_t.html#ad0926b75edcbb12ddf76f78e66728782" > moveSetBulb< / a > (uint8_t r, uint8_t g, uint8_t b)< / td > < / tr >
< tr class = "separator:ad0926b75edcbb12ddf76f78e66728782" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2014-06-09 17:02:31 +02:00
< tr class = "memitem:abe1292b459edfd114ef129b3320d5317" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "class_p_s3_b_t.html#abe1292b459edfd114ef129b3320d5317" > moveSetBulb< / a > (< a class = "el" href = "controller_enums_8h.html#aac6fa7b0395b95cc528deaad0ce884a2" > ColorsEnum< / a > color)< / td > < / tr >
2014-01-10 18:20:37 +01:00
< tr class = "separator:abe1292b459edfd114ef129b3320d5317" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2013-01-30 22:00:18 +01:00
< tr class = "memitem:ac14d338ddb573d1c06f70749f9205689" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "class_p_s3_b_t.html#ac14d338ddb573d1c06f70749f9205689" > moveSetRumble< / a > (uint8_t rumble)< / td > < / tr >
< tr class = "separator:ac14d338ddb573d1c06f70749f9205689" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2014-06-09 17:02:31 +02:00
< tr class = "memitem:ad5b6bba68b85614f6a1b2ddeb2a3f191" > < td class = "memItemLeft" align = "right" valign = "top" > uint32_t  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "class_p_s3_b_t.html#ad5b6bba68b85614f6a1b2ddeb2a3f191" > getLastMessageTime< / a > ()< / td > < / tr >
< tr class = "separator:ad5b6bba68b85614f6a1b2ddeb2a3f191" > < td class = "memSeparator" colspan = "2" >   < / 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 = "-" / >   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 >
2013-01-30 22:00:18 +01:00
< / table > < table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "pub-attribs" > < / a >
Public Attributes< / h2 > < / td > < / tr >
< tr class = "memitem:a2804535e3164eafca80a6f6c6bd9a4f9" > < td class = "memItemLeft" align = "right" valign = "top" > bool  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "class_p_s3_b_t.html#a2804535e3164eafca80a6f6c6bd9a4f9" > PS3Connected< / a > < / td > < / tr >
< tr class = "separator:a2804535e3164eafca80a6f6c6bd9a4f9" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a9273b6796948b83772117b3805421b4a" > < td class = "memItemLeft" align = "right" valign = "top" > bool  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "class_p_s3_b_t.html#a9273b6796948b83772117b3805421b4a" > PS3MoveConnected< / a > < / td > < / tr >
< tr class = "separator:a9273b6796948b83772117b3805421b4a" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ab35277632083d43f8750d130bea6d430" > < td class = "memItemLeft" align = "right" valign = "top" > bool  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "class_p_s3_b_t.html#ab35277632083d43f8750d130bea6d430" > PS3NavigationConnected< / a > < / td > < / tr >
< tr class = "separator:ab35277632083d43f8750d130bea6d430" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2015-04-07 16:07:33 +02:00
< / table > < table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "member-group" > < / a >
BluetoothService implementation< / h2 > < / td > < / tr >
< tr class = "memitem:a39ad8810c67e85eddc68c8a16d38a985" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "class_p_s3_b_t.html#a39ad8810c67e85eddc68c8a16d38a985" > disconnect< / a > ()< / td > < / tr >
< tr class = "separator:a39ad8810c67e85eddc68c8a16d38a985" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:aa310ede24b68b1b03cfc49c4308c66b7" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "class_p_s3_b_t.html#aa310ede24b68b1b03cfc49c4308c66b7" > ACLData< / a > (uint8_t *ACLData)< / td > < / tr >
< tr class = "separator:aa310ede24b68b1b03cfc49c4308c66b7" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ab41f25f45573239990f68611dc825086" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "class_p_s3_b_t.html#ab41f25f45573239990f68611dc825086" > Run< / a > ()< / td > < / tr >
< tr class = "separator:ab41f25f45573239990f68611dc825086" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a576d72cdf12af58ae59c8f2a02f99c0f" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "class_p_s3_b_t.html#a576d72cdf12af58ae59c8f2a02f99c0f" > Reset< / a > ()< / td > < / tr >
< tr class = "separator:a576d72cdf12af58ae59c8f2a02f99c0f" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a4ed5311e2ba8b2700ab003e37e0f9172" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "class_p_s3_b_t.html#a4ed5311e2ba8b2700ab003e37e0f9172" > onInit< / a > ()< / td > < / tr >
< tr class = "separator:a4ed5311e2ba8b2700ab003e37e0f9172" > < 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 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_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 >
2018-10-13 16:56:59 +02:00
< tr class = "memitem:a66f087561ef07b2c45ff0f11796c3109 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#a66f087561ef07b2c45ff0f11796c3109" > pFuncOnInit< / a > )(void)< / td > < / tr >
< tr class = "separator:a66f087561ef07b2c45ff0f11796c3109 inherit pro_attribs_class_bluetooth_service" > < td class = "memSeparator" colspan = "2" >   < / 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 > *  < / 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 >
2013-01-30 22:00:18 +01:00
< / table >
2013-02-05 20:02:12 +01:00
< a name = "details" id = "details" > < / a > < h2 class = "groupheader" > Detailed Description< / h2 >
< div class = "textblock" > < p > This < a class = "el" href = "class_bluetooth_service.html" > BluetoothService< / a > class implements support for all the official PS3 Controllers: Dualshock 3, Navigation or a Motion controller via Bluetooth.< / p >
< p > Information about the protocol can be found at the wiki: < a href = "https://github.com/felis/USB_Host_Shield_2.0/wiki/PS3-Information" > https://github.com/felis/USB_Host_Shield_2.0/wiki/PS3-Information< / a > . < / p >
2018-10-13 16:56:59 +02:00
< p > Definition at line < a class = "el" href = "_p_s3_b_t_8h_source.html#l00032" > 32< / a > of file < a class = "el" href = "_p_s3_b_t_8h_source.html" > PS3BT.h< / a > .< / p >
2013-02-05 20:02:12 +01:00
< / div > < h2 class = "groupheader" > Constructor & Destructor Documentation< / h2 >
2018-10-13 16:56:59 +02:00
< a class = "anchor" id = "aab14832f7844f07e6287eb443019b6e7" > < / a >
2013-01-30 22:00:18 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > PS3BT::PS3BT < / td >
< td > (< / td >
< td class = "paramtype" > < a class = "el" href = "class_b_t_d.html" > BTD< / a > *  < / td >
< td class = "paramname" > < em > pBtd< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint8_t  < / td >
< td class = "paramname" > < em > btadr5< / em > = < code > 0< / code > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint8_t  < / td >
< td class = "paramname" > < em > btadr4< / em > = < code > 0< / code > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint8_t  < / td >
< td class = "paramname" > < em > btadr3< / em > = < code > 0< / code > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint8_t  < / td >
< td class = "paramname" > < em > btadr2< / em > = < code > 0< / code > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint8_t  < / td >
< td class = "paramname" > < em > btadr1< / em > = < code > 0< / code > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint8_t  < / td >
< td class = "paramname" > < em > btadr0< / em > = < code > 0< / code >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2018-10-13 16:56:59 +02:00
< p > Constructor for the < a class = "el" href = "class_p_s3_b_t.html" > PS3BT< / a > class. < / p >
< dl class = "params" > < dt > Parameters< / dt > < dd >
2013-02-05 20:02:12 +01:00
< table class = "params" >
< tr > < td class = "paramname" > pBtd< / td > < td > Pointer to < a class = "el" href = "class_b_t_d.html" > BTD< / a > class instance. < / td > < / tr >
< tr > < td class = "paramname" > btadr5,btadr4,btadr3,btadr2,btadr1,btadr0< / td > < td > Pass your dongles Bluetooth address into the constructor, This will set < a class = "el" href = "class_b_t_d.html#a1f8e9171a310e50f2c4a3c19066efe5a" > BTD::my_bdaddr< / a > , so you don't have to plug in the dongle before pairing with your controller. < / td > < / tr >
< / table >
< / dd >
< / dl >
2018-10-13 16:56:59 +02:00
< p > Definition at line < a class = "el" href = "_p_s3_b_t_8cpp_source.html#l00023" > 23< / a > of file < a class = "el" href = "_p_s3_b_t_8cpp_source.html" > PS3BT.cpp< / a > .< / p >
2013-01-30 22:00:18 +01:00
< / div >
< / div >
< h2 class = "groupheader" > Member Function Documentation< / h2 >
2018-10-13 16:56:59 +02:00
< a class = "anchor" id = "a39ad8810c67e85eddc68c8a16d38a985" > < / a >
2013-01-30 22:00:18 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > void PS3BT::disconnect < / td >
< td > (< / td >
2013-10-21 21:15:43 +02:00
< td class = "paramname" > < / td > < td > )< / td >
2013-01-30 22:00:18 +01:00
< td > < / td >
< / tr >
< / table >
< / td >
< td class = "mlabels-right" >
< span class = "mlabels" > < span class = "mlabel" > virtual< / span > < / span > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2013-02-05 20:02:12 +01:00
< p > Used this to disconnect any of the controllers. < / p >
2013-01-30 22:00:18 +01:00
2015-04-07 16:07:33 +02:00
< p > Implements < a class = "el" href = "class_bluetooth_service.html#a7bb2c8cccf3f2931629ead9becc51ec9" > BluetoothService< / a > .< / p >
2013-01-30 22:00:18 +01:00
2018-10-13 16:56:59 +02:00
< p > Definition at line < a class = "el" href = "_p_s3_b_t_8cpp_source.html#l00217" > 217< / a > of file < a class = "el" href = "_p_s3_b_t_8cpp_source.html" > PS3BT.cpp< / a > .< / p >
2013-02-05 20:02:12 +01:00
2013-01-30 22:00:18 +01:00
< / div >
< / div >
2018-10-13 16:56:59 +02:00
< a class = "anchor" id = "a5e7842bef25e7c7210974f5405e1bc81" > < / a >
2013-01-30 22:00:18 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2013-02-17 01:37:13 +01:00
< td class = "memname" > bool PS3BT::getButtonPress < / td >
2013-01-30 22:00:18 +01:00
< td > (< / td >
2014-01-10 18:20:37 +01:00
< td class = "paramtype" > < a class = "el" href = "controller_enums_8h.html#a94f7389d205c78830a5441370d7870fd" > ButtonEnum< / a >   < / td >
2013-10-21 21:15:43 +02:00
< td class = "paramname" > < em > b< / em > < / td > < td > )< / td >
2013-01-30 22:00:18 +01:00
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2014-01-10 18:20:37 +01:00
< p > < a class = "el" href = "class_p_s3_b_t.html#a5e7842bef25e7c7210974f5405e1bc81" > getButtonPress(ButtonEnum b)< / a > will return true as long as the button is held down.< / p >
< p > While < a class = "el" href = "class_p_s3_b_t.html#a3b0e522b5d8a39d3daf540e4feb4f5fe" > getButtonClick(ButtonEnum b)< / a > will only return it once.< / p >
2018-10-13 16:56:59 +02:00
< p > So you instance if you need to increase a variable once you would use < a class = "el" href = "class_p_s3_b_t.html#a3b0e522b5d8a39d3daf540e4feb4f5fe" > getButtonClick(ButtonEnum b)< / a > , but if you need to drive a robot forward you would use < a class = "el" href = "class_p_s3_b_t.html#a5e7842bef25e7c7210974f5405e1bc81" > getButtonPress(ButtonEnum b)< / a > . < / p >
< dl class = "params" > < dt > Parameters< / dt > < dd >
2014-01-10 18:20:37 +01:00
< table class = "params" >
< tr > < td class = "paramname" > b< / td > < td > < a class = "el" href = "controller_enums_8h.html#a94f7389d205c78830a5441370d7870fd" > ButtonEnum< / a > to read. < / td > < / tr >
< / table >
< / dd >
< / dl >
< dl class = "section return" > < dt > Returns< / dt > < dd > < a class = "el" href = "class_p_s3_b_t.html#a5e7842bef25e7c7210974f5405e1bc81" > getButtonPress(ButtonEnum b)< / a > will return a true as long as a button is held down, while < a class = "el" href = "class_p_s3_b_t.html#a3b0e522b5d8a39d3daf540e4feb4f5fe" > getButtonClick(ButtonEnum b)< / a > will return true once for each button press. < / dd > < / dl >
2013-02-05 20:02:12 +01:00
2018-10-13 16:56:59 +02:00
< p > Definition at line < a class = "el" href = "_p_s3_b_t_8cpp_source.html#l00049" > 49< / a > of file < a class = "el" href = "_p_s3_b_t_8cpp_source.html" > PS3BT.cpp< / a > .< / p >
2013-02-17 01:37:13 +01:00
< / div >
< / div >
2018-10-13 16:56:59 +02:00
< a class = "anchor" id = "a3b0e522b5d8a39d3daf540e4feb4f5fe" > < / a >
2013-02-17 01:37:13 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > bool PS3BT::getButtonClick < / td >
< td > (< / td >
2014-01-10 18:20:37 +01:00
< td class = "paramtype" > < a class = "el" href = "controller_enums_8h.html#a94f7389d205c78830a5441370d7870fd" > ButtonEnum< / a >   < / td >
2013-10-21 21:15:43 +02:00
< td class = "paramname" > < em > b< / em > < / td > < td > )< / td >
2013-02-17 01:37:13 +01:00
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2014-01-10 18:20:37 +01:00
< p > < a class = "el" href = "class_p_s3_b_t.html#a5e7842bef25e7c7210974f5405e1bc81" > getButtonPress(ButtonEnum b)< / a > will return true as long as the button is held down.< / p >
< p > While < a class = "el" href = "class_p_s3_b_t.html#a3b0e522b5d8a39d3daf540e4feb4f5fe" > getButtonClick(ButtonEnum b)< / a > will only return it once.< / p >
2018-10-13 16:56:59 +02:00
< p > So you instance if you need to increase a variable once you would use < a class = "el" href = "class_p_s3_b_t.html#a3b0e522b5d8a39d3daf540e4feb4f5fe" > getButtonClick(ButtonEnum b)< / a > , but if you need to drive a robot forward you would use < a class = "el" href = "class_p_s3_b_t.html#a5e7842bef25e7c7210974f5405e1bc81" > getButtonPress(ButtonEnum b)< / a > . < / p >
< dl class = "params" > < dt > Parameters< / dt > < dd >
2014-01-10 18:20:37 +01:00
< table class = "params" >
< tr > < td class = "paramname" > b< / td > < td > < a class = "el" href = "controller_enums_8h.html#a94f7389d205c78830a5441370d7870fd" > ButtonEnum< / a > to read. < / td > < / tr >
< / table >
< / dd >
< / dl >
< dl class = "section return" > < dt > Returns< / dt > < dd > < a class = "el" href = "class_p_s3_b_t.html#a5e7842bef25e7c7210974f5405e1bc81" > getButtonPress(ButtonEnum b)< / a > will return a true as long as a button is held down, while < a class = "el" href = "class_p_s3_b_t.html#a3b0e522b5d8a39d3daf540e4feb4f5fe" > getButtonClick(ButtonEnum b)< / a > will return true once for each button press. < / dd > < / dl >
2013-02-17 01:37:13 +01:00
2018-10-13 16:56:59 +02:00
< p > Definition at line < a class = "el" href = "_p_s3_b_t_8cpp_source.html#l00053" > 53< / a > of file < a class = "el" href = "_p_s3_b_t_8cpp_source.html" > PS3BT.cpp< / a > .< / p >
2013-01-30 22:00:18 +01:00
< / div >
< / div >
2018-10-13 16:56:59 +02:00
< a class = "anchor" id = "a6dac11972fc4b1f5984d43365be1a954" > < / a >
2013-01-30 22:00:18 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > uint8_t PS3BT::getAnalogButton < / td >
< td > (< / td >
2014-01-10 18:20:37 +01:00
< td class = "paramtype" > < a class = "el" href = "controller_enums_8h.html#a94f7389d205c78830a5441370d7870fd" > ButtonEnum< / a >   < / td >
2013-10-21 21:15:43 +02:00
< td class = "paramname" > < em > a< / em > < / td > < td > )< / td >
2013-01-30 22:00:18 +01:00
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2018-10-13 16:56:59 +02:00
< p > Used to get the analog value from button presses. < / p >
< dl class = "params" > < dt > Parameters< / dt > < dd >
2013-02-05 20:02:12 +01:00
< table class = "params" >
2014-01-10 18:20:37 +01:00
< tr > < td class = "paramname" > a< / td > < td > The < a class = "el" href = "controller_enums_8h.html#a94f7389d205c78830a5441370d7870fd" > ButtonEnum< / a > to read. The supported buttons are: < a class = "el" href = "controller_enums_8h.html#a94f7389d205c78830a5441370d7870fdaba595d8bca8bc5e67c37c0a9d89becfa" > UP< / a > , < a class = "el" href = "controller_enums_8h.html#a94f7389d205c78830a5441370d7870fdaec8379af7490bb9eaaf579cf17876f38" > RIGHT< / a > , < a class = "el" href = "controller_enums_8h.html#a94f7389d205c78830a5441370d7870fda9b0b4a95b99523966e0e34ffdadac9da" > DOWN< / a > , < a class = "el" href = "controller_enums_8h.html#a94f7389d205c78830a5441370d7870fdadb45120aafd37a973140edee24708065" > LEFT< / a > , < a class = "el" href = "controller_enums_8h.html#a94f7389d205c78830a5441370d7870fdae5bc7ee7d6dda5340a28f91834f10543" > L1< / a > , < a class = "el" href = "controller_enums_8h.html#a94f7389d205c78830a5441370d7870fda0adffb24dae0c41be5b803f4d444f066" > L2< / a > , < a class = "el" href = "controller_enums_8h.html#a94f7389d205c78830a5441370d7870fdaf8d87ff07efe24755164f550526f4dac" > R1< / a > , < a class = "el" href = "controller_enums_8h.html#a94f7389d205c78830a5441370d7870fda629d7b403cea5f826352f3aefb9a6d6a" > R2< / a > , < a class = "el" href = "controller_enums_8h.html#a94f7389d205c78830a5441370d7870fda2fd33892864d1c342d3bead2f2d9ad56" > TRIANGLE< / a > , < a class = "el" href = "controller_enums_8h.html#a94f7389d205c78830a5441370d7870fdaa79c827759ea48f0735386c4b1188911" > CIRCLE< / a > , < a class = "el" href = "controller_enums_8h.html#a94f7389d205c78830a5441370d7870fdad699bdf1731bd839b56c299536ba1d9d" > CROSS< / a > , < a class = "el" href = "controller_enums_8h.html#a94f7389d205c78830a5441370d7870fda4233fbf0cafb86abcee94b38d769fc59" > SQUARE< / a > , and < a class = "el" href = "controller_enums_8h.html#a94f7389d205c78830a5441370d7870fda21f40778b7db9343a6ca75ec2c41ccce" > T< / a > . < / td > < / tr >
2013-02-05 20:02:12 +01:00
< / table >
< / dd >
< / dl >
< dl class = "section return" > < dt > Returns< / dt > < dd > Analog value in the range of 0-255. < / dd > < / dl >
2018-10-13 16:56:59 +02:00
< p > Definition at line < a class = "el" href = "_p_s3_b_t_8cpp_source.html#l00060" > 60< / a > of file < a class = "el" href = "_p_s3_b_t_8cpp_source.html" > PS3BT.cpp< / a > .< / p >
2013-01-30 22:00:18 +01:00
< / div >
< / div >
2018-10-13 16:56:59 +02:00
< a class = "anchor" id = "a648e2bfeb06e2dc1603202e95324b206" > < / a >
2013-01-30 22:00:18 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > uint8_t PS3BT::getAnalogHat < / td >
< td > (< / td >
2014-01-10 18:20:37 +01:00
< td class = "paramtype" > < a class = "el" href = "controller_enums_8h.html#a34dad8f0a0927471137c403216597093" > AnalogHatEnum< / a >   < / td >
2013-10-21 21:15:43 +02:00
< td class = "paramname" > < em > a< / em > < / td > < td > )< / td >
2013-01-30 22:00:18 +01:00
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2018-10-13 16:56:59 +02:00
< p > Used to read the analog joystick. < / p >
< dl class = "params" > < dt > Parameters< / dt > < dd >
2013-02-05 20:02:12 +01:00
< table class = "params" >
2014-01-10 18:20:37 +01:00
< tr > < td class = "paramname" > a< / td > < td > < a class = "el" href = "controller_enums_8h.html#a34dad8f0a0927471137c403216597093a383cb8895dd296b7f69ce845ed16b0ca" > LeftHatX< / a > , < a class = "el" href = "controller_enums_8h.html#a34dad8f0a0927471137c403216597093af3f3925efa9762c4e9e71ac7da7a94a3" > LeftHatY< / a > , < a class = "el" href = "controller_enums_8h.html#a34dad8f0a0927471137c403216597093aaeb027a0ae5bbc6ba25e1c78a6486c7b" > RightHatX< / a > , and < a class = "el" href = "controller_enums_8h.html#a34dad8f0a0927471137c403216597093a7f1fb2db5381286691f4dec179ed5d5a" > RightHatY< / a > . < / td > < / tr >
2013-02-05 20:02:12 +01:00
< / table >
< / dd >
< / dl >
< dl class = "section return" > < dt > Returns< / dt > < dd > Return the analog value in the range of 0-255. < / dd > < / dl >
2018-10-13 16:56:59 +02:00
< p > Definition at line < a class = "el" href = "_p_s3_b_t_8cpp_source.html#l00064" > 64< / a > of file < a class = "el" href = "_p_s3_b_t_8cpp_source.html" > PS3BT.cpp< / a > .< / p >
2013-01-30 22:00:18 +01:00
< / div >
< / div >
2018-10-13 16:56:59 +02:00
< a class = "anchor" id = "a07c8dcb809005e8492bbef4e1f4b9d24" > < / a >
2013-01-30 22:00:18 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2013-02-17 01:37:13 +01:00
< td class = "memname" > int16_t PS3BT::getSensor < / td >
2013-01-30 22:00:18 +01:00
< td > (< / td >
2014-01-19 17:17:06 +01:00
< td class = "paramtype" > < a class = "el" href = "controller_enums_8h.html#a00d5030559c481763282483889597d51" > SensorEnum< / a >   < / td >
2013-10-21 21:15:43 +02:00
< td class = "paramname" > < em > a< / em > < / td > < td > )< / td >
2013-01-30 22:00:18 +01:00
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2018-10-13 16:56:59 +02:00
< p > Used to read the sensors inside the Dualshock 3 and Move controller. < / p >
< dl class = "params" > < dt > Parameters< / dt > < dd >
2013-02-05 20:02:12 +01:00
< table class = "params" >
2013-02-17 01:37:13 +01:00
< tr > < td class = "paramname" > a< / td > < td > The Dualshock 3 has a 3-axis accelerometer and a 1-axis gyro inside. The Move controller has a 3-axis accelerometer, a 3-axis gyro, a 3-axis magnetometer and a temperature sensor inside. < / td > < / tr >
2013-02-05 20:02:12 +01:00
< / table >
< / dd >
< / dl >
2013-02-17 01:37:13 +01:00
< dl class = "section return" > < dt > Returns< / dt > < dd > Return the raw sensor value. < / dd > < / dl >
2013-02-05 20:02:12 +01:00
2018-10-13 16:56:59 +02:00
< p > Definition at line < a class = "el" href = "_p_s3_b_t_8cpp_source.html#l00068" > 68< / a > of file < a class = "el" href = "_p_s3_b_t_8cpp_source.html" > PS3BT.cpp< / a > .< / p >
2013-01-30 22:00:18 +01:00
< / div >
< / div >
2018-10-13 16:56:59 +02:00
< a class = "anchor" id = "abf7179f12e5e8cf3e9e13c69c2713592" > < / a >
2013-01-30 22:00:18 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2016-04-19 18:16:46 +02:00
< td class = "memname" > float PS3BT::getAngle < / td >
2013-01-30 22:00:18 +01:00
< td > (< / td >
2014-01-19 17:17:06 +01:00
< td class = "paramtype" > < a class = "el" href = "controller_enums_8h.html#a7c7824a10a9ffa8fea85602fcf4d84e6" > AngleEnum< / a >   < / td >
2013-10-21 21:15:43 +02:00
< td class = "paramname" > < em > a< / em > < / td > < td > )< / td >
2013-01-30 22:00:18 +01:00
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2018-10-13 16:56:59 +02:00
< p > Use this to get < a class = "el" href = "controller_enums_8h.html#a7c7824a10a9ffa8fea85602fcf4d84e6ae3a34b760fa4a6854f28852e91d8bb47" > Pitch< / a > and < a class = "el" href = "controller_enums_8h.html#a7c7824a10a9ffa8fea85602fcf4d84e6a9d80e5f030503ccac779c6491826a173" > Roll< / a > calculated using the accelerometer. < / p >
< dl class = "params" > < dt > Parameters< / dt > < dd >
2013-02-17 01:37:13 +01:00
< table class = "params" >
2014-01-19 17:17:06 +01:00
< tr > < td class = "paramname" > a< / td > < td > Either < a class = "el" href = "controller_enums_8h.html#a7c7824a10a9ffa8fea85602fcf4d84e6ae3a34b760fa4a6854f28852e91d8bb47" > Pitch< / a > or < a class = "el" href = "controller_enums_8h.html#a7c7824a10a9ffa8fea85602fcf4d84e6a9d80e5f030503ccac779c6491826a173" > Roll< / a > . < / td > < / tr >
2013-02-17 01:37:13 +01:00
< / table >
< / dd >
< / dl >
< dl class = "section return" > < dt > Returns< / dt > < dd > Return the angle in the range of 0-360. < / dd > < / dl >
2013-02-05 20:02:12 +01:00
2018-10-13 16:56:59 +02:00
< p > Definition at line < a class = "el" href = "_p_s3_b_t_8cpp_source.html#l00085" > 85< / a > of file < a class = "el" href = "_p_s3_b_t_8cpp_source.html" > PS3BT.cpp< / a > .< / p >
2013-01-30 22:00:18 +01:00
< / div >
< / div >
2018-10-13 16:56:59 +02:00
< a class = "anchor" id = "a1ed9dead526c19fc912506850b2f9cc8" > < / a >
2013-01-30 22:00:18 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2016-04-19 18:16:46 +02:00
< td class = "memname" > float PS3BT::get9DOFValues < / td >
2013-01-30 22:00:18 +01:00
< td > (< / td >
2014-01-19 17:17:06 +01:00
< td class = "paramtype" > < a class = "el" href = "controller_enums_8h.html#a00d5030559c481763282483889597d51" > SensorEnum< / a >   < / td >
2013-10-21 21:15:43 +02:00
< td class = "paramname" > < em > a< / em > < / td > < td > )< / td >
2013-01-30 22:00:18 +01:00
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2018-10-13 16:56:59 +02:00
< p > Read the sensors inside the Move controller. < / p >
< dl class = "params" > < dt > Parameters< / dt > < dd >
2013-02-05 20:02:12 +01:00
< table class = "params" >
2014-01-19 17:17:06 +01:00
< tr > < td class = "paramname" > a< / td > < td > < a class = "el" href = "controller_enums_8h.html#a00d5030559c481763282483889597d51a832ceb5090692e95e93982849f740de7" > aXmove< / a > , < a class = "el" href = "controller_enums_8h.html#a00d5030559c481763282483889597d51a5c436ac329e20e6b7661152c74e82199" > aYmove< / a > , < a class = "el" href = "controller_enums_8h.html#a00d5030559c481763282483889597d51a077e283d0c3f06568c20adf90ced0a3f" > aZmove< / a > , < a class = "el" href = "controller_enums_8h.html#a00d5030559c481763282483889597d51a1851ce90f7a3f6acb062de46e78ca731" > gXmove< / a > , < a class = "el" href = "controller_enums_8h.html#a00d5030559c481763282483889597d51a9c538a78bbc03fb258e1141acdc69a91" > gYmove< / a > , < a class = "el" href = "controller_enums_8h.html#a00d5030559c481763282483889597d51a9ea1d99ce7ddecd65fcb39f30c77037d" > gZmove< / a > , < a class = "el" href = "controller_enums_8h.html#a00d5030559c481763282483889597d51a9d1f82ecbf55d931c3f49858d86d4d68" > mXmove< / a > , < a class = "el" href = "controller_enums_8h.html#a00d5030559c481763282483889597d51aee1254b85fe360243299d2041323aa78" > mYmove< / a > , and < a class = "el" href = "controller_enums_8h.html#a00d5030559c481763282483889597d51a9d1f82ecbf55d931c3f49858d86d4d68" > mXmove< / a > . < / td > < / tr >
2013-02-05 20:02:12 +01:00
< / table >
< / dd >
< / dl >
2013-02-17 01:37:13 +01:00
< dl class = "section return" > < dt > Returns< / dt > < dd > The value in SI units. < / dd > < / dl >
2013-02-05 20:02:12 +01:00
2018-10-13 16:56:59 +02:00
< p > Definition at line < a class = "el" href = "_p_s3_b_t_8cpp_source.html#l00112" > 112< / a > of file < a class = "el" href = "_p_s3_b_t_8cpp_source.html" > PS3BT.cpp< / a > .< / p >
2013-01-30 22:00:18 +01:00
< / div >
< / div >
2018-10-13 16:56:59 +02:00
< a class = "anchor" id = "a5062acbd19a52d88a998f19060fbc46a" > < / a >
2013-01-30 22:00:18 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > bool PS3BT::getStatus < / td >
< td > (< / td >
2014-01-10 18:20:37 +01:00
< td class = "paramtype" > < a class = "el" href = "_p_s3_enums_8h.html#add5c7a32e8138b44244caf07232161ae" > StatusEnum< / a >   < / td >
2013-10-21 21:15:43 +02:00
< td class = "paramname" > < em > c< / em > < / td > < td > )< / td >
2013-01-30 22:00:18 +01:00
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2018-10-13 16:56:59 +02:00
< p > Get the status from the controller. < / p >
< dl class = "params" > < dt > Parameters< / dt > < dd >
2013-02-05 20:02:12 +01:00
< table class = "params" >
2014-01-10 18:20:37 +01:00
< tr > < td class = "paramname" > c< / td > < td > The < a class = "el" href = "_p_s3_enums_8h.html#add5c7a32e8138b44244caf07232161ae" > StatusEnum< / a > you want to read. < / td > < / tr >
2013-02-05 20:02:12 +01:00
< / table >
< / dd >
< / dl >
< dl class = "section return" > < dt > Returns< / dt > < dd > True if correct and false if not. < / dd > < / dl >
2018-10-13 16:56:59 +02:00
< p > Definition at line < a class = "el" href = "_p_s3_b_t_8cpp_source.html#l00156" > 156< / a > of file < a class = "el" href = "_p_s3_b_t_8cpp_source.html" > PS3BT.cpp< / a > .< / p >
2013-01-30 22:00:18 +01:00
< / div >
< / div >
2018-10-13 16:56:59 +02:00
< a class = "anchor" id = "a8f3945da5c4e00ce2fd3daf0b6267cec" > < / a >
2013-01-30 22:00:18 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2014-01-10 18:20:37 +01:00
< td class = "memname" > void PS3BT::printStatusString < / td >
2013-01-30 22:00:18 +01:00
< td > (< / td >
2013-10-21 21:15:43 +02:00
< td class = "paramname" > < / td > < td > )< / td >
2013-01-30 22:00:18 +01:00
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2014-01-10 18:20:37 +01:00
< p > Read all the available statuses from the controller and prints it as a nice formated string. < / p >
2013-02-05 20:02:12 +01:00
2018-10-13 16:56:59 +02:00
< p > Definition at line < a class = "el" href = "_p_s3_b_t_8cpp_source.html#l00160" > 160< / a > of file < a class = "el" href = "_p_s3_b_t_8cpp_source.html" > PS3BT.cpp< / a > .< / p >
2013-01-30 22:00:18 +01:00
< / div >
< / div >
2018-10-13 16:56:59 +02:00
< a class = "anchor" id = "ab4f49b61167df001d13b68c7699651b4" > < / a >
2013-01-30 22:00:18 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > String PS3BT::getTemperature < / td >
< td > (< / td >
2013-10-21 21:15:43 +02:00
< td class = "paramname" > < / td > < td > )< / td >
2013-01-30 22:00:18 +01:00
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2018-10-13 16:56:59 +02:00
< p > Read the temperature from the Move controller. < / p >
< dl class = "section return" > < dt > Returns< / dt > < dd > The temperature in degrees Celsius. < / dd > < / dl >
2013-02-05 20:02:12 +01:00
2018-10-13 16:56:59 +02:00
< p > Definition at line < a class = "el" href = "_p_s3_b_t_8cpp_source.html#l00141" > 141< / a > of file < a class = "el" href = "_p_s3_b_t_8cpp_source.html" > PS3BT.cpp< / a > .< / p >
2013-01-30 22:00:18 +01:00
< / div >
< / div >
2018-10-13 16:56:59 +02:00
< a class = "anchor" id = "a6ee74242b0c1644496ff04b457f39cd2" > < / a >
2013-01-30 22:00:18 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2013-02-17 01:37:13 +01:00
< td class = "memname" > void PS3BT::setAllOff < / td >
2013-01-30 22:00:18 +01:00
< td > (< / td >
2013-10-21 21:15:43 +02:00
< td class = "paramname" > < / td > < td > )< / td >
2013-01-30 22:00:18 +01:00
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2014-01-10 18:20:37 +01:00
< p > Used to set all LEDs and rumble off. < / p >
2013-02-05 20:02:12 +01:00
2018-10-13 16:56:59 +02:00
< p > Definition at line < a class = "el" href = "_p_s3_b_t_8cpp_source.html#l00519" > 519< / a > of file < a class = "el" href = "_p_s3_b_t_8cpp_source.html" > PS3BT.cpp< / a > .< / p >
2013-01-30 22:00:18 +01:00
< / div >
< / div >
2018-10-13 16:56:59 +02:00
< a class = "anchor" id = "a5c87e7db5311a5d56f78c994b5545e4e" > < / a >
2013-01-30 22:00:18 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2013-02-17 01:37:13 +01:00
< td class = "memname" > void PS3BT::setRumbleOff < / td >
2013-01-30 22:00:18 +01:00
< td > (< / td >
2013-10-21 21:15:43 +02:00
< td class = "paramname" > < / td > < td > )< / td >
2013-01-30 22:00:18 +01:00
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2014-01-10 18:20:37 +01:00
< p > Turn off rumble. < / p >
2013-02-05 20:02:12 +01:00
2018-10-13 16:56:59 +02:00
< p > Definition at line < a class = "el" href = "_p_s3_b_t_8cpp_source.html#l00530" > 530< / a > of file < a class = "el" href = "_p_s3_b_t_8cpp_source.html" > PS3BT.cpp< / a > .< / p >
2013-01-30 22:00:18 +01:00
< / div >
< / div >
2018-10-13 16:56:59 +02:00
< a class = "anchor" id = "a7a3e593911490538c061e9ccb4273f87" > < / a >
2013-01-30 22:00:18 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2013-02-17 01:37:13 +01:00
< td class = "memname" > void PS3BT::setRumbleOn < / td >
2013-01-30 22:00:18 +01:00
< td > (< / td >
2014-06-09 17:02:31 +02:00
< td class = "paramtype" > < a class = "el" href = "controller_enums_8h.html#ab195293384292950ebc2166bfe360fd1" > RumbleEnum< / a >   < / td >
2013-10-21 21:15:43 +02:00
< td class = "paramname" > < em > mode< / em > < / td > < td > )< / td >
2013-01-30 22:00:18 +01:00
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2018-10-13 16:56:59 +02:00
< p > Turn on rumble. < / p >
< dl class = "params" > < dt > Parameters< / dt > < dd >
2013-02-05 20:02:12 +01:00
< table class = "params" >
2014-06-09 17:02:31 +02:00
< tr > < td class = "paramname" > mode< / td > < td > Either < a class = "el" href = "controller_enums_8h.html#ab195293384292950ebc2166bfe360fd1a5819f165165589a8e65b07bf46c7382b" > RumbleHigh< / a > or < a class = "el" href = "controller_enums_8h.html#ab195293384292950ebc2166bfe360fd1a080b52389e532b79b9e48f43ae6086ac" > RumbleLow< / a > . < / td > < / tr >
2013-02-05 20:02:12 +01:00
< / table >
< / dd >
< / dl >
2018-10-13 16:56:59 +02:00
< p > Definition at line < a class = "el" href = "_p_s3_b_t_8cpp_source.html#l00540" > 540< / a > of file < a class = "el" href = "_p_s3_b_t_8cpp_source.html" > PS3BT.cpp< / a > .< / p >
2013-04-01 22:52:24 +02:00
< / div >
< / div >
2018-10-13 16:56:59 +02:00
< a class = "anchor" id = "ae309556e995afc10b13dfbe4e6c32798" > < / a >
2013-04-01 22:52:24 +02:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > void PS3BT::setRumbleOn < / td >
< td > (< / td >
< td class = "paramtype" > uint8_t  < / td >
< td class = "paramname" > < em > rightDuration< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint8_t  < / td >
< td class = "paramname" > < em > rightPower< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint8_t  < / td >
< td class = "paramname" > < em > leftDuration< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint8_t  < / td >
< td class = "paramname" > < em > leftPower< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2018-10-13 16:56:59 +02:00
< p > Turn on rumble using custom duration and power. < / p >
< dl class = "params" > < dt > Parameters< / dt > < dd >
2013-04-01 22:52:24 +02:00
< table class = "params" >
< tr > < td class = "paramname" > rightDuration< / td > < td > The duration of the right/low rumble effect. < / td > < / tr >
< tr > < td class = "paramname" > rightPower< / td > < td > The intensity of the right/low rumble effect. < / td > < / tr >
< tr > < td class = "paramname" > leftDuration< / td > < td > The duration of the left/high rumble effect. < / td > < / tr >
< tr > < td class = "paramname" > leftPower< / td > < td > The intensity of the left/high rumble effect. < / td > < / tr >
< / table >
< / dd >
< / dl >
2018-10-13 16:56:59 +02:00
< p > Definition at line < a class = "el" href = "_p_s3_b_t_8cpp_source.html#l00549" > 549< / a > of file < a class = "el" href = "_p_s3_b_t_8cpp_source.html" > PS3BT.cpp< / a > .< / p >
2013-04-01 22:52:24 +02:00
< / div >
< / div >
2018-10-13 16:56:59 +02:00
< a class = "anchor" id = "a0acdc09661a8099b2d5e8b59cd8325bb" > < / a >
2013-04-01 22:52:24 +02:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > void PS3BT::setLedRaw < / td >
< td > (< / td >
< td class = "paramtype" > uint8_t  < / td >
2013-10-21 21:15:43 +02:00
< td class = "paramname" > < em > value< / em > < / td > < td > )< / td >
2013-04-01 22:52:24 +02:00
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2018-10-13 16:56:59 +02:00
< p > Set LED value without using < a class = "el" href = "controller_enums_8h.html#a70df64e026046bc352983127b7ae2cf0" > LEDEnum< / a > . < / p >
< dl class = "params" > < dt > Parameters< / dt > < dd >
2013-04-01 22:52:24 +02:00
< table class = "params" >
2014-01-10 18:20:37 +01:00
< tr > < td class = "paramname" > value< / td > < td > See: < a class = "el" href = "controller_enums_8h.html#a70df64e026046bc352983127b7ae2cf0" > LEDEnum< / a > . < / td > < / tr >
2013-04-01 22:52:24 +02:00
< / table >
< / dd >
< / dl >
2018-10-13 16:56:59 +02:00
< p > Definition at line < a class = "el" href = "_p_s3_b_t_8cpp_source.html#l00559" > 559< / a > of file < a class = "el" href = "_p_s3_b_t_8cpp_source.html" > PS3BT.cpp< / a > .< / p >
2013-11-25 00:46:52 +01:00
< / div >
< / div >
2018-10-13 16:56:59 +02:00
< a class = "anchor" id = "a2ce9fb6251b56ec877cd22af7213a037" > < / a >
2013-11-25 00:46:52 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > void PS3BT::setLedOff < / 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 > Turn all LEDs off. < / p >
2018-10-13 16:56:59 +02:00
< p > Definition at line < a class = "el" href = "_p_s3_b_t_8h_source.html#l00138" > 138< / a > of file < a class = "el" href = "_p_s3_b_t_8h_source.html" > PS3BT.h< / a > .< / p >
2013-01-30 22:00:18 +01:00
< / div >
< / div >
2018-10-13 16:56:59 +02:00
< a class = "anchor" id = "af8677eaae9121a60947a1743628cd20a" > < / a >
2013-01-30 22:00:18 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > void PS3BT::setLedOff < / td >
< td > (< / td >
2014-01-10 18:20:37 +01:00
< td class = "paramtype" > < a class = "el" href = "controller_enums_8h.html#a70df64e026046bc352983127b7ae2cf0" > LEDEnum< / a >   < / td >
2013-10-21 21:15:43 +02:00
< td class = "paramname" > < em > a< / em > < / td > < td > )< / td >
2013-01-30 22:00:18 +01:00
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2018-10-13 16:56:59 +02:00
< p > Turn the specific LED off. < / p >
< dl class = "params" > < dt > Parameters< / dt > < dd >
2013-02-05 20:02:12 +01:00
< table class = "params" >
2014-01-10 18:20:37 +01:00
< tr > < td class = "paramname" > a< / td > < td > The < a class = "el" href = "controller_enums_8h.html#a70df64e026046bc352983127b7ae2cf0" > LEDEnum< / a > to turn off. < / td > < / tr >
2013-02-05 20:02:12 +01:00
< / table >
< / dd >
< / dl >
2018-10-13 16:56:59 +02:00
< p > Definition at line < a class = "el" href = "_p_s3_b_t_8cpp_source.html#l00564" > 564< / a > of file < a class = "el" href = "_p_s3_b_t_8cpp_source.html" > PS3BT.cpp< / a > .< / p >
2013-01-30 22:00:18 +01:00
< / div >
< / div >
2018-10-13 16:56:59 +02:00
< a class = "anchor" id = "a4e6cdea1880421a21cc8cfca0f00b449" > < / a >
2013-01-30 22:00:18 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > void PS3BT::setLedOn < / td >
< td > (< / td >
2014-01-10 18:20:37 +01:00
< td class = "paramtype" > < a class = "el" href = "controller_enums_8h.html#a70df64e026046bc352983127b7ae2cf0" > LEDEnum< / a >   < / td >
2013-10-21 21:15:43 +02:00
< td class = "paramname" > < em > a< / em > < / td > < td > )< / td >
2013-01-30 22:00:18 +01:00
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2018-10-13 16:56:59 +02:00
< p > Turn the specific LED on. < / p >
< dl class = "params" > < dt > Parameters< / dt > < dd >
2013-02-05 20:02:12 +01:00
< table class = "params" >
2014-01-10 18:20:37 +01:00
< tr > < td class = "paramname" > a< / td > < td > The < a class = "el" href = "controller_enums_8h.html#a70df64e026046bc352983127b7ae2cf0" > LEDEnum< / a > to turn on. < / td > < / tr >
2013-02-05 20:02:12 +01:00
< / table >
< / dd >
< / dl >
2018-10-13 16:56:59 +02:00
< p > Definition at line < a class = "el" href = "_p_s3_b_t_8cpp_source.html#l00569" > 569< / a > of file < a class = "el" href = "_p_s3_b_t_8cpp_source.html" > PS3BT.cpp< / a > .< / p >
2013-01-30 22:00:18 +01:00
< / div >
< / div >
2018-10-13 16:56:59 +02:00
< a class = "anchor" id = "ae163b7f00d287f8647dabc2897d0d208" > < / a >
2013-01-30 22:00:18 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > void PS3BT::setLedToggle < / td >
< td > (< / td >
2014-01-10 18:20:37 +01:00
< td class = "paramtype" > < a class = "el" href = "controller_enums_8h.html#a70df64e026046bc352983127b7ae2cf0" > LEDEnum< / a >   < / td >
2013-10-21 21:15:43 +02:00
< td class = "paramname" > < em > a< / em > < / td > < td > )< / td >
2013-01-30 22:00:18 +01:00
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2018-10-13 16:56:59 +02:00
< p > Toggle the specific LED. < / p >
< dl class = "params" > < dt > Parameters< / dt > < dd >
2013-02-05 20:02:12 +01:00
< table class = "params" >
2014-01-10 18:20:37 +01:00
< tr > < td class = "paramname" > a< / td > < td > The < a class = "el" href = "controller_enums_8h.html#a70df64e026046bc352983127b7ae2cf0" > LEDEnum< / a > to toggle. < / td > < / tr >
2013-02-05 20:02:12 +01:00
< / table >
< / dd >
< / dl >
2018-10-13 16:56:59 +02:00
< p > Definition at line < a class = "el" href = "_p_s3_b_t_8cpp_source.html#l00578" > 578< / a > of file < a class = "el" href = "_p_s3_b_t_8cpp_source.html" > PS3BT.cpp< / a > .< / p >
2013-01-30 22:00:18 +01:00
< / div >
< / div >
2018-10-13 16:56:59 +02:00
< a class = "anchor" id = "ad0926b75edcbb12ddf76f78e66728782" > < / a >
2013-01-30 22:00:18 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2013-02-17 01:37:13 +01:00
< td class = "memname" > void PS3BT::moveSetBulb < / td >
2013-01-30 22:00:18 +01:00
< td > (< / td >
2013-02-17 01:37:13 +01:00
< td class = "paramtype" > uint8_t  < / td >
< td class = "paramname" > < em > r< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint8_t  < / td >
< td class = "paramname" > < em > g< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
2013-01-30 22:00:18 +01:00
< td > < / td >
2013-02-17 01:37:13 +01:00
< td class = "paramtype" > uint8_t  < / td >
< td class = "paramname" > < em > b< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
2013-01-30 22:00:18 +01:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
2018-10-13 16:56:59 +02:00
< p > Use this to set the Color using RGB values. < / p >
< dl class = "params" > < dt > Parameters< / dt > < dd >
2013-02-17 01:37:13 +01:00
< table class = "params" >
< tr > < td class = "paramname" > r,g,b< / td > < td > RGB value. < / td > < / tr >
< / table >
< / dd >
< / dl >
2013-02-05 20:02:12 +01:00
2018-10-13 16:56:59 +02:00
< p > Definition at line < a class = "el" href = "_p_s3_b_t_8cpp_source.html#l00604" > 604< / a > of file < a class = "el" href = "_p_s3_b_t_8cpp_source.html" > PS3BT.cpp< / a > .< / p >
2013-01-30 22:00:18 +01:00
< / div >
< / div >
2018-10-13 16:56:59 +02:00
< a class = "anchor" id = "abe1292b459edfd114ef129b3320d5317" > < / a >
2013-01-30 22:00:18 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2013-02-17 01:37:13 +01:00
< td class = "memname" > void PS3BT::moveSetBulb < / td >
2013-01-30 22:00:18 +01:00
< td > (< / td >
2014-06-09 17:02:31 +02:00
< td class = "paramtype" > < a class = "el" href = "controller_enums_8h.html#aac6fa7b0395b95cc528deaad0ce884a2" > ColorsEnum< / a >   < / td >
2013-10-21 21:15:43 +02:00
< td class = "paramname" > < em > color< / em > < / td > < td > )< / td >
2013-01-30 22:00:18 +01:00
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2018-10-13 16:56:59 +02:00
< p > Use this to set the color using the predefined colors in < a class = "el" href = "controller_enums_8h.html#aac6fa7b0395b95cc528deaad0ce884a2" > ColorsEnum< / a > . < / p >
< dl class = "params" > < dt > Parameters< / dt > < dd >
2013-02-05 20:02:12 +01:00
< table class = "params" >
2013-02-17 01:37:13 +01:00
< tr > < td class = "paramname" > color< / td > < td > The desired color. < / td > < / tr >
2013-02-05 20:02:12 +01:00
< / table >
< / dd >
< / dl >
2018-10-13 16:56:59 +02:00
< p > Definition at line < a class = "el" href = "_p_s3_b_t_8cpp_source.html#l00613" > 613< / a > of file < a class = "el" href = "_p_s3_b_t_8cpp_source.html" > PS3BT.cpp< / a > .< / p >
2013-02-17 01:37:13 +01:00
< / div >
< / div >
2018-10-13 16:56:59 +02:00
< a class = "anchor" id = "ac14d338ddb573d1c06f70749f9205689" > < / a >
2013-02-17 01:37:13 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > void PS3BT::moveSetRumble < / td >
< td > (< / td >
< td class = "paramtype" > uint8_t  < / td >
2013-10-21 21:15:43 +02:00
< td class = "paramname" > < em > rumble< / em > < / td > < td > )< / td >
2013-02-17 01:37:13 +01:00
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2018-10-13 16:56:59 +02:00
< p > Set the rumble value inside the Move controller. < / p >
< dl class = "params" > < dt > Parameters< / dt > < dd >
2013-02-17 01:37:13 +01:00
< table class = "params" >
< tr > < td class = "paramname" > rumble< / td > < td > The desired value in the range from 64-255. < / td > < / tr >
< / table >
< / dd >
< / dl >
2018-10-13 16:56:59 +02:00
< p > Definition at line < a class = "el" href = "_p_s3_b_t_8cpp_source.html#l00617" > 617< / a > of file < a class = "el" href = "_p_s3_b_t_8cpp_source.html" > PS3BT.cpp< / a > .< / p >
2014-06-09 17:02:31 +02:00
< / div >
< / div >
2018-10-13 16:56:59 +02:00
< a class = "anchor" id = "ad5b6bba68b85614f6a1b2ddeb2a3f191" > < / a >
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" > uint32_t PS3BT::getLastMessageTime < / 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 get the millis() of the last message < / p >
2018-10-13 16:56:59 +02:00
< p > Definition at line < a class = "el" href = "_p_s3_b_t_8h_source.html#l00174" > 174< / a > of file < a class = "el" href = "_p_s3_b_t_8h_source.html" > PS3BT.h< / a > .< / p >
2013-08-14 01:16:29 +02:00
< / div >
< / div >
2018-10-13 16:56:59 +02:00
< a class = "anchor" id = "aa310ede24b68b1b03cfc49c4308c66b7" > < / a >
2013-08-14 01:16:29 +02:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
2015-04-07 16:07:33 +02:00
< td class = "memname" > void PS3BT::ACLData < / td >
2013-08-14 01:16:29 +02:00
< td > (< / td >
2015-04-07 16:07:33 +02:00
< td class = "paramtype" > uint8_t *  < / td >
< td class = "paramname" > < em > ACLData< / em > < / td > < td > )< / td >
2013-08-14 01:16:29 +02:00
< td > < / td >
< / tr >
< / table >
< / td >
< td class = "mlabels-right" >
2015-04-07 16:07:33 +02:00
< span class = "mlabels" > < span class = "mlabel" > protected< / span > < span class = "mlabel" > virtual< / span > < / span > < / td >
2013-08-14 01:16:29 +02:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
2018-10-13 16:56:59 +02:00
< p > Used to pass acldata to the services. < / p >
< dl class = "params" > < dt > Parameters< / dt > < dd >
2013-08-14 01:16:29 +02:00
< table class = "params" >
2015-04-07 16:07:33 +02:00
< tr > < td class = "paramname" > ACLData< / td > < td > Incoming acldata. < / td > < / tr >
2013-08-14 01:16:29 +02:00
< / table >
< / dd >
< / dl >
2015-04-07 16:07:33 +02:00
< p > Implements < a class = "el" href = "class_bluetooth_service.html#a9740e997198485c9629a146a9c981043" > BluetoothService< / a > .< / p >
2018-10-13 16:56:59 +02:00
< p > Definition at line < a class = "el" href = "_p_s3_b_t_8cpp_source.html#l00224" > 224< / a > of file < a class = "el" href = "_p_s3_b_t_8cpp_source.html" > PS3BT.cpp< / a > .< / p >
2015-04-07 16:07:33 +02:00
< / div >
< / div >
2018-10-13 16:56:59 +02:00
< a class = "anchor" id = "ab41f25f45573239990f68611dc825086" > < / a >
2015-04-07 16:07:33 +02:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > void PS3BT::Run < / td >
< td > (< / td >
< td class = "paramname" > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / td >
< td class = "mlabels-right" >
< span class = "mlabels" > < span class = "mlabel" > protected< / span > < span class = "mlabel" > virtual< / span > < / span > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Used to run part of the state machine. < / p >
< p > Implements < a class = "el" href = "class_bluetooth_service.html#a16df27af39d09963cf0d43910d92ff4c" > BluetoothService< / a > .< / p >
2018-10-13 16:56:59 +02:00
< p > Definition at line < a class = "el" href = "_p_s3_b_t_8cpp_source.html#l00454" > 454< / a > of file < a class = "el" href = "_p_s3_b_t_8cpp_source.html" > PS3BT.cpp< / a > .< / p >
2015-04-07 16:07:33 +02:00
< / div >
< / div >
2018-10-13 16:56:59 +02:00
< a class = "anchor" id = "a576d72cdf12af58ae59c8f2a02f99c0f" > < / a >
2015-04-07 16:07:33 +02:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > void PS3BT::Reset < / td >
< td > (< / td >
< td class = "paramname" > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / td >
< td class = "mlabels-right" >
< span class = "mlabels" > < span class = "mlabel" > protected< / span > < span class = "mlabel" > virtual< / span > < / span > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Use this to reset the service. < / p >
< p > Implements < a class = "el" href = "class_bluetooth_service.html#aa7c81841d4e898e9dc91533da6d7ab64" > BluetoothService< / a > .< / p >
2018-10-13 16:56:59 +02:00
< p > Definition at line < a class = "el" href = "_p_s3_b_t_8cpp_source.html#l00204" > 204< / a > of file < a class = "el" href = "_p_s3_b_t_8cpp_source.html" > PS3BT.cpp< / a > .< / p >
2015-04-07 16:07:33 +02:00
< / div >
< / div >
2018-10-13 16:56:59 +02:00
< a class = "anchor" id = "a4ed5311e2ba8b2700ab003e37e0f9172" > < / a >
2015-04-07 16:07:33 +02:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > void PS3BT::onInit < / td >
< td > (< / td >
< td class = "paramname" > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / td >
< td class = "mlabels-right" >
< span class = "mlabels" > < span class = "mlabel" > protected< / span > < span class = "mlabel" > virtual< / span > < / span > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Called when the controller 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 > Implements < a class = "el" href = "class_bluetooth_service.html#a34d08d56c560c892c9684133f69b971b" > BluetoothService< / a > .< / p >
2018-10-13 16:56:59 +02:00
< p > Definition at line < a class = "el" href = "_p_s3_b_t_8cpp_source.html#l00628" > 628< / a > of file < a class = "el" href = "_p_s3_b_t_8cpp_source.html" > PS3BT.cpp< / a > .< / p >
2013-01-30 22:00:18 +01:00
< / div >
< / div >
< h2 class = "groupheader" > Member Data Documentation< / h2 >
2018-10-13 16:56:59 +02:00
< a class = "anchor" id = "a2804535e3164eafca80a6f6c6bd9a4f9" > < / a >
2013-01-30 22:00:18 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > bool PS3BT::PS3Connected< / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2013-08-14 01:16:29 +02:00
< p > Variable used to indicate if the normal Playstation controller is successfully connected. < / p >
2013-02-05 20:02:12 +01:00
2018-10-13 16:56:59 +02:00
< p > Definition at line < a class = "el" href = "_p_s3_b_t_8h_source.html#l00176" > 176< / a > of file < a class = "el" href = "_p_s3_b_t_8h_source.html" > PS3BT.h< / a > .< / p >
2013-01-30 22:00:18 +01:00
< / div >
< / div >
2018-10-13 16:56:59 +02:00
< a class = "anchor" id = "a9273b6796948b83772117b3805421b4a" > < / a >
2013-01-30 22:00:18 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > bool PS3BT::PS3MoveConnected< / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2013-08-14 01:16:29 +02:00
< p > Variable used to indicate if the Move controller is successfully connected. < / p >
2013-02-05 20:02:12 +01:00
2018-10-13 16:56:59 +02:00
< p > Definition at line < a class = "el" href = "_p_s3_b_t_8h_source.html#l00182" > 182< / a > of file < a class = "el" href = "_p_s3_b_t_8h_source.html" > PS3BT.h< / a > .< / p >
2013-01-30 22:00:18 +01:00
< / div >
< / div >
2018-10-13 16:56:59 +02:00
< a class = "anchor" id = "ab35277632083d43f8750d130bea6d430" > < / a >
2013-01-30 22:00:18 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > bool PS3BT::PS3NavigationConnected< / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2013-08-14 01:16:29 +02:00
< p > Variable used to indicate if the Navigation controller is successfully connected. < / p >
2013-02-05 20:02:12 +01:00
2018-10-13 16:56:59 +02:00
< p > Definition at line < a class = "el" href = "_p_s3_b_t_8h_source.html#l00184" > 184< / a > of file < a class = "el" href = "_p_s3_b_t_8h_source.html" > PS3BT.h< / a > .< / p >
2013-01-30 22:00:18 +01:00
< / div >
< / div >
< hr / > The documentation for this class was generated from the following files:< ul >
2013-02-05 22:39:56 +01:00
< li > < a class = "el" href = "_p_s3_b_t_8h_source.html" > PS3BT.h< / a > < / li >
< li > < a class = "el" href = "_p_s3_b_t_8cpp_source.html" > PS3BT.cpp< / a > < / li >
2013-01-30 22:00:18 +01:00
< / ul >
< / div > <!-- contents -->
<!-- start footer part -->
< hr class = "footer" / > < address class = "footer" > < small >
2013-02-17 01:37:13 +01:00
Generated by   < a href = "http://www.doxygen.org/index.html" >
2013-01-30 22:00:18 +01:00
< img class = "footer" src = "doxygen.png" alt = "doxygen" / >
2018-10-13 16:56:59 +02:00
< / a > 1.8.6
2013-01-30 22:00:18 +01:00
< / small > < / address >
< / body >
< / html >