comparison docs/html/sdljoystickopen.html @ 803:355632dca928

Updated SDL HTML documentation
author Sam Lantinga <slouken@libsdl.org>
date Tue, 10 Feb 2004 15:15:40 +0000
parents e5bc29de3f0a
children
comparison
equal deleted inserted replaced
802:3c609d54f100 803:355632dca928
2 ><HEAD 2 ><HEAD
3 ><TITLE 3 ><TITLE
4 >SDL_JoystickOpen</TITLE 4 >SDL_JoystickOpen</TITLE
5 ><META 5 ><META
6 NAME="GENERATOR" 6 NAME="GENERATOR"
7 CONTENT="Modular DocBook HTML Stylesheet Version 1.64 7 CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
8 "><LINK 8 "><LINK
9 REL="HOME" 9 REL="HOME"
10 TITLE="SDL Library Documentation" 10 TITLE="SDL Library Documentation"
11 HREF="index.html"><LINK 11 HREF="index.html"><LINK
12 REL="UP" 12 REL="UP"
26 VLINK="#551a8b" 26 VLINK="#551a8b"
27 ALINK="#ff0000" 27 ALINK="#ff0000"
28 ><DIV 28 ><DIV
29 CLASS="NAVHEADER" 29 CLASS="NAVHEADER"
30 ><TABLE 30 ><TABLE
31 SUMMARY="Header navigation table"
31 WIDTH="100%" 32 WIDTH="100%"
32 BORDER="0" 33 BORDER="0"
33 CELLPADDING="0" 34 CELLPADDING="0"
34 CELLSPACING="0" 35 CELLSPACING="0"
35 ><TR 36 ><TR
43 WIDTH="10%" 44 WIDTH="10%"
44 ALIGN="left" 45 ALIGN="left"
45 VALIGN="bottom" 46 VALIGN="bottom"
46 ><A 47 ><A
47 HREF="sdljoystickname.html" 48 HREF="sdljoystickname.html"
49 ACCESSKEY="P"
48 >Prev</A 50 >Prev</A
49 ></TD 51 ></TD
50 ><TD 52 ><TD
51 WIDTH="80%" 53 WIDTH="80%"
52 ALIGN="center" 54 ALIGN="center"
56 WIDTH="10%" 58 WIDTH="10%"
57 ALIGN="right" 59 ALIGN="right"
58 VALIGN="bottom" 60 VALIGN="bottom"
59 ><A 61 ><A
60 HREF="sdljoystickopened.html" 62 HREF="sdljoystickopened.html"
63 ACCESSKEY="N"
61 >Next</A 64 >Next</A
62 ></TD 65 ></TD
63 ></TR 66 ></TR
64 ></TABLE 67 ></TABLE
65 ><HR 68 ><HR
66 ALIGN="LEFT" 69 ALIGN="LEFT"
67 WIDTH="100%"></DIV 70 WIDTH="100%"></DIV
68 ><H1 71 ><H1
69 ><A 72 ><A
70 NAME="SDLJOYSTICKOPEN" 73 NAME="SDLJOYSTICKOPEN"
71 >SDL_JoystickOpen</A 74 ></A
72 ></H1 75 >SDL_JoystickOpen</H1
73 ><DIV 76 ><DIV
74 CLASS="REFNAMEDIV" 77 CLASS="REFNAMEDIV"
75 ><A 78 ><A
76 NAME="AEN5708" 79 NAME="AEN6096"
77 ></A 80 ></A
78 ><H2 81 ><H2
79 >Name</H2 82 >Name</H2
80 >SDL_JoystickOpen&nbsp;--&nbsp;Opens a joystick for use.</DIV 83 >SDL_JoystickOpen&nbsp;--&nbsp;Opens a joystick for use.</DIV
81 ><DIV 84 ><DIV
82 CLASS="REFSYNOPSISDIV" 85 CLASS="REFSYNOPSISDIV"
83 ><A 86 ><A
84 NAME="AEN5711" 87 NAME="AEN6099"
85 ></A 88 ></A
86 ><H2 89 ><H2
87 >Synopsis</H2 90 >Synopsis</H2
88 ><DIV 91 ><DIV
89 CLASS="FUNCSYNOPSIS" 92 CLASS="FUNCSYNOPSIS"
90 ><A 93 ><A
91 NAME="AEN5712" 94 NAME="AEN6100"
92 ></A 95 ></A
93 ><P 96 ><P
94 ></P 97 ></P
95 ><PRE 98 ><PRE
96 CLASS="FUNCSYNOPSISINFO" 99 CLASS="FUNCSYNOPSISINFO"
110 ></DIV 113 ></DIV
111 ></DIV 114 ></DIV
112 ><DIV 115 ><DIV
113 CLASS="REFSECT1" 116 CLASS="REFSECT1"
114 ><A 117 ><A
115 NAME="AEN5718" 118 NAME="AEN6106"
116 ></A 119 ></A
117 ><H2 120 ><H2
118 >Description</H2 121 >Description</H2
119 ><P 122 ><P
120 >Opens a joystick for use within SDL. The <TT 123 >Opens a joystick for use within SDL. The <TT
125 > refers to the N'th joystick in the system. A joystick must be opened before it game be used.</P 128 > refers to the N'th joystick in the system. A joystick must be opened before it game be used.</P
126 ></DIV 129 ></DIV
127 ><DIV 130 ><DIV
128 CLASS="REFSECT1" 131 CLASS="REFSECT1"
129 ><A 132 ><A
130 NAME="AEN5722" 133 NAME="AEN6110"
131 ></A 134 ></A
132 ><H2 135 ><H2
133 >Return Value</H2 136 >Return Value</H2
134 ><P 137 ><P
135 >Returns a <SPAN 138 >Returns a <SPAN
141 > on failure.</P 144 > on failure.</P
142 ></DIV 145 ></DIV
143 ><DIV 146 ><DIV
144 CLASS="REFSECT1" 147 CLASS="REFSECT1"
145 ><A 148 ><A
146 NAME="AEN5727" 149 NAME="AEN6115"
147 ></A 150 ></A
148 ><H2 151 ><H2
149 >Examples</H2 152 >Examples</H2
150 ><P 153 ><P
151 ><PRE 154 ><PRE
174 ></P 177 ></P
175 ></DIV 178 ></DIV
176 ><DIV 179 ><DIV
177 CLASS="REFSECT1" 180 CLASS="REFSECT1"
178 ><A 181 ><A
179 NAME="AEN5731" 182 NAME="AEN6119"
180 ></A 183 ></A
181 ><H2 184 ><H2
182 >See Also</H2 185 >See Also</H2
183 ><P 186 ><P
184 ><A 187 ><A
192 ><DIV 195 ><DIV
193 CLASS="NAVFOOTER" 196 CLASS="NAVFOOTER"
194 ><HR 197 ><HR
195 ALIGN="LEFT" 198 ALIGN="LEFT"
196 WIDTH="100%"><TABLE 199 WIDTH="100%"><TABLE
200 SUMMARY="Footer navigation table"
197 WIDTH="100%" 201 WIDTH="100%"
198 BORDER="0" 202 BORDER="0"
199 CELLPADDING="0" 203 CELLPADDING="0"
200 CELLSPACING="0" 204 CELLSPACING="0"
201 ><TR 205 ><TR
203 WIDTH="33%" 207 WIDTH="33%"
204 ALIGN="left" 208 ALIGN="left"
205 VALIGN="top" 209 VALIGN="top"
206 ><A 210 ><A
207 HREF="sdljoystickname.html" 211 HREF="sdljoystickname.html"
212 ACCESSKEY="P"
208 >Prev</A 213 >Prev</A
209 ></TD 214 ></TD
210 ><TD 215 ><TD
211 WIDTH="34%" 216 WIDTH="34%"
212 ALIGN="center" 217 ALIGN="center"
213 VALIGN="top" 218 VALIGN="top"
214 ><A 219 ><A
215 HREF="index.html" 220 HREF="index.html"
221 ACCESSKEY="H"
216 >Home</A 222 >Home</A
217 ></TD 223 ></TD
218 ><TD 224 ><TD
219 WIDTH="33%" 225 WIDTH="33%"
220 ALIGN="right" 226 ALIGN="right"
221 VALIGN="top" 227 VALIGN="top"
222 ><A 228 ><A
223 HREF="sdljoystickopened.html" 229 HREF="sdljoystickopened.html"
230 ACCESSKEY="N"
224 >Next</A 231 >Next</A
225 ></TD 232 ></TD
226 ></TR 233 ></TR
227 ><TR 234 ><TR
228 ><TD 235 ><TD
234 WIDTH="34%" 241 WIDTH="34%"
235 ALIGN="center" 242 ALIGN="center"
236 VALIGN="top" 243 VALIGN="top"
237 ><A 244 ><A
238 HREF="joystick.html" 245 HREF="joystick.html"
246 ACCESSKEY="U"
239 >Up</A 247 >Up</A
240 ></TD 248 ></TD
241 ><TD 249 ><TD
242 WIDTH="33%" 250 WIDTH="33%"
243 ALIGN="right" 251 ALIGN="right"