<!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.8.15"/> <meta name="viewport" content="width=device-width, initial-scale=1"/> <title>My Project: SDL_joystick.h Source File</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">My Project </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.15 --> <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'); /* @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> </div><!-- top --> <!-- 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 class="header"> <div class="headertitle"> <div class="title">SDL_joystick.h</div> </div> </div><!--header--> <div class="contents"> <a href="SDL__joystick_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/*</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> Simple DirectMedia Layer</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> Copyright (C) 1997-2019 Sam Lantinga <slouken@libsdl.org></span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"></span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> This software is provided 'as-is', without any express or implied</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> warranty. In no event will the authors be held liable for any damages</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> arising from the use of this software.</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"></span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment"> Permission is granted to anyone to use this software for any purpose,</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment"> including commercial applications, and to alter it and redistribute it</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment"> freely, subject to the following restrictions:</span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment"></span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment"> 1. The origin of this software must not be misrepresented; you must not</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment"> claim that you wrote the original software. If you use this software</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment"> in a product, an acknowledgment in the product documentation would be</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment"> appreciated but is not required.</span></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="comment"> 2. Altered source versions must be plainly marked as such, and must not be</span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="comment"> misrepresented as being the original software.</span></div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="comment"> 3. This notice may not be removed or altered from any source distribution.</span></div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="comment">*/</span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> </div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span> <span class="preprocessor">#ifndef SDL_joystick_h_</span></div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span> <span class="preprocessor">#define SDL_joystick_h_</span></div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span> </div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span> <span class="preprocessor">#include "<a class="code" href="SDL__stdinc_8h.html">SDL_stdinc.h</a>"</span></div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span> <span class="preprocessor">#include "<a class="code" href="SDL__error_8h.html">SDL_error.h</a>"</span></div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span> </div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span> <span class="preprocessor">#include "<a class="code" href="begin__code_8h.html">begin_code.h</a>"</span></div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span> <span class="comment">/* Set up for C function definitions, even when using C++ */</span></div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span> <span class="preprocessor">#ifdef __cplusplus</span></div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span> <span class="keyword">extern</span> <span class="stringliteral">"C"</span> {</div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span> </div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span> <span class="keyword">struct </span>_SDL_Joystick;</div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span> <span class="keyword">typedef</span> <span class="keyword">struct </span>_SDL_Joystick SDL_Joystick;</div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span> </div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span> <span class="comment">/* A structure that encodes the stable unique id for a joystick device */</span></div><div class="line"><a name="l00070"></a><span class="lineno"><a class="line" href="structSDL__JoystickGUID.html"> 70</a></span> <span class="keyword">typedef</span> <span class="keyword">struct </span>{</div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  Uint8 data[16];</div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span> } <a class="code" href="structSDL__JoystickGUID.html">SDL_JoystickGUID</a>;</div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span> </div><div class="line"><a name="l00081"></a><span class="lineno"><a class="line" href="SDL__joystick_8h.html#a3c3d32500cb08f76ee8077983912c0bd"> 81</a></span> <span class="keyword">typedef</span> Sint32 <a class="code" href="SDL__joystick_8h.html#a3c3d32500cb08f76ee8077983912c0bd">SDL_JoystickID</a>;</div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span> </div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span> <span class="keyword">typedef</span> <span class="keyword">enum</span></div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span> {</div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  SDL_JOYSTICK_TYPE_UNKNOWN,</div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  SDL_JOYSTICK_TYPE_GAMECONTROLLER,</div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  SDL_JOYSTICK_TYPE_WHEEL,</div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  SDL_JOYSTICK_TYPE_ARCADE_STICK,</div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  SDL_JOYSTICK_TYPE_FLIGHT_STICK,</div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  SDL_JOYSTICK_TYPE_DANCE_PAD,</div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  SDL_JOYSTICK_TYPE_GUITAR,</div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  SDL_JOYSTICK_TYPE_DRUM_KIT,</div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  SDL_JOYSTICK_TYPE_ARCADE_PAD,</div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  SDL_JOYSTICK_TYPE_THROTTLE</div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span> } SDL_JoystickType;</div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span> </div><div class="line"><a name="l00097"></a><span class="lineno"> 97</span> <span class="keyword">typedef</span> <span class="keyword">enum</span></div><div class="line"><a name="l00098"></a><span class="lineno"> 98</span> {</div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  SDL_JOYSTICK_POWER_UNKNOWN = -1,</div><div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  SDL_JOYSTICK_POWER_EMPTY, <span class="comment">/* <= 5% */</span></div><div class="line"><a name="l00101"></a><span class="lineno"> 101</span>  SDL_JOYSTICK_POWER_LOW, <span class="comment">/* <= 20% */</span></div><div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  SDL_JOYSTICK_POWER_MEDIUM, <span class="comment">/* <= 70% */</span></div><div class="line"><a name="l00103"></a><span class="lineno"> 103</span>  SDL_JOYSTICK_POWER_FULL, <span class="comment">/* <= 100% */</span></div><div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  SDL_JOYSTICK_POWER_WIRED,</div><div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  SDL_JOYSTICK_POWER_MAX</div><div class="line"><a name="l00106"></a><span class="lineno"> 106</span> } SDL_JoystickPowerLevel;</div><div class="line"><a name="l00107"></a><span class="lineno"> 107</span> </div><div class="line"><a name="l00108"></a><span class="lineno"> 108</span> <span class="comment">/* Function prototypes */</span></div><div class="line"><a name="l00109"></a><span class="lineno"> 109</span> </div><div class="line"><a name="l00120"></a><span class="lineno"> 120</span> <span class="keyword">extern</span> DECLSPEC <span class="keywordtype">void</span> SDLCALL <a class="code" href="SDL__joystick_8h.html#a4a2e0bedda1b7d0ac957607e944bfba0">SDL_LockJoysticks</a>(<span class="keywordtype">void</span>);</div><div class="line"><a name="l00121"></a><span class="lineno"> 121</span> <span class="keyword">extern</span> DECLSPEC <span class="keywordtype">void</span> SDLCALL SDL_UnlockJoysticks(<span class="keywordtype">void</span>);</div><div class="line"><a name="l00122"></a><span class="lineno"> 122</span> </div><div class="line"><a name="l00126"></a><span class="lineno"> 126</span> <span class="keyword">extern</span> DECLSPEC <span class="keywordtype">int</span> SDLCALL <a class="code" href="SDL__joystick_8h.html#a2ab130eaa28f8e3bd544a5432041a311">SDL_NumJoysticks</a>(<span class="keywordtype">void</span>);</div><div class="line"><a name="l00127"></a><span class="lineno"> 127</span> </div><div class="line"><a name="l00133"></a><span class="lineno"> 133</span> <span class="keyword">extern</span> DECLSPEC <span class="keyword">const</span> <span class="keywordtype">char</span> *SDLCALL <a class="code" href="SDL__joystick_8h.html#ad36c04c086f834fe09a97e4cf86a5a59">SDL_JoystickNameForIndex</a>(<span class="keywordtype">int</span> device_index);</div><div class="line"><a name="l00134"></a><span class="lineno"> 134</span> </div><div class="line"><a name="l00139"></a><span class="lineno"> 139</span> <span class="keyword">extern</span> DECLSPEC <span class="keywordtype">int</span> SDLCALL <a class="code" href="SDL__joystick_8h.html#ad882a8dd3fe4278725a7fc212b755db7">SDL_JoystickGetDevicePlayerIndex</a>(<span class="keywordtype">int</span> device_index);</div><div class="line"><a name="l00140"></a><span class="lineno"> 140</span> </div><div class="line"><a name="l00145"></a><span class="lineno"> 145</span> <span class="keyword">extern</span> DECLSPEC <a class="code" href="structSDL__JoystickGUID.html">SDL_JoystickGUID</a> SDLCALL <a class="code" href="SDL__joystick_8h.html#afdbf5289ff5452afb1bd869ffcf250b5">SDL_JoystickGetDeviceGUID</a>(<span class="keywordtype">int</span> device_index);</div><div class="line"><a name="l00146"></a><span class="lineno"> 146</span> </div><div class="line"><a name="l00152"></a><span class="lineno"> 152</span> <span class="keyword">extern</span> DECLSPEC Uint16 SDLCALL <a class="code" href="SDL__joystick_8h.html#afb8ba88559debca4ab2c702b8500d5fe">SDL_JoystickGetDeviceVendor</a>(<span class="keywordtype">int</span> device_index);</div><div class="line"><a name="l00153"></a><span class="lineno"> 153</span> </div><div class="line"><a name="l00159"></a><span class="lineno"> 159</span> <span class="keyword">extern</span> DECLSPEC Uint16 SDLCALL <a class="code" href="SDL__joystick_8h.html#a6330470720659333e6ef60994942a855">SDL_JoystickGetDeviceProduct</a>(<span class="keywordtype">int</span> device_index);</div><div class="line"><a name="l00160"></a><span class="lineno"> 160</span> </div><div class="line"><a name="l00166"></a><span class="lineno"> 166</span> <span class="keyword">extern</span> DECLSPEC Uint16 SDLCALL <a class="code" href="SDL__joystick_8h.html#a10972ad002df75e76ed68c18e1188e5e">SDL_JoystickGetDeviceProductVersion</a>(<span class="keywordtype">int</span> device_index);</div><div class="line"><a name="l00167"></a><span class="lineno"> 167</span> </div><div class="line"><a name="l00172"></a><span class="lineno"> 172</span> <span class="keyword">extern</span> DECLSPEC SDL_JoystickType SDLCALL <a class="code" href="SDL__joystick_8h.html#a368a06b0fd51d453bb4692dcc2c42b69">SDL_JoystickGetDeviceType</a>(<span class="keywordtype">int</span> device_index);</div><div class="line"><a name="l00173"></a><span class="lineno"> 173</span> </div><div class="line"><a name="l00179"></a><span class="lineno"> 179</span> <span class="keyword">extern</span> DECLSPEC <a class="code" href="SDL__joystick_8h.html#a3c3d32500cb08f76ee8077983912c0bd">SDL_JoystickID</a> SDLCALL <a class="code" href="SDL__joystick_8h.html#a6c46ea976c7a65d49b38d31b42d11652">SDL_JoystickGetDeviceInstanceID</a>(<span class="keywordtype">int</span> device_index);</div><div class="line"><a name="l00180"></a><span class="lineno"> 180</span> </div><div class="line"><a name="l00190"></a><span class="lineno"> 190</span> <span class="keyword">extern</span> DECLSPEC SDL_Joystick *SDLCALL <a class="code" href="SDL__joystick_8h.html#a5b6f6554bca2659e149b5bc0fa538899">SDL_JoystickOpen</a>(<span class="keywordtype">int</span> device_index);</div><div class="line"><a name="l00191"></a><span class="lineno"> 191</span> </div><div class="line"><a name="l00195"></a><span class="lineno"> 195</span> <span class="keyword">extern</span> DECLSPEC SDL_Joystick *SDLCALL <a class="code" href="SDL__joystick_8h.html#abdca7bdd08c34dc7c292c296c440698a">SDL_JoystickFromInstanceID</a>(<a class="code" href="SDL__joystick_8h.html#a3c3d32500cb08f76ee8077983912c0bd">SDL_JoystickID</a> joyid);</div><div class="line"><a name="l00196"></a><span class="lineno"> 196</span> </div><div class="line"><a name="l00201"></a><span class="lineno"> 201</span> <span class="keyword">extern</span> DECLSPEC <span class="keyword">const</span> <span class="keywordtype">char</span> *SDLCALL <a class="code" href="SDL__joystick_8h.html#ad3ab02961bc45606e8f5f937c934160c">SDL_JoystickName</a>(SDL_Joystick * joystick);</div><div class="line"><a name="l00202"></a><span class="lineno"> 202</span> </div><div class="line"><a name="l00208"></a><span class="lineno"> 208</span> <span class="keyword">extern</span> DECLSPEC <span class="keywordtype">int</span> SDLCALL <a class="code" href="SDL__joystick_8h.html#a1b3543511c1839f9c06aeea65b574e77">SDL_JoystickGetPlayerIndex</a>(SDL_Joystick * joystick);</div><div class="line"><a name="l00209"></a><span class="lineno"> 209</span> </div><div class="line"><a name="l00213"></a><span class="lineno"> 213</span> <span class="keyword">extern</span> DECLSPEC <a class="code" href="structSDL__JoystickGUID.html">SDL_JoystickGUID</a> SDLCALL <a class="code" href="SDL__joystick_8h.html#acc85c770af41eae76948e11c678f92ca">SDL_JoystickGetGUID</a>(SDL_Joystick * joystick);</div><div class="line"><a name="l00214"></a><span class="lineno"> 214</span> </div><div class="line"><a name="l00219"></a><span class="lineno"> 219</span> <span class="keyword">extern</span> DECLSPEC Uint16 SDLCALL <a class="code" href="SDL__joystick_8h.html#a13d9a1e3c5cbe2591cd5214aad48fed8">SDL_JoystickGetVendor</a>(SDL_Joystick * joystick);</div><div class="line"><a name="l00220"></a><span class="lineno"> 220</span> </div><div class="line"><a name="l00225"></a><span class="lineno"> 225</span> <span class="keyword">extern</span> DECLSPEC Uint16 SDLCALL <a class="code" href="SDL__joystick_8h.html#a0f4732dffd2a769a2346f4091b2f3199">SDL_JoystickGetProduct</a>(SDL_Joystick * joystick);</div><div class="line"><a name="l00226"></a><span class="lineno"> 226</span> </div><div class="line"><a name="l00231"></a><span class="lineno"> 231</span> <span class="keyword">extern</span> DECLSPEC Uint16 SDLCALL <a class="code" href="SDL__joystick_8h.html#afe6bbdbc0c81170d237fae42bec05665">SDL_JoystickGetProductVersion</a>(SDL_Joystick * joystick);</div><div class="line"><a name="l00232"></a><span class="lineno"> 232</span> </div><div class="line"><a name="l00236"></a><span class="lineno"> 236</span> <span class="keyword">extern</span> DECLSPEC SDL_JoystickType SDLCALL <a class="code" href="SDL__joystick_8h.html#ad21afdbdd915c013cacefb7e79bfe3bf">SDL_JoystickGetType</a>(SDL_Joystick * joystick);</div><div class="line"><a name="l00237"></a><span class="lineno"> 237</span> </div><div class="line"><a name="l00242"></a><span class="lineno"> 242</span> <span class="keyword">extern</span> DECLSPEC <span class="keywordtype">void</span> SDLCALL <a class="code" href="SDL__joystick_8h.html#a7f615ef8040e7e9de3af6482d8d9908c">SDL_JoystickGetGUIDString</a>(<a class="code" href="structSDL__JoystickGUID.html">SDL_JoystickGUID</a> guid, <span class="keywordtype">char</span> *pszGUID, <span class="keywordtype">int</span> cbGUID);</div><div class="line"><a name="l00243"></a><span class="lineno"> 243</span> </div><div class="line"><a name="l00247"></a><span class="lineno"> 247</span> <span class="keyword">extern</span> DECLSPEC <a class="code" href="structSDL__JoystickGUID.html">SDL_JoystickGUID</a> SDLCALL <a class="code" href="SDL__joystick_8h.html#aef9d131a6a6838847731cf8094944b46">SDL_JoystickGetGUIDFromString</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *pchGUID);</div><div class="line"><a name="l00248"></a><span class="lineno"> 248</span> </div><div class="line"><a name="l00252"></a><span class="lineno"> 252</span> <span class="keyword">extern</span> DECLSPEC SDL_bool SDLCALL <a class="code" href="SDL__joystick_8h.html#a222cd2d664acbea2dad78b891df4b89a">SDL_JoystickGetAttached</a>(SDL_Joystick * joystick);</div><div class="line"><a name="l00253"></a><span class="lineno"> 253</span> </div><div class="line"><a name="l00257"></a><span class="lineno"> 257</span> <span class="keyword">extern</span> DECLSPEC <a class="code" href="SDL__joystick_8h.html#a3c3d32500cb08f76ee8077983912c0bd">SDL_JoystickID</a> SDLCALL <a class="code" href="SDL__joystick_8h.html#ab38dfc6428e15c2476478418075d4c83">SDL_JoystickInstanceID</a>(SDL_Joystick * joystick);</div><div class="line"><a name="l00258"></a><span class="lineno"> 258</span> </div><div class="line"><a name="l00262"></a><span class="lineno"> 262</span> <span class="keyword">extern</span> DECLSPEC <span class="keywordtype">int</span> SDLCALL <a class="code" href="SDL__joystick_8h.html#a865c2e087fe69a3a30c87243729ecdea">SDL_JoystickNumAxes</a>(SDL_Joystick * joystick);</div><div class="line"><a name="l00263"></a><span class="lineno"> 263</span> </div><div class="line"><a name="l00270"></a><span class="lineno"> 270</span> <span class="keyword">extern</span> DECLSPEC <span class="keywordtype">int</span> SDLCALL <a class="code" href="SDL__joystick_8h.html#a755d087bb16270087bfced7501656a6d">SDL_JoystickNumBalls</a>(SDL_Joystick * joystick);</div><div class="line"><a name="l00271"></a><span class="lineno"> 271</span> </div><div class="line"><a name="l00275"></a><span class="lineno"> 275</span> <span class="keyword">extern</span> DECLSPEC <span class="keywordtype">int</span> SDLCALL <a class="code" href="SDL__joystick_8h.html#aa62ea91c7c4ca2d12804a9fb3760e448">SDL_JoystickNumHats</a>(SDL_Joystick * joystick);</div><div class="line"><a name="l00276"></a><span class="lineno"> 276</span> </div><div class="line"><a name="l00280"></a><span class="lineno"> 280</span> <span class="keyword">extern</span> DECLSPEC <span class="keywordtype">int</span> SDLCALL <a class="code" href="SDL__joystick_8h.html#adfc662e571011ae7ec303101ab34e53a">SDL_JoystickNumButtons</a>(SDL_Joystick * joystick);</div><div class="line"><a name="l00281"></a><span class="lineno"> 281</span> </div><div class="line"><a name="l00288"></a><span class="lineno"> 288</span> <span class="keyword">extern</span> DECLSPEC <span class="keywordtype">void</span> SDLCALL <a class="code" href="SDL__joystick_8h.html#a3ea23a9504ea56f2778147dbf39a029f">SDL_JoystickUpdate</a>(<span class="keywordtype">void</span>);</div><div class="line"><a name="l00289"></a><span class="lineno"> 289</span> </div><div class="line"><a name="l00299"></a><span class="lineno"> 299</span> <span class="keyword">extern</span> DECLSPEC <span class="keywordtype">int</span> SDLCALL <a class="code" href="SDL__joystick_8h.html#a51ba353843fd4477f6a485ac4ef35d00">SDL_JoystickEventState</a>(<span class="keywordtype">int</span> state);</div><div class="line"><a name="l00300"></a><span class="lineno"> 300</span> </div><div class="line"><a name="l00301"></a><span class="lineno"> 301</span> <span class="preprocessor">#define SDL_JOYSTICK_AXIS_MAX 32767</span></div><div class="line"><a name="l00302"></a><span class="lineno"> 302</span> <span class="preprocessor">#define SDL_JOYSTICK_AXIS_MIN -32768</span></div><div class="line"><a name="l00303"></a><span class="lineno"> 303</span> </div><div class="line"><a name="l00310"></a><span class="lineno"> 310</span> <span class="keyword">extern</span> DECLSPEC Sint16 SDLCALL <a class="code" href="SDL__joystick_8h.html#ac6fbda13b93679bedfc34733d4b2e748">SDL_JoystickGetAxis</a>(SDL_Joystick * joystick,</div><div class="line"><a name="l00311"></a><span class="lineno"> 311</span>  <span class="keywordtype">int</span> axis);</div><div class="line"><a name="l00312"></a><span class="lineno"> 312</span> </div><div class="line"><a name="l00322"></a><span class="lineno"> 322</span> <span class="keyword">extern</span> DECLSPEC SDL_bool SDLCALL <a class="code" href="SDL__joystick_8h.html#a3b87809500c342149471e1abf0ace40c">SDL_JoystickGetAxisInitialState</a>(SDL_Joystick * joystick,</div><div class="line"><a name="l00323"></a><span class="lineno"> 323</span>  <span class="keywordtype">int</span> axis, Sint16 *state);</div><div class="line"><a name="l00324"></a><span class="lineno"> 324</span> </div><div class="line"><a name="l00328"></a><span class="lineno"> 328</span> <span class="comment">/* @{ */</span></div><div class="line"><a name="l00329"></a><span class="lineno"> 329</span> <span class="preprocessor">#define SDL_HAT_CENTERED 0x00</span></div><div class="line"><a name="l00330"></a><span class="lineno"> 330</span> <span class="preprocessor">#define SDL_HAT_UP 0x01</span></div><div class="line"><a name="l00331"></a><span class="lineno"> 331</span> <span class="preprocessor">#define SDL_HAT_RIGHT 0x02</span></div><div class="line"><a name="l00332"></a><span class="lineno"> 332</span> <span class="preprocessor">#define SDL_HAT_DOWN 0x04</span></div><div class="line"><a name="l00333"></a><span class="lineno"> 333</span> <span class="preprocessor">#define SDL_HAT_LEFT 0x08</span></div><div class="line"><a name="l00334"></a><span class="lineno"> 334</span> <span class="preprocessor">#define SDL_HAT_RIGHTUP (SDL_HAT_RIGHT|SDL_HAT_UP)</span></div><div class="line"><a name="l00335"></a><span class="lineno"> 335</span> <span class="preprocessor">#define SDL_HAT_RIGHTDOWN (SDL_HAT_RIGHT|SDL_HAT_DOWN)</span></div><div class="line"><a name="l00336"></a><span class="lineno"> 336</span> <span class="preprocessor">#define SDL_HAT_LEFTUP (SDL_HAT_LEFT|SDL_HAT_UP)</span></div><div class="line"><a name="l00337"></a><span class="lineno"> 337</span> <span class="preprocessor">#define SDL_HAT_LEFTDOWN (SDL_HAT_LEFT|SDL_HAT_DOWN)</span></div><div class="line"><a name="l00338"></a><span class="lineno"> 338</span> <span class="comment">/* @} */</span></div><div class="line"><a name="l00339"></a><span class="lineno"> 339</span> </div><div class="line"><a name="l00356"></a><span class="lineno"> 356</span> <span class="keyword">extern</span> DECLSPEC Uint8 SDLCALL <a class="code" href="SDL__joystick_8h.html#a2215030cf283295569fee41fd0251e01">SDL_JoystickGetHat</a>(SDL_Joystick * joystick,</div><div class="line"><a name="l00357"></a><span class="lineno"> 357</span>  <span class="keywordtype">int</span> hat);</div><div class="line"><a name="l00358"></a><span class="lineno"> 358</span> </div><div class="line"><a name="l00366"></a><span class="lineno"> 366</span> <span class="keyword">extern</span> DECLSPEC <span class="keywordtype">int</span> SDLCALL <a class="code" href="SDL__joystick_8h.html#ac7a5a4c17f6a5a4ef9f5bc78e50913df">SDL_JoystickGetBall</a>(SDL_Joystick * joystick,</div><div class="line"><a name="l00367"></a><span class="lineno"> 367</span>  <span class="keywordtype">int</span> ball, <span class="keywordtype">int</span> *dx, <span class="keywordtype">int</span> *dy);</div><div class="line"><a name="l00368"></a><span class="lineno"> 368</span> </div><div class="line"><a name="l00374"></a><span class="lineno"> 374</span> <span class="keyword">extern</span> DECLSPEC Uint8 SDLCALL <a class="code" href="SDL__joystick_8h.html#aaf7789eb03bc42525691e075e2a36131">SDL_JoystickGetButton</a>(SDL_Joystick * joystick,</div><div class="line"><a name="l00375"></a><span class="lineno"> 375</span>  <span class="keywordtype">int</span> button);</div><div class="line"><a name="l00376"></a><span class="lineno"> 376</span> </div><div class="line"><a name="l00388"></a><span class="lineno"> 388</span> <span class="keyword">extern</span> DECLSPEC <span class="keywordtype">int</span> SDLCALL <a class="code" href="SDL__joystick_8h.html#a307c87a4de5aec2d1ca22856d94930fa">SDL_JoystickRumble</a>(SDL_Joystick * joystick, Uint16 low_frequency_rumble, Uint16 high_frequency_rumble, Uint32 duration_ms);</div><div class="line"><a name="l00389"></a><span class="lineno"> 389</span> </div><div class="line"><a name="l00393"></a><span class="lineno"> 393</span> <span class="keyword">extern</span> DECLSPEC <span class="keywordtype">void</span> SDLCALL <a class="code" href="SDL__joystick_8h.html#aafa0951b40ec2e200c098495c3dd4943">SDL_JoystickClose</a>(SDL_Joystick * joystick);</div><div class="line"><a name="l00394"></a><span class="lineno"> 394</span> </div><div class="line"><a name="l00398"></a><span class="lineno"> 398</span> <span class="keyword">extern</span> DECLSPEC SDL_JoystickPowerLevel SDLCALL <a class="code" href="SDL__joystick_8h.html#a192bbea3553394a6e9c80f77e431fd76">SDL_JoystickCurrentPowerLevel</a>(SDL_Joystick * joystick);</div><div class="line"><a name="l00399"></a><span class="lineno"> 399</span> </div><div class="line"><a name="l00400"></a><span class="lineno"> 400</span> <span class="comment">/* Ends C function definitions when using C++ */</span></div><div class="line"><a name="l00401"></a><span class="lineno"> 401</span> <span class="preprocessor">#ifdef __cplusplus</span></div><div class="line"><a name="l00402"></a><span class="lineno"> 402</span> }</div><div class="line"><a name="l00403"></a><span class="lineno"> 403</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00404"></a><span class="lineno"> 404</span> <span class="preprocessor">#include "<a class="code" href="close__code_8h.html">close_code.h</a>"</span></div><div class="line"><a name="l00405"></a><span class="lineno"> 405</span> </div><div class="line"><a name="l00406"></a><span class="lineno"> 406</span> <span class="preprocessor">#endif </span><span class="comment">/* SDL_joystick_h_ */</span><span class="preprocessor"></span></div><div class="line"><a name="l00407"></a><span class="lineno"> 407</span> </div><div class="line"><a name="l00408"></a><span class="lineno"> 408</span> <span class="comment">/* vi: set ts=4 sw=4 expandtab: */</span></div><div class="ttc" id="SDL__joystick_8h_html_aa62ea91c7c4ca2d12804a9fb3760e448"><div class="ttname"><a href="SDL__joystick_8h.html#aa62ea91c7c4ca2d12804a9fb3760e448">SDL_JoystickNumHats</a></div><div class="ttdeci">DECLSPEC int SDLCALL SDL_JoystickNumHats(SDL_Joystick *joystick)</div></div> <div class="ttc" id="SDL__joystick_8h_html_ad21afdbdd915c013cacefb7e79bfe3bf"><div class="ttname"><a href="SDL__joystick_8h.html#ad21afdbdd915c013cacefb7e79bfe3bf">SDL_JoystickGetType</a></div><div class="ttdeci">DECLSPEC SDL_JoystickType SDLCALL SDL_JoystickGetType(SDL_Joystick *joystick)</div></div> <div class="ttc" id="SDL__joystick_8h_html_a755d087bb16270087bfced7501656a6d"><div class="ttname"><a href="SDL__joystick_8h.html#a755d087bb16270087bfced7501656a6d">SDL_JoystickNumBalls</a></div><div class="ttdeci">DECLSPEC int SDLCALL SDL_JoystickNumBalls(SDL_Joystick *joystick)</div></div> <div class="ttc" id="SDL__joystick_8h_html_aef9d131a6a6838847731cf8094944b46"><div class="ttname"><a href="SDL__joystick_8h.html#aef9d131a6a6838847731cf8094944b46">SDL_JoystickGetGUIDFromString</a></div><div class="ttdeci">DECLSPEC SDL_JoystickGUID SDLCALL SDL_JoystickGetGUIDFromString(const char *pchGUID)</div></div> <div class="ttc" id="SDL__joystick_8h_html_a3b87809500c342149471e1abf0ace40c"><div class="ttname"><a href="SDL__joystick_8h.html#a3b87809500c342149471e1abf0ace40c">SDL_JoystickGetAxisInitialState</a></div><div class="ttdeci">DECLSPEC SDL_bool SDLCALL SDL_JoystickGetAxisInitialState(SDL_Joystick *joystick, int axis, Sint16 *state)</div></div> <div class="ttc" id="SDL__joystick_8h_html_ac7a5a4c17f6a5a4ef9f5bc78e50913df"><div class="ttname"><a href="SDL__joystick_8h.html#ac7a5a4c17f6a5a4ef9f5bc78e50913df">SDL_JoystickGetBall</a></div><div class="ttdeci">DECLSPEC int SDLCALL SDL_JoystickGetBall(SDL_Joystick *joystick, int ball, int *dx, int *dy)</div></div> <div class="ttc" id="SDL__joystick_8h_html_a6330470720659333e6ef60994942a855"><div class="ttname"><a href="SDL__joystick_8h.html#a6330470720659333e6ef60994942a855">SDL_JoystickGetDeviceProduct</a></div><div class="ttdeci">DECLSPEC Uint16 SDLCALL SDL_JoystickGetDeviceProduct(int device_index)</div></div> <div class="ttc" id="SDL__joystick_8h_html_ac6fbda13b93679bedfc34733d4b2e748"><div class="ttname"><a href="SDL__joystick_8h.html#ac6fbda13b93679bedfc34733d4b2e748">SDL_JoystickGetAxis</a></div><div class="ttdeci">DECLSPEC Sint16 SDLCALL SDL_JoystickGetAxis(SDL_Joystick *joystick, int axis)</div></div> <div class="ttc" id="SDL__joystick_8h_html_a5b6f6554bca2659e149b5bc0fa538899"><div class="ttname"><a href="SDL__joystick_8h.html#a5b6f6554bca2659e149b5bc0fa538899">SDL_JoystickOpen</a></div><div class="ttdeci">DECLSPEC SDL_Joystick *SDLCALL SDL_JoystickOpen(int device_index)</div></div> <div class="ttc" id="SDL__joystick_8h_html_a13d9a1e3c5cbe2591cd5214aad48fed8"><div class="ttname"><a href="SDL__joystick_8h.html#a13d9a1e3c5cbe2591cd5214aad48fed8">SDL_JoystickGetVendor</a></div><div class="ttdeci">DECLSPEC Uint16 SDLCALL SDL_JoystickGetVendor(SDL_Joystick *joystick)</div></div> <div class="ttc" id="SDL__joystick_8h_html_a307c87a4de5aec2d1ca22856d94930fa"><div class="ttname"><a href="SDL__joystick_8h.html#a307c87a4de5aec2d1ca22856d94930fa">SDL_JoystickRumble</a></div><div class="ttdeci">DECLSPEC int SDLCALL SDL_JoystickRumble(SDL_Joystick *joystick, Uint16 low_frequency_rumble, Uint16 high_frequency_rumble, Uint32 duration_ms)</div></div> <div class="ttc" id="begin__code_8h_html"><div class="ttname"><a href="begin__code_8h.html">begin_code.h</a></div></div> <div class="ttc" id="SDL__joystick_8h_html_a4a2e0bedda1b7d0ac957607e944bfba0"><div class="ttname"><a href="SDL__joystick_8h.html#a4a2e0bedda1b7d0ac957607e944bfba0">SDL_LockJoysticks</a></div><div class="ttdeci">DECLSPEC void SDLCALL SDL_LockJoysticks(void)</div></div> <div class="ttc" id="SDL__stdinc_8h_html"><div class="ttname"><a href="SDL__stdinc_8h.html">SDL_stdinc.h</a></div></div> <div class="ttc" id="SDL__joystick_8h_html_a0f4732dffd2a769a2346f4091b2f3199"><div class="ttname"><a href="SDL__joystick_8h.html#a0f4732dffd2a769a2346f4091b2f3199">SDL_JoystickGetProduct</a></div><div class="ttdeci">DECLSPEC Uint16 SDLCALL SDL_JoystickGetProduct(SDL_Joystick *joystick)</div></div> <div class="ttc" id="SDL__joystick_8h_html_afdbf5289ff5452afb1bd869ffcf250b5"><div class="ttname"><a href="SDL__joystick_8h.html#afdbf5289ff5452afb1bd869ffcf250b5">SDL_JoystickGetDeviceGUID</a></div><div class="ttdeci">DECLSPEC SDL_JoystickGUID SDLCALL SDL_JoystickGetDeviceGUID(int device_index)</div></div> <div class="ttc" id="SDL__joystick_8h_html_a222cd2d664acbea2dad78b891df4b89a"><div class="ttname"><a href="SDL__joystick_8h.html#a222cd2d664acbea2dad78b891df4b89a">SDL_JoystickGetAttached</a></div><div class="ttdeci">DECLSPEC SDL_bool SDLCALL SDL_JoystickGetAttached(SDL_Joystick *joystick)</div></div> <div class="ttc" id="SDL__joystick_8h_html_aafa0951b40ec2e200c098495c3dd4943"><div class="ttname"><a href="SDL__joystick_8h.html#aafa0951b40ec2e200c098495c3dd4943">SDL_JoystickClose</a></div><div class="ttdeci">DECLSPEC void SDLCALL SDL_JoystickClose(SDL_Joystick *joystick)</div></div> <div class="ttc" id="close__code_8h_html"><div class="ttname"><a href="close__code_8h.html">close_code.h</a></div></div> <div class="ttc" id="SDL__joystick_8h_html_ab38dfc6428e15c2476478418075d4c83"><div class="ttname"><a href="SDL__joystick_8h.html#ab38dfc6428e15c2476478418075d4c83">SDL_JoystickInstanceID</a></div><div class="ttdeci">DECLSPEC SDL_JoystickID SDLCALL SDL_JoystickInstanceID(SDL_Joystick *joystick)</div></div> <div class="ttc" id="SDL__joystick_8h_html_a192bbea3553394a6e9c80f77e431fd76"><div class="ttname"><a href="SDL__joystick_8h.html#a192bbea3553394a6e9c80f77e431fd76">SDL_JoystickCurrentPowerLevel</a></div><div class="ttdeci">DECLSPEC SDL_JoystickPowerLevel SDLCALL SDL_JoystickCurrentPowerLevel(SDL_Joystick *joystick)</div></div> <div class="ttc" id="SDL__error_8h_html"><div class="ttname"><a href="SDL__error_8h.html">SDL_error.h</a></div></div> <div class="ttc" id="SDL__joystick_8h_html_a865c2e087fe69a3a30c87243729ecdea"><div class="ttname"><a href="SDL__joystick_8h.html#a865c2e087fe69a3a30c87243729ecdea">SDL_JoystickNumAxes</a></div><div class="ttdeci">DECLSPEC int SDLCALL SDL_JoystickNumAxes(SDL_Joystick *joystick)</div></div> <div class="ttc" id="SDL__joystick_8h_html_afb8ba88559debca4ab2c702b8500d5fe"><div class="ttname"><a href="SDL__joystick_8h.html#afb8ba88559debca4ab2c702b8500d5fe">SDL_JoystickGetDeviceVendor</a></div><div class="ttdeci">DECLSPEC Uint16 SDLCALL SDL_JoystickGetDeviceVendor(int device_index)</div></div> <div class="ttc" id="SDL__joystick_8h_html_aaf7789eb03bc42525691e075e2a36131"><div class="ttname"><a href="SDL__joystick_8h.html#aaf7789eb03bc42525691e075e2a36131">SDL_JoystickGetButton</a></div><div class="ttdeci">DECLSPEC Uint8 SDLCALL SDL_JoystickGetButton(SDL_Joystick *joystick, int button)</div></div> <div class="ttc" id="structSDL__JoystickGUID_html"><div class="ttname"><a href="structSDL__JoystickGUID.html">SDL_JoystickGUID</a></div><div class="ttdef"><b>Definition:</b> SDL_joystick.h:70</div></div> <div class="ttc" id="SDL__joystick_8h_html_a2ab130eaa28f8e3bd544a5432041a311"><div class="ttname"><a href="SDL__joystick_8h.html#a2ab130eaa28f8e3bd544a5432041a311">SDL_NumJoysticks</a></div><div class="ttdeci">DECLSPEC int SDLCALL SDL_NumJoysticks(void)</div></div> <div class="ttc" id="SDL__joystick_8h_html_a1b3543511c1839f9c06aeea65b574e77"><div class="ttname"><a href="SDL__joystick_8h.html#a1b3543511c1839f9c06aeea65b574e77">SDL_JoystickGetPlayerIndex</a></div><div class="ttdeci">DECLSPEC int SDLCALL SDL_JoystickGetPlayerIndex(SDL_Joystick *joystick)</div></div> <div class="ttc" id="SDL__joystick_8h_html_afe6bbdbc0c81170d237fae42bec05665"><div class="ttname"><a href="SDL__joystick_8h.html#afe6bbdbc0c81170d237fae42bec05665">SDL_JoystickGetProductVersion</a></div><div class="ttdeci">DECLSPEC Uint16 SDLCALL SDL_JoystickGetProductVersion(SDL_Joystick *joystick)</div></div> <div class="ttc" id="SDL__joystick_8h_html_a3c3d32500cb08f76ee8077983912c0bd"><div class="ttname"><a href="SDL__joystick_8h.html#a3c3d32500cb08f76ee8077983912c0bd">SDL_JoystickID</a></div><div class="ttdeci">Sint32 SDL_JoystickID</div><div class="ttdef"><b>Definition:</b> SDL_joystick.h:81</div></div> <div class="ttc" id="SDL__joystick_8h_html_ad36c04c086f834fe09a97e4cf86a5a59"><div class="ttname"><a href="SDL__joystick_8h.html#ad36c04c086f834fe09a97e4cf86a5a59">SDL_JoystickNameForIndex</a></div><div class="ttdeci">DECLSPEC const char *SDLCALL SDL_JoystickNameForIndex(int device_index)</div></div> <div class="ttc" id="SDL__joystick_8h_html_a6c46ea976c7a65d49b38d31b42d11652"><div class="ttname"><a href="SDL__joystick_8h.html#a6c46ea976c7a65d49b38d31b42d11652">SDL_JoystickGetDeviceInstanceID</a></div><div class="ttdeci">DECLSPEC SDL_JoystickID SDLCALL SDL_JoystickGetDeviceInstanceID(int device_index)</div></div> <div class="ttc" id="SDL__joystick_8h_html_a51ba353843fd4477f6a485ac4ef35d00"><div class="ttname"><a href="SDL__joystick_8h.html#a51ba353843fd4477f6a485ac4ef35d00">SDL_JoystickEventState</a></div><div class="ttdeci">DECLSPEC int SDLCALL SDL_JoystickEventState(int state)</div></div> <div class="ttc" id="SDL__joystick_8h_html_a7f615ef8040e7e9de3af6482d8d9908c"><div class="ttname"><a href="SDL__joystick_8h.html#a7f615ef8040e7e9de3af6482d8d9908c">SDL_JoystickGetGUIDString</a></div><div class="ttdeci">DECLSPEC void SDLCALL SDL_JoystickGetGUIDString(SDL_JoystickGUID guid, char *pszGUID, int cbGUID)</div></div> <div class="ttc" id="SDL__joystick_8h_html_ad882a8dd3fe4278725a7fc212b755db7"><div class="ttname"><a href="SDL__joystick_8h.html#ad882a8dd3fe4278725a7fc212b755db7">SDL_JoystickGetDevicePlayerIndex</a></div><div class="ttdeci">DECLSPEC int SDLCALL SDL_JoystickGetDevicePlayerIndex(int device_index)</div></div> <div class="ttc" id="SDL__joystick_8h_html_a3ea23a9504ea56f2778147dbf39a029f"><div class="ttname"><a href="SDL__joystick_8h.html#a3ea23a9504ea56f2778147dbf39a029f">SDL_JoystickUpdate</a></div><div class="ttdeci">DECLSPEC void SDLCALL SDL_JoystickUpdate(void)</div></div> <div class="ttc" id="SDL__joystick_8h_html_a2215030cf283295569fee41fd0251e01"><div class="ttname"><a href="SDL__joystick_8h.html#a2215030cf283295569fee41fd0251e01">SDL_JoystickGetHat</a></div><div class="ttdeci">DECLSPEC Uint8 SDLCALL SDL_JoystickGetHat(SDL_Joystick *joystick, int hat)</div></div> <div class="ttc" id="SDL__joystick_8h_html_a10972ad002df75e76ed68c18e1188e5e"><div class="ttname"><a href="SDL__joystick_8h.html#a10972ad002df75e76ed68c18e1188e5e">SDL_JoystickGetDeviceProductVersion</a></div><div class="ttdeci">DECLSPEC Uint16 SDLCALL SDL_JoystickGetDeviceProductVersion(int device_index)</div></div> <div class="ttc" id="SDL__joystick_8h_html_ad3ab02961bc45606e8f5f937c934160c"><div class="ttname"><a href="SDL__joystick_8h.html#ad3ab02961bc45606e8f5f937c934160c">SDL_JoystickName</a></div><div class="ttdeci">DECLSPEC const char *SDLCALL SDL_JoystickName(SDL_Joystick *joystick)</div></div> <div class="ttc" id="SDL__joystick_8h_html_acc85c770af41eae76948e11c678f92ca"><div class="ttname"><a href="SDL__joystick_8h.html#acc85c770af41eae76948e11c678f92ca">SDL_JoystickGetGUID</a></div><div class="ttdeci">DECLSPEC SDL_JoystickGUID SDLCALL SDL_JoystickGetGUID(SDL_Joystick *joystick)</div></div> <div class="ttc" id="SDL__joystick_8h_html_a368a06b0fd51d453bb4692dcc2c42b69"><div class="ttname"><a href="SDL__joystick_8h.html#a368a06b0fd51d453bb4692dcc2c42b69">SDL_JoystickGetDeviceType</a></div><div class="ttdeci">DECLSPEC SDL_JoystickType SDLCALL SDL_JoystickGetDeviceType(int device_index)</div></div> <div class="ttc" id="SDL__joystick_8h_html_adfc662e571011ae7ec303101ab34e53a"><div class="ttname"><a href="SDL__joystick_8h.html#adfc662e571011ae7ec303101ab34e53a">SDL_JoystickNumButtons</a></div><div class="ttdeci">DECLSPEC int SDLCALL SDL_JoystickNumButtons(SDL_Joystick *joystick)</div></div> <div class="ttc" id="SDL__joystick_8h_html_abdca7bdd08c34dc7c292c296c440698a"><div class="ttname"><a href="SDL__joystick_8h.html#abdca7bdd08c34dc7c292c296c440698a">SDL_JoystickFromInstanceID</a></div><div class="ttdeci">DECLSPEC SDL_Joystick *SDLCALL SDL_JoystickFromInstanceID(SDL_JoystickID joyid)</div></div> </div><!-- fragment --></div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.15 </small></address> </body> </html>