[MPlayer-cvslog] r25435 - trunk/libmenu/menu.c
ulion
subversion at mplayerhq.hu
Mon Dec 17 15:55:45 CET 2007
Author: ulion
Date: Mon Dec 17 15:55:45 2007
New Revision: 25435
Log:
Remove NO_REPEAT mask from keycode, fix keycode matching for JOY_BTN0, etc.
Modified:
trunk/libmenu/menu.c
Modified: trunk/libmenu/menu.c
==============================================================================
--- trunk/libmenu/menu.c (original)
+++ trunk/libmenu/menu.c Mon Dec 17 15:55:45 2007
@@ -145,6 +145,7 @@ static int menu_parse_config(char* buffe
key = asx_get_attrib("key",attribs);
cmd = asx_get_attrib("cmd",attribs);
if (key && (keycode = mp_input_get_key_from_name(key)) >= 0) {
+ keycode &= ~MP_NO_REPEAT_KEY;
mp_msg(MSGT_GLOBAL,MSGL_V,
"[libmenu] got keybinding element %d %s=>[%s].\n",
keycode, key, cmd ? cmd : "");
More information about the MPlayer-cvslog
mailing list