1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-01 04:31:39 +00:00
mpv/player/lua
wm4 f659cfd6e3 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
2020-02-07 13:51:25 +01:00
..
assdraw.lua osc: improve look of seekranges 2019-09-02 01:11:04 +03:00
console.lua console: manually map numeric keypad (KP*) bindings 2020-02-07 13:51:25 +01:00
defaults.lua lua: use new OSD property 2020-01-08 00:16:58 +01:00
options.lua options.lua: avoid unnecessary on_update calls 2020-02-06 22:57:53 +01:00
osc.lua osc: more frequent cache updates: from 10% diff to 5% or 5s 2020-01-14 13:15:48 +02:00
stats.lua stats: fix incorrect ass formatting on 3rd page when vo was switched 2020-02-06 22:57:53 +01:00
ytdl_hook.lua ytdl_hook: --vid=no should not ignore --ytdl-format in config file 2019-10-24 13:52:09 +02:00