mirror of
https://github.com/joel16/uofw.git
synced 2024-11-23 11:39:50 +00:00
209 lines
9.9 KiB
HTML
209 lines
9.9 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
|
<meta name="generator" content="Doxygen 1.9.1"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
<title>uOFW: SceCtrlData Struct Reference</title>
|
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="jquery.js"></script>
|
|
<script type="text/javascript" src="dynsections.js"></script>
|
|
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="search/searchdata.js"></script>
|
|
<script type="text/javascript" src="search/search.js"></script>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
|
</head>
|
|
<body>
|
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
|
<div id="titlearea">
|
|
<table cellspacing="0" cellpadding="0">
|
|
<tbody>
|
|
<tr style="height: 56px;">
|
|
<td id="projectalign" style="padding-left: 0.5em;">
|
|
<div id="projectname">uOFW
|
|
</div>
|
|
<div id="projectbrief">Reverse engineered PSP kernel 6.60.</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.9.1 -->
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
|
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
|
|
/* @license-end */
|
|
</script>
|
|
<script type="text/javascript" src="menudata.js"></script>
|
|
<script type="text/javascript" src="menu.js"></script>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
|
$(function() {
|
|
initMenu('',true,false,'search.php','Search');
|
|
$(document).ready(function() { init_search(); });
|
|
});
|
|
/* @license-end */</script>
|
|
<div id="main-nav"></div>
|
|
<!-- window showing the filter options -->
|
|
<div id="MSearchSelectWindow"
|
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
|
</div>
|
|
|
|
<!-- iframe showing the search results (closed by default) -->
|
|
<div id="MSearchResultsWindow">
|
|
<iframe src="javascript:void(0)" frameborder="0"
|
|
name="MSearchResults" id="MSearchResults">
|
|
</iframe>
|
|
</div>
|
|
|
|
</div><!-- top -->
|
|
<div class="header">
|
|
<div class="summary">
|
|
<a href="#pub-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">
|
|
|
|
<p><code>#include <<a class="el" href="ctrl_8h_source.html">ctrl.h</a>></code></p>
|
|
<table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
|
|
Data Fields</h2></td></tr>
|
|
<tr class="memitem:a4d956741adfd85933d1362caf1df4838"><td class="memItemLeft" align="right" valign="top">u32 </td><td class="memItemRight" valign="bottom"><a class="el" href="structSceCtrlData.html#a4d956741adfd85933d1362caf1df4838">timeStamp</a></td></tr>
|
|
<tr class="separator:a4d956741adfd85933d1362caf1df4838"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a8694cfbad5c0bf41f36548a522fb17a7"><td class="memItemLeft" align="right" valign="top">u32 </td><td class="memItemRight" valign="bottom"><a class="el" href="structSceCtrlData.html#a8694cfbad5c0bf41f36548a522fb17a7">buttons</a></td></tr>
|
|
<tr class="separator:a8694cfbad5c0bf41f36548a522fb17a7"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a6b5a5f1eaf00139a31610a1240b4aa4d"><td class="memItemLeft" align="right" valign="top">u8 </td><td class="memItemRight" valign="bottom"><a class="el" href="structSceCtrlData.html#a6b5a5f1eaf00139a31610a1240b4aa4d">aX</a></td></tr>
|
|
<tr class="separator:a6b5a5f1eaf00139a31610a1240b4aa4d"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ab835f5daf1daf6d7873cc9979c3680bd"><td class="memItemLeft" align="right" valign="top">u8 </td><td class="memItemRight" valign="bottom"><a class="el" href="structSceCtrlData.html#ab835f5daf1daf6d7873cc9979c3680bd">aY</a></td></tr>
|
|
<tr class="separator:ab835f5daf1daf6d7873cc9979c3680bd"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a70254b02e1dcbfea859c4aec0ef86e94"><td class="memItemLeft" align="right" valign="top">u8 </td><td class="memItemRight" valign="bottom"><a class="el" href="structSceCtrlData.html#a70254b02e1dcbfea859c4aec0ef86e94">rX</a></td></tr>
|
|
<tr class="separator:a70254b02e1dcbfea859c4aec0ef86e94"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a06179dda21edb5aa264e685bddaba50a"><td class="memItemLeft" align="right" valign="top">u8 </td><td class="memItemRight" valign="bottom"><a class="el" href="structSceCtrlData.html#a06179dda21edb5aa264e685bddaba50a">rY</a></td></tr>
|
|
<tr class="separator:a06179dda21edb5aa264e685bddaba50a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a156d9837c9f6067d1fa7eb11b8668095"><td class="memItemLeft" align="right" valign="top">u8 </td><td class="memItemRight" valign="bottom"><a class="el" href="structSceCtrlData.html#a156d9837c9f6067d1fa7eb11b8668095">rsrv</a> [4]</td></tr>
|
|
<tr class="separator:a156d9837c9f6067d1fa7eb11b8668095"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
|
<div class="textblock"><p>This structure is for obtaining button data (button/analog stick information) from the controller using <a class="el" href="group__Controller.html#ga4fb32d820c6f6d8c811b55ff07f97bf0" title="Retrieves controller state data by polling (positive logic).">sceCtrlPeekBufferPositive()</a>, <a class="el" href="group__Controller.html#ga7a14bd3a1fbea5f09c600f8e0f077cfa" title="Retrieves controller state data by blocking (negative logic).">sceCtrlReadBufferNegative()</a> etc... </p>
|
|
</div><h2 class="groupheader">Field Documentation</h2>
|
|
<a id="a4d956741adfd85933d1362caf1df4838"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a4d956741adfd85933d1362caf1df4838">◆ </a></span>timeStamp</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">u32 SceCtrlData::timeStamp</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 id="a8694cfbad5c0bf41f36548a522fb17a7"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a8694cfbad5c0bf41f36548a522fb17a7">◆ </a></span>buttons</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">u32 SceCtrlData::buttons</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 id="a6b5a5f1eaf00139a31610a1240b4aa4d"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a6b5a5f1eaf00139a31610a1240b4aa4d">◆ </a></span>aX</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">u8 SceCtrlData::aX</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Analog Stick X-axis offset (0 - 0xFF). Left = 0, Right = 0xFF. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ab835f5daf1daf6d7873cc9979c3680bd"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ab835f5daf1daf6d7873cc9979c3680bd">◆ </a></span>aY</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">u8 SceCtrlData::aY</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Analog Stick Y-axis offset (0 - 0xFF). Up = 0, Down = 0xFF. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a70254b02e1dcbfea859c4aec0ef86e94"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a70254b02e1dcbfea859c4aec0ef86e94">◆ </a></span>rX</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">u8 SceCtrlData::rX</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>DS3 right analog x-axis. Filled with 0 if input source doesn't allow second analog input. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a06179dda21edb5aa264e685bddaba50a"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a06179dda21edb5aa264e685bddaba50a">◆ </a></span>rY</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">u8 SceCtrlData::rY</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>DS3 right analog y-axis. Filled with 0 if input source doesn't allow second analog input. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a156d9837c9f6067d1fa7eb11b8668095"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a156d9837c9f6067d1fa7eb11b8668095">◆ </a></span>rsrv</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">u8 SceCtrlData::rsrv[4]</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/runner/work/uofw/uofw/include/<a class="el" href="ctrl_8h_source.html">ctrl.h</a></li>
|
|
</ul>
|
|
</div><!-- contents -->
|
|
<!-- start footer part -->
|
|
<hr class="footer"/><address class="footer"><small>
|
|
Generated on Sat Sep 28 2024 18:01:49 for uOFW by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1
|
|
</small></address>
|
|
</body>
|
|
</html>
|