diff options
author | nanahi <130121847+na-na-hi@users.noreply.github.com> | 2024-03-20 20:32:22 -0400 |
---|---|---|
committer | Kacper Michajłow <kasper93@gmail.com> | 2024-03-21 03:11:19 +0100 |
commit | a5dbf340942d8844e694cd812d33a6f93d9309c4 (patch) | |
tree | 6ac4e88b645d961e361f488ca931c1b73d63b0a2 | |
parent | 97e16be29406cbe73219cbf471132d7940b93c63 (diff) | |
download | mpv-a5dbf340942d8844e694cd812d33a6f93d9309c4.tar.bz2 mpv-a5dbf340942d8844e694cd812d33a6f93d9309c4.tar.xz |
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.
-rw-r--r-- | input/input.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/input/input.c b/input/input.c index 804cb4bd00..f3b61f332d 100644 --- a/input/input.c +++ b/input/input.c @@ -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]; |