numpad + - * / was remapped to KP_ADD/KP_SUBTRACT/KP_MULTIPLY/KP_DIVIDE in #14660
Showing the changes to player/lua/console.lua (1 of 1 file). Show all
Unified · Split
| @@ -1575,6 +1575,10 @@ local function get_bindings() · 1574 unmodified lines | |||
| 1575 | { 'ctrl+del', del_next_word }, | 1575 | { 'ctrl+del', del_next_word }, |
| 1576 | { 'alt+d', del_next_word }, | 1576 | { 'alt+d', del_next_word }, |
| 1577 | { 'kp_dec', function() handle_char_input('.') end }, | 1577 | { 'kp_dec', function() handle_char_input('.') end }, |
| 1578 | { 'kp_add', function() handle_char_input('+') end }, | ||
| 1579 | { 'kp_subtract', function() handle_char_input('-') end }, | ||
| 1580 | { 'kp_multiply', function() handle_char_input('*') end }, | ||
| 1581 | { 'kp_divide', function() handle_char_input('/') end }, | ||
| 1578 | } | 1582 | } |
| 1579 | 1583 | ||
| 1580 | for i = 0, 9 do | 1584 | for i = 0, 9 do |