[MPlayer-dev-eng] [PATCH] input: reduce the max simultaneous keys.

Reimar Döffinger Reimar.Doeffinger at gmx.de
Sat Feb 13 23:47:49 CET 2016


This reduces the size of the key bind tables.
It seems pointless to allow key binds that
involve combinations of more than 8 keys.
---
 input/input.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/input/input.h b/input/input.h
index f13729d..a93eae4 100644
--- a/input/input.h
+++ b/input/input.h
@@ -198,7 +198,7 @@ typedef enum {
 #define MP_KEY_RELEASE_ALL (1<<27)
 
 #ifndef MP_MAX_KEY_DOWN
-#define MP_MAX_KEY_DOWN 32
+#define MP_MAX_KEY_DOWN 8
 #endif
 
 typedef union mp_cmd_arg_value {
-- 
2.7.0



More information about the MPlayer-dev-eng mailing list