mirror of https://github.com/mpv-player/mpv
console.lua: add numpad + - * / keybindings
numpad + - * / was remapped to KP_ADD/KP_SUBTRACT/KP_MULTIPLY/KP_DIVIDE in #14660
This commit is contained in:
parent
f44c29b223
commit
e3a9ce22f9
|
@ -1575,6 +1575,10 @@ local function get_bindings()
|
||||||
{ 'ctrl+del', del_next_word },
|
{ 'ctrl+del', del_next_word },
|
||||||
{ 'alt+d', del_next_word },
|
{ 'alt+d', del_next_word },
|
||||||
{ 'kp_dec', function() handle_char_input('.') end },
|
{ 'kp_dec', function() handle_char_input('.') end },
|
||||||
|
{ 'kp_add', function() handle_char_input('+') end },
|
||||||
|
{ 'kp_subtract', function() handle_char_input('-') end },
|
||||||
|
{ 'kp_multiply', function() handle_char_input('*') end },
|
||||||
|
{ 'kp_divide', function() handle_char_input('/') end },
|
||||||
}
|
}
|
||||||
|
|
||||||
for i = 0, 9 do
|
for i = 0, 9 do
|
||||||
|
|
Loading…
Reference in New Issue