comparison docs/html/sdljoystickgethat.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_JoystickGetHat</TITLE 4 >SDL_JoystickGetHat</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="sdljoystickgetaxis.html" 48 HREF="sdljoystickgetaxis.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="sdljoystickgetbutton.html" 62 HREF="sdljoystickgetbutton.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="SDLJOYSTICKGETHAT" 73 NAME="SDLJOYSTICKGETHAT"
71 >SDL_JoystickGetHat</A 74 ></A
72 ></H1 75 >SDL_JoystickGetHat</H1
73 ><DIV 76 ><DIV
74 CLASS="REFNAMEDIV" 77 CLASS="REFNAMEDIV"
75 ><A 78 ><A
76 NAME="AEN5970" 79 NAME="AEN6358"
77 ></A 80 ></A
78 ><H2 81 ><H2
79 >Name</H2 82 >Name</H2
80 >SDL_JoystickGetHat&nbsp;--&nbsp;Get the current state of a joystick hat</DIV 83 >SDL_JoystickGetHat&nbsp;--&nbsp;Get the current state of a joystick hat</DIV
81 ><DIV 84 ><DIV
82 CLASS="REFSYNOPSISDIV" 85 CLASS="REFSYNOPSISDIV"
83 ><A 86 ><A
84 NAME="AEN5973" 87 NAME="AEN6361"
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="AEN5974" 94 NAME="AEN6362"
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="AEN5980" 118 NAME="AEN6368"
116 ></A 119 ></A
117 ><H2 120 ><H2
118 >Description</H2 121 >Description</H2
119 ><P 122 ><P
120 >SDL_JoystickGetHat returns the current state of the given <TT 123 >SDL_JoystickGetHat returns the current state of the given <TT
130 >.</P 133 >.</P
131 ></DIV 134 ></DIV
132 ><DIV 135 ><DIV
133 CLASS="REFSECT1" 136 CLASS="REFSECT1"
134 ><A 137 ><A
135 NAME="AEN5985" 138 NAME="AEN6373"
136 ></A 139 ></A
137 ><H2 140 ><H2
138 >Return Value</H2 141 >Return Value</H2
139 ><P 142 ><P
140 >The current state is returned as a Uint8 which is defined as an OR'd combination of one or more of the following</P 143 >The current state is returned as a Uint8 which is defined as an OR'd combination of one or more of the following</P
212 ></P 215 ></P
213 ></DIV 216 ></DIV
214 ><DIV 217 ><DIV
215 CLASS="REFSECT1" 218 CLASS="REFSECT1"
216 ><A 219 ><A
217 NAME="AEN6007" 220 NAME="AEN6395"
218 ></A 221 ></A
219 ><H2 222 ><H2
220 >See Also</H2 223 >See Also</H2
221 ><P 224 ><P
222 ><A 225 ><A
230 ><DIV 233 ><DIV
231 CLASS="NAVFOOTER" 234 CLASS="NAVFOOTER"
232 ><HR 235 ><HR
233 ALIGN="LEFT" 236 ALIGN="LEFT"
234 WIDTH="100%"><TABLE 237 WIDTH="100%"><TABLE
238 SUMMARY="Footer navigation table"
235 WIDTH="100%" 239 WIDTH="100%"
236 BORDER="0" 240 BORDER="0"
237 CELLPADDING="0" 241 CELLPADDING="0"
238 CELLSPACING="0" 242 CELLSPACING="0"
239 ><TR 243 ><TR
241 WIDTH="33%" 245 WIDTH="33%"
242 ALIGN="left" 246 ALIGN="left"
243 VALIGN="top" 247 VALIGN="top"
244 ><A 248 ><A
245 HREF="sdljoystickgetaxis.html" 249 HREF="sdljoystickgetaxis.html"
250 ACCESSKEY="P"
246 >Prev</A 251 >Prev</A
247 ></TD 252 ></TD
248 ><TD 253 ><TD
249 WIDTH="34%" 254 WIDTH="34%"
250 ALIGN="center" 255 ALIGN="center"
251 VALIGN="top" 256 VALIGN="top"
252 ><A 257 ><A
253 HREF="index.html" 258 HREF="index.html"
259 ACCESSKEY="H"
254 >Home</A 260 >Home</A
255 ></TD 261 ></TD
256 ><TD 262 ><TD
257 WIDTH="33%" 263 WIDTH="33%"
258 ALIGN="right" 264 ALIGN="right"
259 VALIGN="top" 265 VALIGN="top"
260 ><A 266 ><A
261 HREF="sdljoystickgetbutton.html" 267 HREF="sdljoystickgetbutton.html"
268 ACCESSKEY="N"
262 >Next</A 269 >Next</A
263 ></TD 270 ></TD
264 ></TR 271 ></TR
265 ><TR 272 ><TR
266 ><TD 273 ><TD
272 WIDTH="34%" 279 WIDTH="34%"
273 ALIGN="center" 280 ALIGN="center"
274 VALIGN="top" 281 VALIGN="top"
275 ><A 282 ><A
276 HREF="joystick.html" 283 HREF="joystick.html"
284 ACCESSKEY="U"
277 >Up</A 285 >Up</A
278 ></TD 286 ></TD
279 ><TD 287 ><TD
280 WIDTH="33%" 288 WIDTH="33%"
281 ALIGN="right" 289 ALIGN="right"