mirror of
https://github.com/mpv-player/mpv
synced 2024-12-25 00:02:13 +00:00
24fa69dbfa
There was already an undocumented mechanism provided by mp.set_key_bindings and other functions, but this was relatively verbose, and also weird. It was mainly to make the OSC happy (including being efficient and supporting weird corner cases), while the new functions try to be a bit simpler. This also provides a way to let users rebind script-provided commands. (This mechanism is less efficient, because it's O(n^2) for n added key bindings, but it shouldn't matter.) |
||
---|---|---|
.. | ||
en |