diff 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
line wrap: on
line diff
--- a/input/joystick.h	Mon Feb 11 09:15:59 2002 +0000
+++ b/input/joystick.h	Mon Feb 11 11:42:08 2002 +0000
@@ -21,7 +21,7 @@
 #define JOY_AXIS9_PLUS (JOY_BASE+18)
 #define JOY_AXIS9_MINUS (JOY_BASE+19)
 
-#define JOY_BTN_BASE (0x100+148)
+#define JOY_BTN_BASE ((0x100+148)|MP_NO_REPEAT_KEY)
 #define JOY_BTN0 (JOY_BTN_BASE+0)
 #define JOY_BTN1 (JOY_BTN_BASE+1)
 #define JOY_BTN2 (JOY_BTN_BASE+2)