SDL 1.2.13
[crawl:crawl-sdl.git] / docs / html / sdlgetkeyname.html
1 <HTML
2 ><HEAD
3 ><TITLE
4 >SDL_GetKeyName</TITLE
5 ><META
6 NAME="GENERATOR"
7 CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
8 "><LINK
9 REL="HOME"
10 TITLE="SDL Library Documentation"
11 HREF="index.html"><LINK
12 REL="UP"
13 TITLE="Event Functions."
14 HREF="eventfunctions.html"><LINK
15 REL="PREVIOUS"
16 TITLE="SDL_SetModState"
17 HREF="sdlsetmodstate.html"><LINK
18 REL="NEXT"
19 TITLE="SDL_EnableUNICODE"
20 HREF="sdlenableunicode.html"></HEAD
21 ><BODY
22 CLASS="REFENTRY"
23 BGCOLOR="#FFF8DC"
24 TEXT="#000000"
25 LINK="#0000ee"
26 VLINK="#551a8b"
27 ALINK="#ff0000"
28 ><DIV
29 CLASS="NAVHEADER"
30 ><TABLE
31 SUMMARY="Header navigation table"
32 WIDTH="100%"
33 BORDER="0"
34 CELLPADDING="0"
35 CELLSPACING="0"
36 ><TR
37 ><TH
38 COLSPAN="3"
39 ALIGN="center"
40 >SDL Library Documentation</TH
41 ></TR
42 ><TR
43 ><TD
44 WIDTH="10%"
45 ALIGN="left"
46 VALIGN="bottom"
47 ><A
48 HREF="sdlsetmodstate.html"
49 ACCESSKEY="P"
50 >Prev</A
51 ></TD
52 ><TD
53 WIDTH="80%"
54 ALIGN="center"
55 VALIGN="bottom"
56 ></TD
57 ><TD
58 WIDTH="10%"
59 ALIGN="right"
60 VALIGN="bottom"
61 ><A
62 HREF="sdlenableunicode.html"
63 ACCESSKEY="N"
64 >Next</A
65 ></TD
66 ></TR
67 ></TABLE
68 ><HR
69 ALIGN="LEFT"
70 WIDTH="100%"></DIV
71 ><H1
72 ><A
73 NAME="SDLGETKEYNAME"
74 ></A
75 >SDL_GetKeyName</H1
76 ><DIV
77 CLASS="REFNAMEDIV"
78 ><A
79 NAME="AEN5780"
80 ></A
81 ><H2
82 >Name</H2
83 >SDL_GetKeyName&nbsp;--&nbsp;Get the name of an SDL virtual keysym</DIV
84 ><DIV
85 CLASS="REFSYNOPSISDIV"
86 ><A
87 NAME="AEN5783"
88 ></A
89 ><H2
90 >Synopsis</H2
91 ><DIV
92 CLASS="FUNCSYNOPSIS"
93 ><A
94 NAME="AEN5784"
95 ></A
96 ><P
97 ></P
98 ><PRE
99 CLASS="FUNCSYNOPSISINFO"
100 >#include "SDL.h"</PRE
101 ><P
102 ><CODE
103 ><CODE
104 CLASS="FUNCDEF"
105 >char *<B
106 CLASS="FSFUNC"
107 >SDL_GetKeyName</B
108 ></CODE
109 >(SDLKey key);</CODE
110 ></P
111 ><P
112 ></P
113 ></DIV
114 ></DIV
115 ><DIV
116 CLASS="REFSECT1"
117 ><A
118 NAME="AEN5790"
119 ></A
120 ><H2
121 >Description</H2
122 ><P
123 >Returns the SDL-defined name of the <A
124 HREF="sdlkey.html"
125 ><SPAN
126 CLASS="STRUCTNAME"
127 >SDLKey</SPAN
128 ></A
129 > <TT
130 CLASS="PARAMETER"
131 ><I
132 >key</I
133 ></TT
134 >.</P
135 ></DIV
136 ><DIV
137 CLASS="REFSECT1"
138 ><A
139 NAME="AEN5796"
140 ></A
141 ><H2
142 >See Also</H2
143 ><P
144 ><A
145 HREF="sdlkey.html"
146 ><SPAN
147 CLASS="STRUCTNAME"
148 >SDLKey</SPAN
149 ></A
150 ></P
151 ></DIV
152 ><DIV
153 CLASS="NAVFOOTER"
154 ><HR
155 ALIGN="LEFT"
156 WIDTH="100%"><TABLE
157 SUMMARY="Footer navigation table"
158 WIDTH="100%"
159 BORDER="0"
160 CELLPADDING="0"
161 CELLSPACING="0"
162 ><TR
163 ><TD
164 WIDTH="33%"
165 ALIGN="left"
166 VALIGN="top"
167 ><A
168 HREF="sdlsetmodstate.html"
169 ACCESSKEY="P"
170 >Prev</A
171 ></TD
172 ><TD
173 WIDTH="34%"
174 ALIGN="center"
175 VALIGN="top"
176 ><A
177 HREF="index.html"
178 ACCESSKEY="H"
179 >Home</A
180 ></TD
181 ><TD
182 WIDTH="33%"
183 ALIGN="right"
184 VALIGN="top"
185 ><A
186 HREF="sdlenableunicode.html"
187 ACCESSKEY="N"
188 >Next</A
189 ></TD
190 ></TR
191 ><TR
192 ><TD
193 WIDTH="33%"
194 ALIGN="left"
195 VALIGN="top"
196 >SDL_SetModState</TD
197 ><TD
198 WIDTH="34%"
199 ALIGN="center"
200 VALIGN="top"
201 ><A
202 HREF="eventfunctions.html"
203 ACCESSKEY="U"
204 >Up</A
205 ></TD
206 ><TD
207 WIDTH="33%"
208 ALIGN="right"
209 VALIGN="top"
210 >SDL_EnableUNICODE</TD
211 ></TR
212 ></TABLE
213 ></DIV
214 ></BODY
215 ></HTML
216 >