From 6fb020f5de1487484712e7113db0e86dd97481bd Mon Sep 17 00:00:00 2001 From: Vivek Jain Date: Sat, 30 Nov 2013 21:23:39 -0800 Subject: options: add option to disable using right Alt key as Alt Gr mpv was hardcoded to always consider the right Alt key as Alt Gr, but there are parituclar combinations of platforms and keyboard layouts where it's more convenient to treat the right Alt as a keyboard modifier just like the left one. Fixes #388 --- DOCS/man/en/input.rst | 4 ++++ DOCS/man/en/options.rst | 5 +++++ 2 files changed, 9 insertions(+) (limited to 'DOCS') diff --git a/DOCS/man/en/input.rst b/DOCS/man/en/input.rst index 7d62784b97..ac93d01105 100644 --- a/DOCS/man/en/input.rst +++ b/DOCS/man/en/input.rst @@ -31,6 +31,10 @@ General Input Command Syntax ``[Shift+][Ctrl+][Alt+][Meta+] [{
}] [] ()* [; ]`` +Note that by default, the right Alt key can be used to create special +characters, and thus does not register as a modifier. The option +``--no-right-alt-gr`` changes this behavior. + Newlines always start a new binding. ``#`` starts a comment (outside of quoted string arguments). To bind commands to the ``#`` key, ``SHARP`` can be used. diff --git a/DOCS/man/en/options.rst b/DOCS/man/en/options.rst index fec8aa0575..15cba5e460 100644 --- a/DOCS/man/en/options.rst +++ b/DOCS/man/en/options.rst @@ -1823,6 +1823,11 @@ OPTIONS - ``--reset-on-next-file=""`` Do not reset pause mode. +``--right-alt-gr``, ``--no-right-alt-gr`` + (Cocoa and Windows only) + Use the right Alt key as Alt Gr to produce special characters. If disabled, + count the right Alt as an Alt modifier key. Enabled by default. + ``--rtsp-transport=`` Select RTSP transport method (default: tcp). This selects the underlying network transport when playing ``rtsp://...`` URLs. The value ``lavf`` -- cgit v1.2.3