Mercurial > mplayer.hg
comparison input/joystick.h @ 4657:610a11e4db36
Added key autorepeat support. Options to enable/disable joystick and lirc
and set autorepeat delay and rate.
author | albeu |
---|---|
date | Mon, 11 Feb 2002 11:42:08 +0000 |
parents | 01a0cf736e0d |
children | 6ac1ece1f9fe |
comparison
equal
deleted
inserted
replaced
4656:04880518728d | 4657:610a11e4db36 |
---|---|
19 #define JOY_AXIS8_PLUS (JOY_BASE+16) | 19 #define JOY_AXIS8_PLUS (JOY_BASE+16) |
20 #define JOY_AXIS8_MINUS (JOY_BASE+17) | 20 #define JOY_AXIS8_MINUS (JOY_BASE+17) |
21 #define JOY_AXIS9_PLUS (JOY_BASE+18) | 21 #define JOY_AXIS9_PLUS (JOY_BASE+18) |
22 #define JOY_AXIS9_MINUS (JOY_BASE+19) | 22 #define JOY_AXIS9_MINUS (JOY_BASE+19) |
23 | 23 |
24 #define JOY_BTN_BASE (0x100+148) | 24 #define JOY_BTN_BASE ((0x100+148)|MP_NO_REPEAT_KEY) |
25 #define JOY_BTN0 (JOY_BTN_BASE+0) | 25 #define JOY_BTN0 (JOY_BTN_BASE+0) |
26 #define JOY_BTN1 (JOY_BTN_BASE+1) | 26 #define JOY_BTN1 (JOY_BTN_BASE+1) |
27 #define JOY_BTN2 (JOY_BTN_BASE+2) | 27 #define JOY_BTN2 (JOY_BTN_BASE+2) |
28 #define JOY_BTN3 (JOY_BTN_BASE+3) | 28 #define JOY_BTN3 (JOY_BTN_BASE+3) |
29 #define JOY_BTN4 (JOY_BTN_BASE+4) | 29 #define JOY_BTN4 (JOY_BTN_BASE+4) |