Web lists-archives.com

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




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

_______________________________________________
MPlayer-dev-eng mailing list
MPlayer-dev-eng@xxxxxxxxxxxx
https://lists.mplayerhq.hu/mailman/listinfo/mplayer-dev-eng