mirror of
https://github.com/mpv-player/mpv
synced 2025-02-11 15:24:30 +01:00
Add ignore key bind
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21983 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
ff32ae1051
commit
c300337919
@ -917,6 +917,7 @@ mp_input_get_cmd_from_keys(int n,int* keys, int paused) {
|
||||
mp_msg(MSGT_INPUT,MSGL_WARN," \n");
|
||||
return NULL;
|
||||
}
|
||||
if (strcmp(cmd, "ignore") == 0) return NULL;
|
||||
ret = mp_input_parse_cmd(cmd);
|
||||
if(!ret) {
|
||||
mp_msg(MSGT_INPUT,MSGL_ERR,MSGTR_INPUT_INPUT_ErrInvalidCommandForKey,mp_input_get_key_name(key_down[0]));
|
||||
|
Loading…
Reference in New Issue
Block a user