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="CategoryJoystick.html" title="1
\82Â
\8fã">
\r
9 <title>SDL_JoystickEventState</title>
\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_JoystickEventState
\r
14 <h1>SDL_JoystickEventState</h1>
\r
15 \83W
\83\87\83C
\83X
\83e
\83B
\83b
\83N
\83C
\83x
\83\93\83g
\82ð
\97L
\8cø
\81E
\96³
\8cø
\82É
\82·
\82é
\r
17 <code>int SDL_JoystickEventState(int state)</code>
\r
19 <table border="1" summary="SDL_JoystickEventState">
\r
20 <tr><td>state</td><td>SDL_QUERY, SDL_IGNORE, SDL_ENABLE
\82Ì1
\82Â</td></tr>
\r
22 \83\81\83\82:
\91ã
\82í
\82è
\82É -1, 0, 1
\82Å
\82à
\82æ
\82¢.
\r
23 <h2>
\96ß
\82è
\92l</h2>
\r
24 \97L
\8cø
\82Ì
\82Æ
\82«1,
\96³
\8cø
\82Ì
\82Æ
\82«0,
\8e¸
\94s
\82Ì
\82Æ
\82«
\95\89\82Ì
\90\94\82Ì
\83G
\83\89\81[
\83R
\81[
\83h
\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
30 printf("%d\n", SDL_JoystickEventState(SDL_QUERY)); /* 1
\82ª
\95\
\8e¦
\82³
\82ê
\82é */
\r
31 printf("%d\n", SDL_JoystickEventState(SDL_IGNORE)); /* 0
\82ª
\95\
\8e¦
\82³
\82ê
\82é */
\r
32 printf("%d\n", SDL_JoystickEventState(SDL_QUERY)); /* 0
\82ª
\95\
\8e¦
\82³
\82ê
\82é */
\r
38 \83W
\83\87\83C
\83X
\83e
\83B
\83b
\83N
\83C
\83x
\83\93\83g
\82ª
\96³
\8cø
\82Ì
\82Æ
\82«
\83W
\83\87\83C
\83X
\83e
\83B
\83b
\83N
\82Ì
\8fó
\91Ô
\82ð
\93¾
\82é
\82É
\82Í, <a href="SDL_JoystickUpdate.html">SDL_JoystickUpdate()</a>
\82ð
\8e©
\95ª
\82Å
\8cÄ
\82Ñ,
\8fó
\91Ô
\82ð
\8eè
\93®
\82Å
\83`
\83F
\83b
\83N
\82·
\82é
\95K
\97v
\82ª
\82 \82é.
\r
41 \83\81\83\82:
\83W
\83\87\83C
\83X
\83e
\83B
\83b
\83N
\83C
\83x
\83\93\83g
\82Í
\97L
\8cø
\82Ì
\82Ü
\82Ü
\82É
\82µ
\82Ä
\82¨
\82
\82±
\82Æ
\82ð
\90\84\8f§
\82·
\82é.
\r
42 \8cx
\8d\90:
\82±
\82Ì
\8aÖ
\90\94\82ð
\8cÄ
\82Ô
\82Æ, SDL
\83C
\83x
\83\93\83g
\83L
\83\85\81[
\82Ì
\8c»
\8dÝ
\82Ì
\83C
\83x
\83\93\83g
\82Í
\91S
\82Ä
\8dí
\8f\9c\82³
\82ê
\82é.
\r
44 <h2>
\8aÖ
\98A
\8d\80\96Ú(
\8aÖ
\90\94)</h2>
\r
45 <a href="SDL_GameControllerEventState.html">SDL_GameControllerEventState</a><br>
\r
46 <h2>SDL Wiki
\82Ö
\82Ì
\83\8a\83\93\83N</h2>
\r
47 <a href="https://wiki.libsdl.org/SDL_JoystickEventState">SDL_JoystickEventState - SDL Wiki</a>
\r