mirror of https://github.com/mpv-player/mpv
js: complex key binding: use key_name like the docs say
This commit is contained in:
parent
14971424b9
commit
67fef2b152
|
@ -221,7 +221,7 @@ function add_binding(forced, key, name, fn, opts) {
|
|||
fn({
|
||||
event: KEY_STATES[state[0]] || "unknown",
|
||||
is_mouse: state[1] == "m",
|
||||
key: key_name || undefined
|
||||
key_name: key_name || undefined
|
||||
});
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue