annotate input/joystick.h @ 4624:080882dddb2e

fixedsize video samples fixed (dvntsc-qt.mov)
author arpi
date Sun, 10 Feb 2002 00:45:56 +0000
parents 01a0cf736e0d
children 610a11e4db36
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4418
8141d2c399e4 A new configurable input system and joystick support for this system
albeu
parents:
diff changeset
1
8141d2c399e4 A new configurable input system and joystick support for this system
albeu
parents:
diff changeset
2 #define JOY_BASE (0x100+128)
4518
83128eed25f1 Corrected the quit bug and added support for up to 10 axis
albeu
parents: 4418
diff changeset
3 #define JOY_AXIS0_PLUS (JOY_BASE+0)
83128eed25f1 Corrected the quit bug and added support for up to 10 axis
albeu
parents: 4418
diff changeset
4 #define JOY_AXIS0_MINUS (JOY_BASE+1)
83128eed25f1 Corrected the quit bug and added support for up to 10 axis
albeu
parents: 4418
diff changeset
5 #define JOY_AXIS1_PLUS (JOY_BASE+2)
83128eed25f1 Corrected the quit bug and added support for up to 10 axis
albeu
parents: 4418
diff changeset
6 #define JOY_AXIS1_MINUS (JOY_BASE+3)
83128eed25f1 Corrected the quit bug and added support for up to 10 axis
albeu
parents: 4418
diff changeset
7 #define JOY_AXIS2_PLUS (JOY_BASE+4)
83128eed25f1 Corrected the quit bug and added support for up to 10 axis
albeu
parents: 4418
diff changeset
8 #define JOY_AXIS2_MINUS (JOY_BASE+5)
83128eed25f1 Corrected the quit bug and added support for up to 10 axis
albeu
parents: 4418
diff changeset
9 #define JOY_AXIS3_PLUS (JOY_BASE+6)
83128eed25f1 Corrected the quit bug and added support for up to 10 axis
albeu
parents: 4418
diff changeset
10 #define JOY_AXIS3_MINUS (JOY_BASE+7)
83128eed25f1 Corrected the quit bug and added support for up to 10 axis
albeu
parents: 4418
diff changeset
11 #define JOY_AXIS4_PLUS (JOY_BASE+8)
83128eed25f1 Corrected the quit bug and added support for up to 10 axis
albeu
parents: 4418
diff changeset
12 #define JOY_AXIS4_MINUS (JOY_BASE+9)
83128eed25f1 Corrected the quit bug and added support for up to 10 axis
albeu
parents: 4418
diff changeset
13 #define JOY_AXIS5_PLUS (JOY_BASE+10)
83128eed25f1 Corrected the quit bug and added support for up to 10 axis
albeu
parents: 4418
diff changeset
14 #define JOY_AXIS5_MINUS (JOY_BASE+11)
83128eed25f1 Corrected the quit bug and added support for up to 10 axis
albeu
parents: 4418
diff changeset
15 #define JOY_AXIS6_PLUS (JOY_BASE+12)
83128eed25f1 Corrected the quit bug and added support for up to 10 axis
albeu
parents: 4418
diff changeset
16 #define JOY_AXIS6_MINUS (JOY_BASE+13)
83128eed25f1 Corrected the quit bug and added support for up to 10 axis
albeu
parents: 4418
diff changeset
17 #define JOY_AXIS7_PLUS (JOY_BASE+14)
83128eed25f1 Corrected the quit bug and added support for up to 10 axis
albeu
parents: 4418
diff changeset
18 #define JOY_AXIS7_MINUS (JOY_BASE+15)
83128eed25f1 Corrected the quit bug and added support for up to 10 axis
albeu
parents: 4418
diff changeset
19 #define JOY_AXIS8_PLUS (JOY_BASE+16)
83128eed25f1 Corrected the quit bug and added support for up to 10 axis
albeu
parents: 4418
diff changeset
20 #define JOY_AXIS8_MINUS (JOY_BASE+17)
83128eed25f1 Corrected the quit bug and added support for up to 10 axis
albeu
parents: 4418
diff changeset
21 #define JOY_AXIS9_PLUS (JOY_BASE+18)
83128eed25f1 Corrected the quit bug and added support for up to 10 axis
albeu
parents: 4418
diff changeset
22 #define JOY_AXIS9_MINUS (JOY_BASE+19)
4418
8141d2c399e4 A new configurable input system and joystick support for this system
albeu
parents:
diff changeset
23
4518
83128eed25f1 Corrected the quit bug and added support for up to 10 axis
albeu
parents: 4418
diff changeset
24 #define JOY_BTN_BASE (0x100+148)
83128eed25f1 Corrected the quit bug and added support for up to 10 axis
albeu
parents: 4418
diff changeset
25 #define JOY_BTN0 (JOY_BTN_BASE+0)
83128eed25f1 Corrected the quit bug and added support for up to 10 axis
albeu
parents: 4418
diff changeset
26 #define JOY_BTN1 (JOY_BTN_BASE+1)
83128eed25f1 Corrected the quit bug and added support for up to 10 axis
albeu
parents: 4418
diff changeset
27 #define JOY_BTN2 (JOY_BTN_BASE+2)
83128eed25f1 Corrected the quit bug and added support for up to 10 axis
albeu
parents: 4418
diff changeset
28 #define JOY_BTN3 (JOY_BTN_BASE+3)
83128eed25f1 Corrected the quit bug and added support for up to 10 axis
albeu
parents: 4418
diff changeset
29 #define JOY_BTN4 (JOY_BTN_BASE+4)
83128eed25f1 Corrected the quit bug and added support for up to 10 axis
albeu
parents: 4418
diff changeset
30 #define JOY_BTN5 (JOY_BTN_BASE+5)
83128eed25f1 Corrected the quit bug and added support for up to 10 axis
albeu
parents: 4418
diff changeset
31 #define JOY_BTN6 (JOY_BTN_BASE+6)
83128eed25f1 Corrected the quit bug and added support for up to 10 axis
albeu
parents: 4418
diff changeset
32 #define JOY_BTN7 (JOY_BTN_BASE+7)
83128eed25f1 Corrected the quit bug and added support for up to 10 axis
albeu
parents: 4418
diff changeset
33 #define JOY_BTN8 (JOY_BTN_BASE+8)
83128eed25f1 Corrected the quit bug and added support for up to 10 axis
albeu
parents: 4418
diff changeset
34 #define JOY_BTN9 (JOY_BTN_BASE+9)
4418
8141d2c399e4 A new configurable input system and joystick support for this system
albeu
parents:
diff changeset
35
8141d2c399e4 A new configurable input system and joystick support for this system
albeu
parents:
diff changeset
36 int mp_input_joystick_init(char* dev);
8141d2c399e4 A new configurable input system and joystick support for this system
albeu
parents:
diff changeset
37
8141d2c399e4 A new configurable input system and joystick support for this system
albeu
parents:
diff changeset
38 int mp_input_joystick_read(int fd);
8141d2c399e4 A new configurable input system and joystick support for this system
albeu
parents:
diff changeset
39