diff options
Diffstat (limited to 'input/input.h')
-rw-r--r-- | input/input.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/input/input.h b/input/input.h index 82718b9b29..b992b13d1c 100644 --- a/input/input.h +++ b/input/input.h @@ -219,7 +219,7 @@ typedef void (*mp_close_func_t)(int fd); // Set this to grab all incoming key codes extern int (*mp_input_key_cb)(int code); // Should return 1 if the command was processed -typedef int (*mp_input_cmd_filter)(mp_cmd_t* cmd, int paused, void* ctx); +typedef int (*mp_input_cmd_filter)(mp_cmd_t *cmd, void *ctx); // This function adds a new key driver. // The first arg is a file descriptor (use a negative value if you don't use any fd) @@ -254,7 +254,7 @@ int mp_input_queue_cmd(struct input_ctx *ictx, mp_cmd_t* cmd); // This function retrieves the next available command waiting no more than time msec. // If pause is true, the next input will always return a pause command. mp_cmd_t* -mp_input_get_cmd(struct input_ctx *ictx, int time, int paused, int peek_only); +mp_input_get_cmd(struct input_ctx *ictx, int time, int peek_only); mp_cmd_t* mp_input_parse_cmd(char* str); |