From be516022b60e85daa1e7faa28a6d9ca656968bb3 Mon Sep 17 00:00:00 2001 From: Alexander Preisinger Date: Fri, 19 Sep 2014 17:36:37 +0200 Subject: input: add function for setting repeat info Let us set a different rate and delay. Needed for the following commit where we set rate and delay reported by weston. But only if the option native-keyrepeat is set. --- input/input.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'input/input.h') diff --git a/input/input.h b/input/input.h index ef8861eaf3..c37a55da1c 100644 --- a/input/input.h +++ b/input/input.h @@ -249,4 +249,6 @@ void mp_input_pipe_add(struct input_ctx *ictx, const char *filename); void mp_input_joystick_add(struct input_ctx *ictx, char *dev); void mp_input_lirc_add(struct input_ctx *ictx, char *lirc_configfile); +void mp_input_set_repeat_info(struct input_ctx *ictx, int rate, int delay); + #endif /* MPLAYER_INPUT_H */ -- cgit v1.2.3