Penguin
Blame: SDL_JoyAxisEvent(3)
EditPageHistoryDiffInfoLikePages
Annotated edit history of SDL_JoyAxisEvent(3) version 2, including all changes. View license author blame.
Rev Author # Line
2 perry 1 SDL_!JoyAxisEvent
2 !!!SDL_!JoyAxisEvent
1 perry 3 NAME
4 STRUCTURE DEFINITION
5 STRUCTURE DATA
6 DESCRIPTION
7 SEE ALSO
8 ----
9 !!NAME
10
11
2 perry 12 SDL_!JoyAxisEvent- Joystick axis motion event structure
1 perry 13 !!STRUCTURE DEFINITION
14
15
16 typedef struct{
17 Uint8 type;
18 Uint8 which;
19 Uint8 axis;
20 Sint16 value;
2 perry 21 } SDL_!JoyAxisEvent;
1 perry 22 !!STRUCTURE DATA
23
24
25 __type SDL_JOYAXISMOTION__
26
27
28 __which__ Joystick device index
29
30
31 __axis__ Joystick axis index
32
33
34 __value__ Axis value (range: -32768 to
35 32767)
36 !!DESCRIPTION
37
38
2 perry 39 __SDL_!JoyAxisEvent__ is a member of the __SDL_Event__
1 perry 40 union and is used when an event of type
41 __SDL_JOYAXISMOTION__ is reported.
42
43
44 A __SDL_JOYAXISMOTION__ event occurs when ever a user
45 moves an axis on the joystick. The field __which__ is the
46 index of the joystick that reported the event and
47 __axis__ is the index of the axis (for a more detailed
48 explaination see the ''Joystick section''). __value__
49 is the current position of the axis.
50 !!SEE ALSO
51
52
53 __SDL_Event__, ''Joystick Functions'',
2 perry 54 __SDL_!JoystickEventState__,
55 __SDL_!JoystickGetAxis__
1 perry 56 ----
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.