structjoypads__t.html (11336B)
1<!-- HTML header for doxygen 1.8.14--> 2<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 3<html xmlns="http://www.w3.org/1999/xhtml"> 4<head> 5<meta http-equiv="cache-control" content="max-age=86400"/> 6<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> 7<meta http-equiv="X-UA-Compatible" content="IE=9"/> 8<meta name="generator" content="Doxygen 1.8.20"/> 9<meta name="viewport" content="width=device-width, initial-scale=1"/> 10<title>GBDK 2020 Docs: joypads_t Struct Reference</title> 11<link href="tabs.css" rel="stylesheet" type="text/css"/> 12<script type="text/javascript" src="jquery.js"></script> 13<script type="text/javascript" src="dynsections.js"></script> 14<link href="navtree.css" rel="stylesheet" type="text/css"/> 15<script type="text/javascript" src="resize.js"></script> 16<script type="text/javascript" src="navtreedata.js"></script> 17<script type="text/javascript" src="navtree.js"></script> 18<link href="search/search.css" rel="stylesheet" type="text/css"/> 19<script type="text/javascript" src="search/searchdata.js"></script> 20<script type="text/javascript" src="search/search.js"></script> 21<link href="doxygen.css" rel="stylesheet" type="text/css" /> 22<link href="doxygen_extra.css" rel="stylesheet" type="text/css"/> 23</head> 24<body> 25<div id="top"><!-- do not remove this div, it is closed by doxygen! --> 26<div id="titlearea"> 27<table cellspacing="0" cellpadding="0"> 28 <tbody> 29 <tr style="height: 56px;"> 30 <td id="projectalign" style="padding-left: 0.5em;"> 31 <div id="projectname">GBDK 2020 Docs 32  <span id="projectnumber">4.0.6</span> 33 </div> 34 <div id="projectbrief">API Documentation for GBDK 2020</div> 35 </td> 36 </tr> 37 </tbody> 38</table> 39</div> 40<!-- end header part --> 41<!-- Generated by Doxygen 1.8.20 --> 42<script type="text/javascript"> 43/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ 44var searchBox = new SearchBox("searchBox", "search",false,'Search'); 45/* @license-end */ 46</script> 47<script type="text/javascript" src="menudata.js"></script> 48<script type="text/javascript" src="menu.js"></script> 49<script type="text/javascript"> 50/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ 51$(function() { 52 initMenu('',true,false,'search.php','Search'); 53 $(document).ready(function() { init_search(); }); 54}); 55/* @license-end */</script> 56<div id="main-nav"></div> 57</div><!-- top --> 58<div id="side-nav" class="ui-resizable side-nav-resizable"> 59 <div id="nav-tree"> 60 <div id="nav-tree-contents"> 61 <div id="nav-sync" class="sync"></div> 62 </div> 63 </div> 64 <div id="splitbar" style="-moz-user-select:none;" 65 class="ui-resizable-handle"> 66 </div> 67</div> 68<script type="text/javascript"> 69/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ 70$(document).ready(function(){initNavTree('structjoypads__t.html',''); initResizable(); }); 71/* @license-end */ 72</script> 73<div id="doc-content"> 74<!-- window showing the filter options --> 75<div id="MSearchSelectWindow" 76 onmouseover="return searchBox.OnSearchSelectShow()" 77 onmouseout="return searchBox.OnSearchSelectHide()" 78 onkeydown="return searchBox.OnSearchSelectKey(event)"> 79</div> 80 81<!-- iframe showing the search results (closed by default) --> 82<div id="MSearchResultsWindow"> 83<iframe src="javascript:void(0)" frameborder="0" 84 name="MSearchResults" id="MSearchResults"> 85</iframe> 86</div> 87 88<div class="header"> 89 <div class="summary"> 90<a href="#pub-attribs">Data Fields</a> </div> 91 <div class="headertitle"> 92<div class="title">joypads_t Struct Reference</div> </div> 93</div><!--header--> 94<div class="contents"> 95 96<p><code>#include <<a class="el" href="gb_8h_source.html">gb.h</a>></code></p> 97<table class="memberdecls"> 98<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a> 99Data Fields</h2></td></tr> 100<tr class="memitem:af84e3549a0708ee0e04295e5f853e9f5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="stdint_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structjoypads__t.html#af84e3549a0708ee0e04295e5f853e9f5">npads</a></td></tr> 101<tr class="separator:af84e3549a0708ee0e04295e5f853e9f5"><td class="memSeparator" colspan="2"> </td></tr> 102<tr class="memitem:a3e7b2271c57548a5215ead71da2db349"><td class="memItemLeft" >union {</td></tr> 103<tr class="memitem:a3d144019df3f8380cf7b3b41ad52ef04"><td class="memItemLeft" >   struct {</td></tr> 104<tr class="memitem:a2a8feb58b5f0a6e498e146dd559f0f3d"><td class="memItemLeft" >      <a class="el" href="stdint_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a>   <a class="el" href="structjoypads__t.html#a5e953c63dfb5148ba29f5735a735035f">joy0</a></td></tr> 105<tr class="separator:a2a8feb58b5f0a6e498e146dd559f0f3d"><td class="memSeparator" colspan="2"> </td></tr> 106<tr class="memitem:a42e2fe8c8e775f3e0b23c715df559c0a"><td class="memItemLeft" >      <a class="el" href="stdint_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a>   <a class="el" href="structjoypads__t.html#a032a279cf42e2737d6ce9893239d238e">joy1</a></td></tr> 107<tr class="separator:a42e2fe8c8e775f3e0b23c715df559c0a"><td class="memSeparator" colspan="2"> </td></tr> 108<tr class="memitem:ab6170c58653a4e0d36745ac1eda54190"><td class="memItemLeft" >      <a class="el" href="stdint_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a>   <a class="el" href="structjoypads__t.html#a5741138c91e93ea3203ee9e0d5d9413d">joy2</a></td></tr> 109<tr class="separator:ab6170c58653a4e0d36745ac1eda54190"><td class="memSeparator" colspan="2"> </td></tr> 110<tr class="memitem:a81294e57f665ae212385dd751fc93b0a"><td class="memItemLeft" >      <a class="el" href="stdint_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a>   <a class="el" href="structjoypads__t.html#ab281d26e5197e49633274f412b164295">joy3</a></td></tr> 111<tr class="separator:a81294e57f665ae212385dd751fc93b0a"><td class="memSeparator" colspan="2"> </td></tr> 112<tr class="memitem:a3d144019df3f8380cf7b3b41ad52ef04"><td class="memItemLeft" valign="top">   } </td><td class="memItemRight" valign="bottom"></td></tr> 113<tr class="separator:a3d144019df3f8380cf7b3b41ad52ef04"><td class="memSeparator" colspan="2"> </td></tr> 114<tr class="memitem:a94fecf5386637cef501b3b013c7dfc10"><td class="memItemLeft" >   <a class="el" href="stdint_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a>   <a class="el" href="structjoypads__t.html#a8d181ece2d3db614ed6686cfba545238">joypads</a> [4]</td></tr> 115<tr class="separator:a94fecf5386637cef501b3b013c7dfc10"><td class="memSeparator" colspan="2"> </td></tr> 116<tr class="memitem:a3e7b2271c57548a5215ead71da2db349"><td class="memItemLeft" valign="top">}; </td><td class="memItemRight" valign="bottom"></td></tr> 117<tr class="separator:a3e7b2271c57548a5215ead71da2db349"><td class="memSeparator" colspan="2"> </td></tr> 118</table> 119<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> 120<div class="textblock"><p>Multiplayer joypad structure.</p> 121<p>Must be initialized with <a class="el" href="gb_8h.html#ab7e35e1eff44ed78ad8f0015c6e85b4e">joypad_init()</a> first then it may be used to poll all avaliable joypads with <a class="el" href="gb_8h.html#a6e6f8eb1de2ae1ec9adeafbd7b9884db">joypad_ex()</a> </p> 122</div><h2 class="groupheader">Field Documentation</h2> 123<a id="af84e3549a0708ee0e04295e5f853e9f5"></a> 124<h2 class="memtitle"><span class="permalink"><a href="#af84e3549a0708ee0e04295e5f853e9f5">◆ </a></span>npads</h2> 125 126<div class="memitem"> 127<div class="memproto"> 128 <table class="memname"> 129 <tr> 130 <td class="memname"><a class="el" href="stdint_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> joypads_t::npads</td> 131 </tr> 132 </table> 133</div><div class="memdoc"> 134 135</div> 136</div> 137<a id="a5e953c63dfb5148ba29f5735a735035f"></a> 138<h2 class="memtitle"><span class="permalink"><a href="#a5e953c63dfb5148ba29f5735a735035f">◆ </a></span>joy0</h2> 139 140<div class="memitem"> 141<div class="memproto"> 142 <table class="memname"> 143 <tr> 144 <td class="memname"><a class="el" href="stdint_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> joypads_t::joy0</td> 145 </tr> 146 </table> 147</div><div class="memdoc"> 148 149</div> 150</div> 151<a id="a032a279cf42e2737d6ce9893239d238e"></a> 152<h2 class="memtitle"><span class="permalink"><a href="#a032a279cf42e2737d6ce9893239d238e">◆ </a></span>joy1</h2> 153 154<div class="memitem"> 155<div class="memproto"> 156 <table class="memname"> 157 <tr> 158 <td class="memname"><a class="el" href="stdint_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> joypads_t::joy1</td> 159 </tr> 160 </table> 161</div><div class="memdoc"> 162 163</div> 164</div> 165<a id="a5741138c91e93ea3203ee9e0d5d9413d"></a> 166<h2 class="memtitle"><span class="permalink"><a href="#a5741138c91e93ea3203ee9e0d5d9413d">◆ </a></span>joy2</h2> 167 168<div class="memitem"> 169<div class="memproto"> 170 <table class="memname"> 171 <tr> 172 <td class="memname"><a class="el" href="stdint_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> joypads_t::joy2</td> 173 </tr> 174 </table> 175</div><div class="memdoc"> 176 177</div> 178</div> 179<a id="ab281d26e5197e49633274f412b164295"></a> 180<h2 class="memtitle"><span class="permalink"><a href="#ab281d26e5197e49633274f412b164295">◆ </a></span>joy3</h2> 181 182<div class="memitem"> 183<div class="memproto"> 184 <table class="memname"> 185 <tr> 186 <td class="memname"><a class="el" href="stdint_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> joypads_t::joy3</td> 187 </tr> 188 </table> 189</div><div class="memdoc"> 190 191</div> 192</div> 193<a id="a8d181ece2d3db614ed6686cfba545238"></a> 194<h2 class="memtitle"><span class="permalink"><a href="#a8d181ece2d3db614ed6686cfba545238">◆ </a></span>joypads</h2> 195 196<div class="memitem"> 197<div class="memproto"> 198 <table class="memname"> 199 <tr> 200 <td class="memname"><a class="el" href="stdint_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> joypads_t::joypads[4]</td> 201 </tr> 202 </table> 203</div><div class="memdoc"> 204 205</div> 206</div> 207<a id="a3e7b2271c57548a5215ead71da2db349"></a> 208<h2 class="memtitle"><span class="permalink"><a href="#a3e7b2271c57548a5215ead71da2db349">◆ </a></span>@1</h2> 209 210<div class="memitem"> 211<div class="memproto"> 212 <table class="memname"> 213 <tr> 214 <td class="memname">union { ... } </td> 215 </tr> 216 </table> 217</div><div class="memdoc"> 218 219</div> 220</div> 221<hr/>The documentation for this struct was generated from the following files:<ul> 222<li>gb/<a class="el" href="gb_8h_source.html">gb.h</a></li> 223<li>sms/<a class="el" href="sms_8h_source.html">sms.h</a></li> 224</ul> 225</div><!-- contents --> 226</div><!-- doc-content --> 227<!-- HTML footer for doxygen 1.8.14--> 228<!-- start footer part --> 229<div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> 230</div> 231</body> 232</html>