1 {{+bindTo:partials.standard_nacl_api}} 2 <h1>PPB_Gamepad Struct Reference</h1> 3 <div id="doxygen-ref"> 4 {{- dummy div to appease doxygen -}} 5 <div> 6 <!-- Generated by Doxygen 1.7.6.1 --> 7 8 9 </div> 10 <!--header--> 11 <div class="contents"> 12 <!-- doxytag: class="PPB_Gamepad" --><h2> 13 Data Fields</h2><table class="memberdecls"> 14 15 <tr><td class="memItemLeft" align="right" valign="top">void(* </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> 16 </table> 17 <hr /><a name="details" id="details"></a><h2>Detailed Description</h2> 18 <div class="textblock"><p>The <code>PPB_Gamepad</code> interface allows retrieving data from gamepad/joystick devices that are connected to the system. </p> 19 </div><hr /><h2>Field Documentation</h2> 20 <a class="anchor" id="a0245687e881a8bc182f9c0641046277a"></a><!-- doxytag: member="PPB_Gamepad::Sample" ref="a0245687e881a8bc182f9c0641046277a" args=")(PP_Instance instance, struct PP_GamepadsSampleData *data)" --> 21 <div class="memitem"> 22 <div class="memproto"> 23 <table class="memname"> 24 <tr> 25 <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> 26 </tr> 27 </table> 28 </div> 29 <div class="memdoc"> 30 <p>Samples the current state of the available gamepads. </p> 31 </div> 32 </div> 33 <hr />The documentation for this struct was generated from the following file:<ul> 34 <li><a class="el" href="ppb__gamepad_8h.html">ppb_gamepad.h</a></li> 35 </ul> 36 </div><!-- contents --> 37 </div> 38 {{/partials.standard_nacl_api}} 39