提交 24bdf3c2 编写于 作者: V vit9696

OpenCoreMisc: Implement TakeoffDelay support

上级 204563eb
......@@ -15,6 +15,7 @@ OpenCore Changelog
- Fixed issues with default boot path selection on some boards
- Update builtin firmware versions
- Fixed `AdviseWindows` not setting `FirmwareFeatures` in NVRAM
- Added `TakeoffDelay` option for improved action hotkey support
#### v0.5.4
- Added Enter key handling in boot menu for quick proceed
......
......@@ -2110,9 +2110,9 @@ behaviour that does not go to any other sections
\texttt{PollAppleHotKeys}\\
\textbf{Type}: \texttt{plist\ boolean}\\
\textbf{Failsafe}: \texttt{false}\\
\textbf{Description}: Enable modifier hotkey handling in boot picker.
\textbf{Description}: Enable \texttt{modifier hotkey} handling in boot picker.
In addition to action hotkeys, which are partially described in \texttt{UsePicker}
In addition to \texttt{action hotkeys}, which are partially described in \texttt{UsePicker}
section and are normally handled by Apple BDS, there exist modifier keys, which are
handled by operating system bootloader, namely \texttt{boot.efi}. These keys
allow to change operating system behaviour by providing different boot modes.
......@@ -2122,7 +2122,7 @@ behaviour that does not go to any other sections
permissive manner from within boot picker. Such extensions include the support
of tapping on keys in addition to holding and pressing \texttt{Shift} along with
other keys instead of just \texttt{Shift} alone, which is not detectible on many
PS/2 keyboards. This list of known hotkeys includes:
PS/2 keyboards. This list of known \texttt{modifier hotkeys} includes:
\begin{itemize}
\tightlist
\item \texttt{CMD+C+MINUS} --- disable board compatibility checking.
......@@ -2163,6 +2163,18 @@ behaviour that does not go to any other sections
\textbf{Failsafe}: \texttt{false}\\
\textbf{Description}: Show simple boot picker to allow boot entry selection.
\item
\texttt{TakeoffDelay}\\
\textbf{Type}: \texttt{plist\ integer}, 32 bit\\
\textbf{Failsafe}: \texttt{0}\\
\textbf{Description}: Delay in microseconds performed before handling
picker startup and \texttt{action hotkeys}.
Introducing a delay may give extra time to hold the right \texttt{action hotkey}
sequence to e.g. boot to recovery mode. On some platforms setting this option to
at least \texttt{5000-10000} microseconds may be necessary to access
\texttt{action hotkeys} at all due to the nature of the keyboard driver.
\item
\texttt{Timeout}\\
\textbf{Type}: \texttt{plist\ integer}, 32 bit\\
......@@ -2185,8 +2197,9 @@ behaviour that does not go to any other sections
test driver.
OpenCore built-in boot picker contains a set of actions chosen during the boot process.
The list of supported actions is similar to Apple BDS and currently consists of the following
options:
The list of supported actions is similar to Apple BDS and in general can be accessed by
holding \texttt{action hotkeys} during boot process. Currently the following actions are
considered:
\begin{itemize}
\tightlist
......
\documentclass[]{article}
%DIF LATEXDIFF DIFFERENCE FILE
%DIF DEL PreviousConfiguration.tex Fri Jan 17 12:56:17 2020
%DIF ADD ../Configuration.tex Sat Jan 25 14:22:59 2020
%DIF ADD ../Configuration.tex Sat Feb 1 15:08:10 2020
\usepackage{lmodern}
\usepackage{amssymb,amsmath}
......@@ -2170,9 +2170,9 @@ behaviour that does not go to any other sections
\texttt{PollAppleHotKeys}\\
\textbf{Type}: \texttt{plist\ boolean}\\
\textbf{Failsafe}: \texttt{false}\\
\textbf{Description}: Enable modifier hotkey handling in boot picker.
\textbf{Description}: Enable \DIFdelbegin \DIFdel{modifier hotkey }\DIFdelend \DIFaddbegin \texttt{\DIFadd{modifier hotkey}} \DIFaddend handling in boot picker.
In addition to action hotkeys, which are partially described in \texttt{UsePicker}
In addition to \DIFdelbegin \DIFdel{action hotkeys}\DIFdelend \DIFaddbegin \texttt{\DIFadd{action hotkeys}}\DIFaddend , which are partially described in \texttt{UsePicker}
section and are normally handled by Apple BDS, there exist modifier keys, which are
handled by operating system bootloader, namely \texttt{boot.efi}. These keys
allow to change operating system behaviour by providing different boot modes.
......@@ -2182,7 +2182,7 @@ behaviour that does not go to any other sections
permissive manner from within boot picker. Such extensions include the support
of tapping on keys in addition to holding and pressing \texttt{Shift} along with
other keys instead of just \texttt{Shift} alone, which is not detectible on many
PS/2 keyboards. This list of known hotkeys includes:
PS/2 keyboards. This list of known \DIFdelbegin \DIFdel{hotkeys }\DIFdelend \DIFaddbegin \texttt{\DIFadd{modifier hotkeys}} \DIFaddend includes:
\begin{itemize}
\tightlist
\item \texttt{CMD+C+MINUS} --- disable board compatibility checking.
......@@ -2224,7 +2224,21 @@ behaviour that does not go to any other sections
\textbf{Description}: Show simple boot picker to allow boot entry selection.
\item
\texttt{Timeout}\\
\DIFaddbegin \texttt{\DIFadd{TakeoffDelay}}\\
\textbf{\DIFadd{Type}}\DIFadd{: }\texttt{\DIFadd{plist\ integer}}\DIFadd{, 32 bit}\\
\textbf{\DIFadd{Failsafe}}\DIFadd{: }\texttt{\DIFadd{0}}\\
\textbf{\DIFadd{Description}}\DIFadd{: Delay in microseconds performed before handling
picker startup and }\texttt{\DIFadd{action hotkeys}}\DIFadd{.
}
\DIFadd{Introducing a delay may give extra time to hold the right }\texttt{\DIFadd{action hotkey}}
\DIFadd{sequence to e.g. boot to recovery mode. On some platforms setting this option to
at least }\texttt{\DIFadd{5000-10000}} \DIFadd{microseconds may be necessary to access
}\texttt{\DIFadd{action hotkeys}} \DIFadd{at all due to the nature of the keyboard driver.
}
\item
\DIFaddend \texttt{Timeout}\\
\textbf{Type}: \texttt{plist\ integer}, 32 bit\\
\textbf{Failsafe}: \texttt{0}\\
\textbf{Description}: Timeout in seconds in boot picker before
......@@ -2245,8 +2259,9 @@ behaviour that does not go to any other sections
test driver.
OpenCore built-in boot picker contains a set of actions chosen during the boot process.
The list of supported actions is similar to Apple BDS and currently consists of the following
options:
The list of supported actions is similar to Apple BDS and \DIFdelbegin \DIFdel{currently consists of the following options}\DIFdelend \DIFaddbegin \DIFadd{in general can be accessed by
holding }\texttt{\DIFadd{action hotkeys}} \DIFadd{during boot process. Currently the following actions are
considered}\DIFaddend :
\begin{itemize}
\tightlist
......
......@@ -577,6 +577,8 @@
<string></string>
<key>ShowPicker</key>
<true/>
<key>TakeoffDelay</key>
<integer>0</integer>
<key>Timeout</key>
<integer>5</integer>
<key>UsePicker</key>
......
......@@ -577,6 +577,8 @@
<string></string>
<key>ShowPicker</key>
<true/>
<key>TakeoffDelay</key>
<integer>0</integer>
<key>Timeout</key>
<integer>5</integer>
<key>UsePicker</key>
......
......@@ -518,6 +518,7 @@ OcMiscBoot (
Context->ScanPolicy = Config->Misc.Security.ScanPolicy;
Context->LoadPolicy = OC_LOAD_DEFAULT_POLICY;
Context->TimeoutSeconds = Config->Misc.Boot.Timeout;
Context->TakeoffDelay = Config->Misc.Boot.TakeoffDelay;
Context->StartImage = StartImage;
Context->CustomBootGuid = CustomBootGuid;
Context->ExcludeHandle = LoadHandle;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册