1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-27 09:32:40 +00:00
mpv/osdep
James Ross-Gowan 0af8811b15 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
2016-10-14 08:44:33 +11:00
..
android Initial Android support 2016-02-10 21:29:36 +01:00
ar Fix misspellings 2016-06-26 13:47:21 +02:00
win32 win32: pthread: use SRW locks by default 2016-05-24 19:02:22 +02:00
atomic.h osdep: rename atomics.h to atomic.h 2016-09-07 11:26:25 +02:00
compiler.h
endian.h
glob-win.c glob-win: relicense to LGPL 2016-02-18 22:57:28 +11:00
io.c osdep/io: introduce mp_flush_wakeup_pipe() 2016-07-30 00:02:39 +02:00
io.h osdep/io: introduce mp_flush_wakeup_pipe() 2016-07-30 00:02:39 +02:00
macosx_application_objc.h
macosx_application.h
macosx_application.m Use - as command-name separator everywhere 2016-07-14 22:37:42 +02:00
macosx_compat.h cocoa: fix macOS 10.12 deprecation warnings 2016-09-22 13:46:27 +02:00
macosx_events_objc.h osx: never expose input_ctx from EventsResponder 2015-05-26 22:39:04 +02:00
macosx_events.h
macosx_events.m cocoa: fix macOS 10.12 deprecation warnings 2016-09-22 13:46:27 +02:00
macosx_versions.h cocoa: fix macOS 10.12 deprecation warnings 2016-09-22 13:46:27 +02:00
main-fn-cocoa.c
main-fn-unix.c
main-fn-win.c player: do not let pseudo-gui override user config settings 2016-09-23 21:24:50 +02:00
main-fn.h
mpv.exe.manifest win32: add Windows 10 compatibility GUID 2015-12-20 21:06:02 +11:00
mpv.rc win32: mpv.rc: re-add version info 2016-07-12 21:05:33 +10:00
path-macosx.m Relicense some non-MPlayer source files to LGPL 2.1 or later 2016-01-19 18:36:06 +01:00
path-unix.c Relicense some non-MPlayer source files to LGPL 2.1 or later 2016-01-19 18:36:06 +01:00
path-win.c win32: build with -DINITGUID 2016-09-28 21:38:52 +10:00
path.h
semaphore_osx.c
semaphore.h
strnlen.h Initial Android support 2016-02-10 21:29:36 +01:00
subprocess-posix.c Relicense some non-MPlayer source files to LGPL 2.1 or later 2016-01-19 18:36:06 +01:00
subprocess-win.c osdep: rename atomics.h to atomic.h 2016-09-07 11:26:25 +02:00
subprocess.c subprocess: add a callback to ignore output 2016-07-05 19:15:59 +02:00
subprocess.h subprocess: add a callback to ignore output 2016-07-05 19:15:59 +02:00
terminal-unix.c player: make --terminal freetly settable at runtime 2016-09-19 19:54:54 +02:00
terminal-win.c terminal-win: support modifier keys in console input 2016-10-14 08:44:33 +11:00
terminal.h
threads.c Relicense some non-MPlayer source files to LGPL 2.1 or later 2016-01-19 18:36:06 +01:00
threads.h
timer-darwin.c
timer-linux.c
timer-win2.c win32: use QueryPerformanceCounter for timing 2015-07-04 15:54:14 +02:00
timer.c Relicense some non-MPlayer source files to LGPL 2.1 or later 2016-01-19 18:36:06 +01:00
timer.h
w32_keyboard.c Revert "win32: add mappings for some special keys" 2015-06-24 15:14:38 +02:00
w32_keyboard.h
win32-console-wrapper.c win32: fix fd:// 2016-01-07 23:37:06 +11:00
windows_utils.c windows_utils: try and use FormatMessage for errors. 2016-02-17 06:58:56 -08:00
windows_utils.h windows_utils: try and use FormatMessage for errors. 2016-02-17 06:58:56 -08:00