blob: e936a60188db3c4ce19c34d1d1c87cae330788f6 [file] [log] [blame]
{{+bindTo:partials.standard_nacl_api}}
<h1>PPB_Gamepad Struct Reference</h1>
<div id="doxygen-ref">
{{- dummy div to appease doxygen -}}
<div>
<!-- Generated by Doxygen 1.7.6.1 -->
</div>
<!--header-->
<div class="contents">
<!-- doxytag: class="PPB_Gamepad" --><h2>
Data Fields</h2><table class="memberdecls">
<tr><td class="memItemLeft" align="right" valign="top">void(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_p_p_b___gamepad__1__0.html#a0245687e881a8bc182f9c0641046277a">Sample</a> )(<a class="el" href="group___typedefs.html#ga89b662403e6a687bb914b80114c0d19d">PP_Instance</a> instance, struct <a class="el" href="struct_p_p___gamepads_sample_data.html">PP_GamepadsSampleData</a> *data)</td></tr>
</table>
<hr /><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>The <code>PPB_Gamepad</code> interface allows retrieving data from gamepad/joystick devices that are connected to the system. </p>
</div><hr /><h2>Field Documentation</h2>
<a class="anchor" id="a0245687e881a8bc182f9c0641046277a"></a><!-- doxytag: member="PPB_Gamepad::Sample" ref="a0245687e881a8bc182f9c0641046277a" args=")(PP_Instance instance, struct PP_GamepadsSampleData *data)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void(* <a class="el" href="struct_p_p_b___gamepad__1__0.html#a0245687e881a8bc182f9c0641046277a">PPB_Gamepad::Sample</a>)(<a class="el" href="group___typedefs.html#ga89b662403e6a687bb914b80114c0d19d">PP_Instance</a> instance, struct <a class="el" href="struct_p_p___gamepads_sample_data.html">PP_GamepadsSampleData</a> *data)</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Samples the current state of the available gamepads. </p>
</div>
</div>
<hr />The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="ppb__gamepad_8h.html">ppb_gamepad.h</a></li>
</ul>
</div><!-- contents -->
</div>
{{/partials.standard_nacl_api}}