1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-29 02:22:19 +00:00

input: raise maximum key down limit to 16

The current limit of 4 is stupidly low, and won't be future proof
in case proper multi-touch support is added.
This commit is contained in:
nanahi 2024-03-20 20:32:22 -04:00 committed by Kacper Michajłow
parent 97e16be294
commit a5dbf34094

View File

@ -56,7 +56,7 @@
#define input_lock(ictx) mp_mutex_lock(&ictx->mutex)
#define input_unlock(ictx) mp_mutex_unlock(&ictx->mutex)
#define MP_MAX_KEY_DOWN 4
#define MP_MAX_KEY_DOWN 16
struct cmd_bind {
int keys[MP_MAX_KEY_DOWN];