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:
parent
274af12694
commit
4ab283efe6
@ -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];
|
||||
|
Loading…
Reference in New Issue
Block a user