Mercurial > mplayer.hg
comparison input/joystick.h @ 26029:4129c8cfa742
Add MPLAYER_ prefix to multiple inclusion guards.
author | diego |
---|---|
date | Fri, 22 Feb 2008 09:09:46 +0000 |
parents | 6ac1ece1f9fe |
children | 142c53391eb7 |
comparison
equal
deleted
inserted
replaced
26028:afd429e00184 | 26029:4129c8cfa742 |
---|---|
1 #ifndef JOYSTICK_H | 1 #ifndef MPLAYER_JOYSTICK_H |
2 #define JOYSTICK_H | 2 #define MPLAYER_JOYSTICK_H |
3 | 3 |
4 #define JOY_BASE (0x100+128) | 4 #define JOY_BASE (0x100+128) |
5 #define JOY_AXIS0_PLUS (JOY_BASE+0) | 5 #define JOY_AXIS0_PLUS (JOY_BASE+0) |
6 #define JOY_AXIS0_MINUS (JOY_BASE+1) | 6 #define JOY_AXIS0_MINUS (JOY_BASE+1) |
7 #define JOY_AXIS1_PLUS (JOY_BASE+2) | 7 #define JOY_AXIS1_PLUS (JOY_BASE+2) |
37 | 37 |
38 int mp_input_joystick_init(char* dev); | 38 int mp_input_joystick_init(char* dev); |
39 | 39 |
40 int mp_input_joystick_read(int fd); | 40 int mp_input_joystick_read(int fd); |
41 | 41 |
42 #endif /* JOYSTICK_H */ | 42 #endif /* MPLAYER_JOYSTICK_H */ |