summaryrefslogtreecommitdiffstats
path: root/core/input/input.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/input/input.h')
-rw-r--r--core/input/input.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/input/input.h b/core/input/input.h
index e09e080db1..1f079e7451 100644
--- a/core/input/input.h
+++ b/core/input/input.h
@@ -208,6 +208,9 @@ void mp_input_set_section(struct input_ctx *ictx, char *name, int flags);
// Get current input section
char *mp_input_get_section(struct input_ctx *ictx);
+// Used to detect mouse movement.
+unsigned int mp_input_get_last_mouse_event_time(struct input_ctx *ictx);
+
// Initialize the input system
struct input_conf;
struct input_ctx *mp_input_init(struct input_conf *input_conf,