Penguin
Blame: SDL_JoystickGetHat(3)
EditPageHistoryDiffInfoLikePages
Annotated edit history of SDL_JoystickGetHat(3) version 2, including all changes. View license author blame.
Rev Author # Line
2 perry 1 SDL_!JoystickGetHat
2 !!!SDL_!JoystickGetHat
1 perry 3 NAME
4 SYNOPSIS
5 DESCRIPTION
6 RETURN VALUE
7 SEE ALSO
8 ----
9 !!NAME
10
11
2 perry 12 SDL_!JoystickGetHat- Get the current state of a joystick hat
1 perry 13 !!SYNOPSIS
14
15
16 __#include __
17
18
2 perry 19 __Uint8 SDL_!JoystickGetHat__(__SDL_Joystick *joystick,
1 perry 20 int hat__);
21 !!DESCRIPTION
22
23
2 perry 24 SDL_!JoystickGetHat returns the current state of the given
1 perry 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
2 perry 62 __SDL_!JoystickNumHats__
1 perry 63 ----
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.