diff options
author | wm4 <wm4@nowhere> | 2020-02-07 13:51:25 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2020-02-07 13:51:25 +0100 |
commit | f659cfd6e38ad9dffad856f96d9406b83eb3aaa1 (patch) | |
tree | a815be5fa66dd427e8a0458e1cd955da962ca58d /DOCS/edl-mpv.rst | |
parent | c33bbc86943be3323613ff627de60b555035fbc4 (diff) | |
download | mpv-f659cfd6e38ad9dffad856f96d9406b83eb3aaa1.tar.bz2 mpv-f659cfd6e38ad9dffad856f96d9406b83eb3aaa1.tar.xz |
console: manually map numeric keypad (KP*) bindings
While mpv normally uses the text a key produces (as opposed to physical
key mappings), this is different with the keypad. This is for the sake
of making it possible to distinguish between these keys and the normal
number keys on the left side of a full size keyboard.
There were complaints that the keypad doesn't interact with console.lua,
so manually map them. This ignores numlock (behaves as if it's always
on), and maps KP_DEC to "." (even though it's mapped to "," on some
keyboards). The /*-+ keys produce ASCII on mpv (at least with X11) as an
inexplicable inconsistency, so there are no mappings for these.
Fixes: #7431
Diffstat (limited to 'DOCS/edl-mpv.rst')
0 files changed, 0 insertions, 0 deletions