mirror of https://github.com/mpv-player/mpv
Display parsed keycode in verbose output.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25434 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
6dda4047ba
commit
914c5bb994
|
@ -146,8 +146,8 @@ static int menu_parse_config(char* buffer) {
|
||||||
cmd = asx_get_attrib("cmd",attribs);
|
cmd = asx_get_attrib("cmd",attribs);
|
||||||
if (key && (keycode = mp_input_get_key_from_name(key)) >= 0) {
|
if (key && (keycode = mp_input_get_key_from_name(key)) >= 0) {
|
||||||
mp_msg(MSGT_GLOBAL,MSGL_V,
|
mp_msg(MSGT_GLOBAL,MSGL_V,
|
||||||
"[libmenu] got keybinding element %s %s=>[%s].\n",
|
"[libmenu] got keybinding element %d %s=>[%s].\n",
|
||||||
element, key, cmd ? cmd : "");
|
keycode, key, cmd ? cmd : "");
|
||||||
bindings->bindings = realloc(bindings->bindings,
|
bindings->bindings = realloc(bindings->bindings,
|
||||||
(bindings->binding_num+1)*sizeof(key_cmd_t));
|
(bindings->binding_num+1)*sizeof(key_cmd_t));
|
||||||
bindings->bindings[bindings->binding_num].key = keycode;
|
bindings->bindings[bindings->binding_num].key = keycode;
|
||||||
|
|
Loading…
Reference in New Issue