1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
\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="CategoryGameController.html" title="1
\82Â
\8fã">
\r
9 <title>SDL_GameControllerName</title>
\r
12 <a href="index.html">
\96Ú
\8e\9f</a> - <a href="ApiByCategory.html">API(
\8b@
\94\
\95Ê)</a> - <a href="CategoryGameController.html">
\83Q
\81[
\83\80\83R
\83\93\83g
\83\8d\81[
\83\89\81[</a> - SDL_GameControllerName
\r
14 <h1>SDL_GameControllerName</h1>
\r
15 \8aJ
\82¢
\82½
\83Q
\81[
\83\80\83R
\83\93\83g
\83\8d\81[
\83\89\81[
\82Ì
\8eÀ
\91\95\82©
\82ç
\93¾
\82½
\96¼
\91O
\82ð
\93¾
\82é
\r
17 <code>const char* SDL_GameControllerName(SDL_GameController* gamecontroller)</code>
\r
19 <table border="1" summary="SDL_GameControllerName">
\r
20 <tr><td>gamecontroller</td><td>
\83Q
\81[
\83\80\83R
\83\93\83g
\83\8d\81[
\83\89\81[</td></tr>
\r
22 <h2>
\96ß
\82è
\92l</h2>
\r
23 \83Q
\81[
\83\80\83R
\83\93\83g
\83\8d\81[
\83\89\81[
\82Ì
\8eÀ
\91\95\82©
\82ç
\93¾
\82½
\96¼
\91O
\82ð
\96ß
\82·.
\96¼
\91O
\82ª
\82È
\82¢
\82Ü
\82½
\82Ígamecontroller
\82ª
\95s
\90³
\82Ì
\8fê
\8d\87NULL
\82ð
\96ß
\82·.
\r
24 <h2>
\83T
\83\93\83v
\83\8b\83R
\81[
\83h</h2>
\r
28 SDL_GameController *controller = NULL;
\r
29 for (int i = 0; i < SDL_NumJoysticks(); ++i) {
\r
30 controller = SDL_GameControllerOpen(i);
\r
37 printf("
\97L
\8cø
\82È
\83R
\83\93\83g
\83\8d\81[
\83\89\82ð
\8c\9f\92m
\82µ
\82½.
\96¼
\8fÌ: %s\n", SDL_GameControllerName(controller));
\r
43 \82±
\82ê
\82Í<a href="SDL_GameControllerNameForIndex.html">SDL_GameControllerNameForIndex()</a>
\82Æ
\93¯
\82¶
\96¼
\91O
\82Å
\82 \82é.
\r
44 \82µ
\82©
\82µ, (
\95s
\88À
\92è
\82È)
\83f
\83o
\83C
\83X
\94Ô
\8d\86\82Ì
\91ã
\82í
\82è
\82É
\8aJ
\82¢
\82½
\83Q
\81[
\83\80\83R
\83\93\83g
\83\8d\81[
\83\89\81[
\82ð
\88ø
\90\94\82É
\82·
\82é.
\r
45 <h2>
\8aÖ
\98A
\8d\80\96Ú(
\8aÖ
\90\94)</h2>
\r
46 <a href="SDL_GameControllerOpen.html">SDL_GameControllerOpen</a><br>
\r
47 <a href="SDL_GameControllerNameForIndex.html">SDL_GameControllerNameForIndex</a><br>
\r
48 <h2>SDL Wiki
\82Ö
\82Ì
\83\8a\83\93\83N</h2>
\r
49 <a href="https://wiki.libsdl.org/SDL_GameControllerName">SDL_GameControllerName - SDL Wiki</a>
\r