diff options
author | James Ross-Gowan <rossymiles@gmail.com> | 2016-10-13 22:40:12 +1100 |
---|---|---|
committer | James Ross-Gowan <rossymiles@gmail.com> | 2016-10-14 08:44:33 +1100 |
commit | 0af8811b15f25304ef04013b630ac324011144c0 (patch) | |
tree | b51ec3f2f2e2ca653c6b546f9f45000238cfc272 /etc/input.conf | |
parent | 6a8d1cdd49ca6c9d4656b9450253c71438ef5c49 (diff) | |
download | mpv-0af8811b15f25304ef04013b630ac324011144c0.tar.bz2 mpv-0af8811b15f25304ef04013b630ac324011144c0.tar.xz |
terminal-win: support modifier keys in console input
Keyboard input in the console still isn't quite as flexible as it is in
the video window. Ctrl+<letter> and Ctrl+LEFT/RIGHT work, but
Ctrl+Alt+<letter> and Ctrl+<number> do not. Also, in the new Windows 10
console, a bunch of Ctrl keystrokes including Ctrl+UP/DOWN are handled
by the console window and not passed to the application.
Unlike in w32_common.c, we can't really translate keyboaard input
ourselves because the keyboard layout of the console window (in
conhost.exe) doesn't necessarily match the keyboard layout of mpv's
console input thread, however, using ToUnicode as a fallback when the
console doesn't return a unicode value could be a possible future
improvement.
Fixes #3625
Diffstat (limited to 'etc/input.conf')
0 files changed, 0 insertions, 0 deletions