OSDN Git Service

SDL_Vulkan_UnloadLibrary 新規追加 https://wiki.libsdl.org/SDL_Vulkan_UnloadLibrary
[sdl2referencejp/sdl2referencejp.git] / SDL_JoystickNameForIndex.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">\r
2 <html lang="ja-JP">\r
3 <head>\r
4 <meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS">\r
5 <meta http-equiv="Content-Style-Type" content="text/css">\r
6 <meta name="keywords" content="Simple Directmedia Layer SDL2.0">\r
7 <link rel="top" href="index.html" title="\83z\81[\83\80">\r
8 <link rel="parent" href="CategoryJoystick.html" title="1\82Â\8fã">\r
9 <title>SDL_JoystickNameForIndex</title>\r
10 </head>\r
11 <body>\r
12 <a href="index.html">\96Ú\8e\9f</a> - <a href="ApiByCategory.html">API(\8b@\94\\95Ê)</a> - <a href="CategoryJoystick.html">\83W\83\87\83C\83X\83e\83B\83b\83N</a> - SDL_JoystickNameForIndex\r
13 <hr>\r
14 <h1>SDL_JoystickNameForIndex</h1>\r
15 \83W\83\87\83C\83X\83e\83B\83b\83N\82Ì\8eÀ\91\95\82©\82ç\93¾\82½\96¼\91O\82ð\93¾\82é\r
16 <h2>\8d\\95¶</h2>\r
17 <code>const char* SDL_JoystickNameForIndex(int device_index)</code>\r
18 <h2>\88ø\90\94</h2>\r
19 <table border="1" summary="SDL_JoystickNameForIndex">\r
20 <tr><td>device_index</td><td>\92²\8d¸\82·\82é\83W\83\87\83C\83X\83e\83B\83b\83N\82Ì\94Ô\8d\86 (\83V\83X\83e\83\80\82ÌN\94Ô\96Ú\82Ì\83W\83\87\83C\83X\83e\83B\83b\83N)</td></tr>\r
21 </table>\r
22 <h2>\96ß\82è\92l</h2>\r
23 \91I\91ð\82µ\82½\83W\83\87\83C\83X\83e\83B\83b\83N\82Ì\8eÀ\91\95\82©\82ç\93¾\82½\96¼\91O\82ð\96ß\82·.\r
24 \96¼\91O\82ª\8c©\82Â\82©\82ç\82È\82¯\82ê\82ÎNULL\82ð\96ß\82·.\r
25 <a href="SDL_GetError.html">SDL_GetError()</a>\82Å\8fÚ\8d×\82ð\92m\82é\82±\82Æ\82ª\82Å\82«\82é.\r
26 <h2>\83T\83\93\83v\83\8b\83R\81[\83h</h2>\r
27 <p>\r
28 <code>\r
29 <pre>\r
30 /* \91S\82Ä\82Ì\90Ú\91±\82³\82ê\82½\83W\83\87\83C\83X\83e\83B\83b\83N\82Ì\96¼\91O\82ð\95\\8e¦\82·\82é */\r
31 int num_joy, i;\r
32 num_joy = SDL_NumJoysticks();\r
33 printf("%d \82Ì\83W\83\87\83C\83X\83e\83B\83b\83N\82ð\8c\9f\92m\82µ\82½\n", num_joy);\r
34 for (i = 0; i &lt; num_joy; ++i) {\r
35     printf("%s\n", SDL_JoystickNameForIndex(i));\r
36 }\r
37 </pre>\r
38 </code>\r
39 </p>\r
40 <h2>\8fÚ\8d×</h2>\r
41 \82±\82Ì\8aÖ\90\94\82Í\83W\83\87\83C\83X\83e\83B\83b\83N\82ð\8aJ\82­\91O\82É\8cÄ\82Ô\82±\82Æ\82ª\82Å\82«\82é.\r
42 <h2>\8aÖ\98A\8d\80\96Ú(\8aÖ\90\94)</h2>\r
43 <a href="SDL_JoystickName.html">SDL_JoystickName</a><br>\r
44 <a href="SDL_JoystickOpen.html">SDL_JoystickOpen</a><br>\r
45 <h2>SDL Wiki\82Ö\82Ì\83\8a\83\93\83N</h2>\r
46 <a href="https://wiki.libsdl.org/SDL_JoystickNameForIndex">SDL_JoystickNameForIndex - SDL Wiki</a>\r
47 <hr>\r
48 </body>\r
49 </html>\r