summaryrefslogtreecommitdiffstats
path: root/input/input.h
diff options
context:
space:
mode:
authoralbeu <albeu@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-02-11 11:42:08 +0000
committeralbeu <albeu@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-02-11 11:42:08 +0000
commit1bf9249b8c40d47e0089a1e0a140a4d99404a69e (patch)
tree7bb2ae2285d4b402a671f19ffcb68e66fa223e59 /input/input.h
parent97654ce7f3c6f711b270487d2f43f70c8e872024 (diff)
downloadmpv-1bf9249b8c40d47e0089a1e0a140a4d99404a69e.tar.bz2
mpv-1bf9249b8c40d47e0089a1e0a140a4d99404a69e.tar.xz
Added key autorepeat support. Options to enable/disable joystick and lirc
and set autorepeat delay and rate. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4658 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'input/input.h')
-rw-r--r--input/input.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/input/input.h b/input/input.h
index 6806fb9400..41da9451aa 100644
--- a/input/input.h
+++ b/input/input.h
@@ -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 @@ mp_input_get_cmd(int time, int paused);
void
mp_cmd_free(mp_cmd_t* cmd);
+mp_cmd_t*
+mp_cmd_clone(mp_cmd_t* cmd);
+
void
mp_input_init(void);