comparison docs/html/sdlgetkeystate.html @ 181:e5bc29de3f0a

Updated from the SDL Documentation Project
author Sam Lantinga <slouken@libsdl.org>
date Fri, 14 Sep 2001 02:41:09 +0000
parents 55f1f1b3e27d
children 355632dca928
comparison
equal deleted inserted replaced
180:578815880307 181:e5bc29de3f0a
71 >SDL_GetKeyState</A 71 >SDL_GetKeyState</A
72 ></H1 72 ></H1
73 ><DIV 73 ><DIV
74 CLASS="REFNAMEDIV" 74 CLASS="REFNAMEDIV"
75 ><A 75 ><A
76 NAME="AEN5143" 76 NAME="AEN5298"
77 ></A 77 ></A
78 ><H2 78 ><H2
79 >Name</H2 79 >Name</H2
80 >SDL_GetKeyState&nbsp;--&nbsp;Get a snapshot of the current keyboard state</DIV 80 >SDL_GetKeyState&nbsp;--&nbsp;Get a snapshot of the current keyboard state</DIV
81 ><DIV 81 ><DIV
82 CLASS="REFSYNOPSISDIV" 82 CLASS="REFSYNOPSISDIV"
83 ><A 83 ><A
84 NAME="AEN5146" 84 NAME="AEN5301"
85 ></A 85 ></A
86 ><H2 86 ><H2
87 >Synopsis</H2 87 >Synopsis</H2
88 ><DIV 88 ><DIV
89 CLASS="FUNCSYNOPSIS" 89 CLASS="FUNCSYNOPSIS"
90 ><A 90 ><A
91 NAME="AEN5147" 91 NAME="AEN5302"
92 ></A 92 ></A
93 ><P 93 ><P
94 ></P 94 ></P
95 ><PRE 95 ><PRE
96 CLASS="FUNCSYNOPSISINFO" 96 CLASS="FUNCSYNOPSISINFO"
110 ></DIV 110 ></DIV
111 ></DIV 111 ></DIV
112 ><DIV 112 ><DIV
113 CLASS="REFSECT1" 113 CLASS="REFSECT1"
114 ><A 114 ><A
115 NAME="AEN5153" 115 NAME="AEN5308"
116 ></A 116 ></A
117 ><H2 117 ><H2
118 >Description</H2 118 >Description</H2
119 ><P 119 ><P
120 >Gets a snapshot of the current keyboard state. The current state is return as a pointer to an array, the size of this array is stored in <TT 120 >Gets a snapshot of the current keyboard state. The current state is return as a pointer to an array, the size of this array is stored in <TT
126 HREF="sdlkey.html" 126 HREF="sdlkey.html"
127 ><TT 127 ><TT
128 CLASS="LITERAL" 128 CLASS="LITERAL"
129 >SDLK_*</TT 129 >SDLK_*</TT
130 ></A 130 ></A
131 > symbols. A value of 1 means the key is pressed and a value of 0 means its not.</P 131 > symbols. A value of 1 means the key is pressed and a value of 0 means its not. The pointer returned is a pointer to an internal SDL array and should not be freed by the caller.</P
132 ><DIV 132 ><DIV
133 CLASS="NOTE" 133 CLASS="NOTE"
134 ><BLOCKQUOTE 134 ><BLOCKQUOTE
135 CLASS="NOTE" 135 CLASS="NOTE"
136 ><P 136 ><P
147 ></DIV 147 ></DIV
148 ></DIV 148 ></DIV
149 ><DIV 149 ><DIV
150 CLASS="REFSECT1" 150 CLASS="REFSECT1"
151 ><A 151 ><A
152 NAME="AEN5163" 152 NAME="AEN5318"
153 ></A 153 ></A
154 ><H2 154 ><H2
155 >Example</H2 155 >Example</H2
156 ><P 156 ><P
157 ><PRE 157 ><PRE
161 ></P 161 ></P
162 ></DIV 162 ></DIV
163 ><DIV 163 ><DIV
164 CLASS="REFSECT1" 164 CLASS="REFSECT1"
165 ><A 165 ><A
166 NAME="AEN5167" 166 NAME="AEN5322"
167 ></A 167 ></A
168 ><H2 168 ><H2
169 >See Also</H2 169 >See Also</H2
170 ><P 170 ><P
171 ><A 171 ><A