summaryrefslogtreecommitdiffstats
path: root/core/input/input.c
diff options
context:
space:
mode:
Diffstat (limited to 'core/input/input.c')
-rw-r--r--core/input/input.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/input/input.c b/core/input/input.c
index 1eedadf039..8b473dda43 100644
--- a/core/input/input.c
+++ b/core/input/input.c
@@ -32,6 +32,7 @@
#include <assert.h>
#include "osdep/io.h"
+#include "osdep/getch2.h"
#include "input.h"
#include "core/mp_fifo.h"
@@ -1503,6 +1504,7 @@ static void read_all_fd_events(struct input_ctx *ictx, int time)
static void read_all_events(struct input_ctx *ictx, int time)
{
+ getch2_poll();
#ifdef CONFIG_COCOA
cocoa_events_read_all_events(ictx, time);
#else