uofw/structSceCtrlData.html
2015-05-28 23:10:41 +00:00

199 lines
8.9 KiB
HTML

<!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"/>
<title>uOFW: SceCtrlData Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
$(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
</head>
<body>
<div id="top"><!-- do not remove this div! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
<div id="projectname">uOFW
</div>
<div id="projectbrief">Reverse engineered PSP kernel 6.60.</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- Generated by Doxygen 1.7.6.1 -->
<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&#160;Page</span></a></li>
<li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
<li class="current"><a href="annotated.html"><span>Data&#160;Structures</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>Data&#160;Structures</span></a></li>
<li><a href="classes.html"><span>Data&#160;Structure&#160;Index</span></a></li>
<li><a href="functions.html"><span>Data&#160;Fields</span></a></li>
</ul>
</div>
</div>
<div class="header">
<div class="summary">
<a href="#pub-attribs">Data Fields</a> </div>
<div class="headertitle">
<div class="title">SceCtrlData Struct Reference<div class="ingroups"><a class="el" href="group__Controller.html">Controller Module</a></div></div> </div>
</div><!--header-->
<div class="contents">
<!-- doxytag: class="SceCtrlData" -->
<p><code>#include &lt;<a class="el" href="ctrl_8h_source.html">ctrl.h</a>&gt;</code></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-attribs"></a>
Data Fields</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structSceCtrlData.html#a4d956741adfd85933d1362caf1df4838">timeStamp</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structSceCtrlData.html#a8694cfbad5c0bf41f36548a522fb17a7">buttons</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">u8&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structSceCtrlData.html#a6b5a5f1eaf00139a31610a1240b4aa4d">aX</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">u8&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structSceCtrlData.html#ab835f5daf1daf6d7873cc9979c3680bd">aY</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">u8&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structSceCtrlData.html#aa70235fba2997110a866a8f4ce6ccb56">rsrv</a> [6]</td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>This structure is for obtaining button data (button/analog stick information) from the controller using <a class="el" href="group__Controller.html#gaa5a402c5d8eb893d83297df3d1e13110">sceCtrlPeekBufferPositive()</a>, <a class="el" href="group__Controller.html#gab679f3c1505ef1082837c5721f04bd55">sceCtrlReadBufferNegative()</a> etc... </p>
</div><hr/><h2>Field Documentation</h2>
<a class="anchor" id="a4d956741adfd85933d1362caf1df4838"></a><!-- doxytag: member="SceCtrlData::timeStamp" ref="a4d956741adfd85933d1362caf1df4838" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">u32 <a class="el" href="structSceCtrlData.html#a4d956741adfd85933d1362caf1df4838">SceCtrlData::timeStamp</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>The time stamp of the time during which sampling was performed. Time unit is microseconds. Can be used to get the time period of a button pressing event. </p>
</div>
</div>
<a class="anchor" id="a8694cfbad5c0bf41f36548a522fb17a7"></a><!-- doxytag: member="SceCtrlData::buttons" ref="a8694cfbad5c0bf41f36548a522fb17a7" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">u32 <a class="el" href="structSceCtrlData.html#a8694cfbad5c0bf41f36548a522fb17a7">SceCtrlData::buttons</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>The currently pressed button. Bitwise OR'ed values of <a class="el" href="group__Controller.html#ga6104b860a63a93d46fa4348f596e8548">SceCtrlPadButtons</a>. </p>
</div>
</div>
<a class="anchor" id="a6b5a5f1eaf00139a31610a1240b4aa4d"></a><!-- doxytag: member="SceCtrlData::aX" ref="a6b5a5f1eaf00139a31610a1240b4aa4d" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">u8 <a class="el" href="structSceCtrlData.html#a6b5a5f1eaf00139a31610a1240b4aa4d">SceCtrlData::aX</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Analog Stick X-axis offset (0 - 0xFF). Left = 0, Right = 0xFF. </p>
</div>
</div>
<a class="anchor" id="ab835f5daf1daf6d7873cc9979c3680bd"></a><!-- doxytag: member="SceCtrlData::aY" ref="ab835f5daf1daf6d7873cc9979c3680bd" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">u8 <a class="el" href="structSceCtrlData.html#ab835f5daf1daf6d7873cc9979c3680bd">SceCtrlData::aY</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Analog Stick Y-axis offset (0 - 0xFF). Up = 0, Down = 0xFF. </p>
</div>
</div>
<a class="anchor" id="aa70235fba2997110a866a8f4ce6ccb56"></a><!-- doxytag: member="SceCtrlData::rsrv" ref="aa70235fba2997110a866a8f4ce6ccb56" args="[6]" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">u8 <a class="el" href="structSceCtrlData.html#aa70235fba2997110a866a8f4ce6ccb56">SceCtrlData::rsrv</a>[6]</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Reserved. </p>
</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li>/home/travis/build/uofw/uofw/include/<a class="el" href="ctrl_8h_source.html">ctrl.h</a></li>
</ul>
</div><!-- contents -->
<!-- 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">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Variables</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>
<hr class="footer"/><address class="footer"><small>
Generated on Thu May 28 2015 23:10:39 for uOFW by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.6.1
</small></address>
</body>
</html>