summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-03-30 19:29:45 +0100
committerwm4 <wm4@nowhere>2013-04-24 17:46:40 +0200
commit4ab283efe6ca05580944fcc1bf589802f36cce87 (patch)
tree1eba4ce9f96fd4879bc665d1c45369730252dabe /core
parent274af126946e8d0bc2a96a16967d768d26683154 (diff)
downloadmpv-4ab283efe6ca05580944fcc1bf589802f36cce87.tar.bz2
mpv-4ab283efe6ca05580944fcc1bf589802f36cce87.tar.xz
input: reduce amount of tracked keys per binding
There's no need for key bindings that consist of 32 keys held down. It's ridiculous and wastes memory.
Diffstat (limited to 'core')
-rw-r--r--core/input/input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/input/input.c b/core/input/input.c
index c36b357fbb..f9d6333047 100644
--- a/core/input/input.c
+++ b/core/input/input.c
@@ -61,7 +61,7 @@
#include <lirc/lircc.h>
#endif
-#define MP_MAX_KEY_DOWN 32
+#define MP_MAX_KEY_DOWN 4
struct cmd_bind {
int input[MP_MAX_KEY_DOWN + 1];