diff input/input.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 4ce20c55a18a
children 876f0ea71526
line wrap: on
line diff
--- a/input/input.h	Mon Feb 11 09:15:59 2002 +0000
+++ b/input/input.h	Mon Feb 11 11:42:08 2002 +0000
@@ -32,8 +32,9 @@
 #define MP_INPUT_DEAD -2
 #define MP_INPUT_NOTHING -3
 
-#define MP_KEY_DOWN (1<<30)
+#define MP_KEY_DOWN (1<<29)
 // Key up is the default
+#define MP_NO_REPEAT_KEY (1<<28)
 
 #ifndef MP_MAX_KEY_DOWN
 #define MP_MAX_KEY_DOWN 32
@@ -90,6 +91,9 @@
 void
 mp_cmd_free(mp_cmd_t* cmd);
 
+mp_cmd_t*
+mp_cmd_clone(mp_cmd_t* cmd);
+
 void
 mp_input_init(void);