annotate input/joystick.h @ 4418:8141d2c399e4

A new configurable input system and joystick support for this system
author albeu
date Wed, 30 Jan 2002 12:46:03 +0000
parents
children 83128eed25f1
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)
8141d2c399e4 A new configurable input system and joystick support for this system
albeu
parents:
diff changeset
3 #define JOY_UP (JOY_BASE+0)
8141d2c399e4 A new configurable input system and joystick support for this system
albeu
parents:
diff changeset
4 #define JOY_DOWN (JOY_BASE+1)
8141d2c399e4 A new configurable input system and joystick support for this system
albeu
parents:
diff changeset
5 #define JOY_LEFT (JOY_BASE+2)
8141d2c399e4 A new configurable input system and joystick support for this system
albeu
parents:
diff changeset
6 #define JOY_RIGHT (JOY_BASE+3)
8141d2c399e4 A new configurable input system and joystick support for this system
albeu
parents:
diff changeset
7
8141d2c399e4 A new configurable input system and joystick support for this system
albeu
parents:
diff changeset
8 #define JOY_BTN0 (JOY_BASE+4)
8141d2c399e4 A new configurable input system and joystick support for this system
albeu
parents:
diff changeset
9 #define JOY_BTN1 (JOY_BASE+5)
8141d2c399e4 A new configurable input system and joystick support for this system
albeu
parents:
diff changeset
10 #define JOY_BTN2 (JOY_BASE+6)
8141d2c399e4 A new configurable input system and joystick support for this system
albeu
parents:
diff changeset
11 #define JOY_BTN3 (JOY_BASE+7)
8141d2c399e4 A new configurable input system and joystick support for this system
albeu
parents:
diff changeset
12 #define JOY_BTN4 (JOY_BASE+8)
8141d2c399e4 A new configurable input system and joystick support for this system
albeu
parents:
diff changeset
13 #define JOY_BTN5 (JOY_BASE+9)
8141d2c399e4 A new configurable input system and joystick support for this system
albeu
parents:
diff changeset
14 #define JOY_BTN6 (JOY_BASE+10)
8141d2c399e4 A new configurable input system and joystick support for this system
albeu
parents:
diff changeset
15 #define JOY_BTN7 (JOY_BASE+11)
8141d2c399e4 A new configurable input system and joystick support for this system
albeu
parents:
diff changeset
16 #define JOY_BTN8 (JOY_BASE+12)
8141d2c399e4 A new configurable input system and joystick support for this system
albeu
parents:
diff changeset
17 #define JOY_BTN9 (JOY_BASE+13)
8141d2c399e4 A new configurable input system and joystick support for this system
albeu
parents:
diff changeset
18
8141d2c399e4 A new configurable input system and joystick support for this system
albeu
parents:
diff changeset
19 int mp_input_joystick_init(char* dev);
8141d2c399e4 A new configurable input system and joystick support for this system
albeu
parents:
diff changeset
20
8141d2c399e4 A new configurable input system and joystick support for this system
albeu
parents:
diff changeset
21 int mp_input_joystick_read(int fd);
8141d2c399e4 A new configurable input system and joystick support for this system
albeu
parents:
diff changeset
22
8141d2c399e4 A new configurable input system and joystick support for this system
albeu
parents:
diff changeset
23