# HG changeset patch # User reimar # Date 1169377852 0 # Node ID 5a2311125dc41b686fc94e0aea0837dfe2782e8a # Parent d8ffeda84296872159fab7a078c1476a77aad737 Add ignore key bind diff -r d8ffeda84296 -r 5a2311125dc4 input/input.c --- a/input/input.c Sun Jan 21 11:05:21 2007 +0000 +++ b/input/input.c Sun Jan 21 11:10:52 2007 +0000 @@ -917,6 +917,7 @@ 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]));