Annotated edit history of
SDL_JoystickGetHat(3) version 2 showing authors affecting page license.
View with all changes included.
Rev |
Author |
# |
Line |
1 |
perry |
1 |
SDL_!JoystickGetHat |
|
|
2 |
!!!SDL_!JoystickGetHat |
|
|
3 |
NAME |
|
|
4 |
SYNOPSIS |
|
|
5 |
DESCRIPTION |
|
|
6 |
RETURN VALUE |
|
|
7 |
SEE ALSO |
|
|
8 |
---- |
|
|
9 |
!!NAME |
|
|
10 |
|
|
|
11 |
|
|
|
12 |
SDL_!JoystickGetHat- Get the current state of a joystick hat |
|
|
13 |
!!SYNOPSIS |
|
|
14 |
|
|
|
15 |
|
|
|
16 |
__#include __ |
|
|
17 |
|
|
|
18 |
|
|
|
19 |
__Uint8 SDL_!JoystickGetHat__(__SDL_Joystick *joystick, |
|
|
20 |
int hat__); |
|
|
21 |
!!DESCRIPTION |
|
|
22 |
|
|
|
23 |
|
|
|
24 |
SDL_!JoystickGetHat returns the current state of the given |
|
|
25 |
__hat__ on the given __joystick__. |
|
|
26 |
!!RETURN VALUE |
|
|
27 |
|
|
|
28 |
|
|
|
29 |
The current state is returned as a Uint8 which is defined as |
|
|
30 |
an OR'd combination of one or more of the |
|
|
31 |
following |
|
|
32 |
|
|
|
33 |
|
|
|
34 |
__SDL_HAT_CENTERED__ |
|
|
35 |
|
|
|
36 |
|
|
|
37 |
__SDL_HAT_UP__ |
|
|
38 |
|
|
|
39 |
|
|
|
40 |
__SDL_HAT_RIGHT__ |
|
|
41 |
|
|
|
42 |
|
|
|
43 |
__SDL_HAT_DOWN__ |
|
|
44 |
|
|
|
45 |
|
|
|
46 |
__SDL_HAT_LEFT__ |
|
|
47 |
|
|
|
48 |
|
|
|
49 |
__SDL_HAT_RIGHTUP__ |
|
|
50 |
|
|
|
51 |
|
|
|
52 |
__SDL_HAT_RIGHTDOWN__ |
|
|
53 |
|
|
|
54 |
|
|
|
55 |
__SDL_HAT_LEFTUP__ |
|
|
56 |
|
|
|
57 |
|
|
|
58 |
__SDL_HAT_LEFTDOWN__ |
|
|
59 |
!!SEE ALSO |
|
|
60 |
|
|
|
61 |
|
|
|
62 |
__SDL_!JoystickNumHats__ |
|
|
63 |
---- |
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.