changeset 21965:5a2311125dc4

Add ignore key bind
author reimar
date Sun, 21 Jan 2007 11:10:52 +0000
parents d8ffeda84296
children d9494ca70ca7
files input/input.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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]));