1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-14 11:01:35 +00:00

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.
This commit is contained in:
wm4 2013-03-30 19:29:45 +01:00
parent 274af12694
commit 4ab283efe6

View File

@ -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];