Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
btwise
OpenCorePKG_MOD
提交
e1f1c77d
O
OpenCorePKG_MOD
项目概览
btwise
/
OpenCorePKG_MOD
通知
26
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
O
OpenCorePKG_MOD
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
e1f1c77d
编写于
3月 28, 2021
作者:
M
MikeBeaton
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
OCB: Add =/+ key as alternative 'set default' key
上级
e7553ebc
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
19 addition
and
4 deletion
+19
-4
Changelog.md
Changelog.md
+1
-0
Docs/Configuration.tex
Docs/Configuration.tex
+10
-4
Library/OcBootManagementLib/HotKeySupport.c
Library/OcBootManagementLib/HotKeySupport.c
+8
-0
未找到文件。
Changelog.md
浏览文件 @
e1f1c77d
...
...
@@ -42,6 +42,7 @@ OpenCore Changelog
-
Added tabbable Shutdown and Restart buttons to builtin picker
-
Fixed in-firmware shutdown for some systems running OpenDuet
-
Added Zero as alias hotkey for Escape, to force show picker if hidden
-
Added =/+ key as alias for CTRL to set default OS
#### v0.6.7
-
Fixed ocvalidate return code to be non-zero when issues are found
...
...
Docs/Configuration.tex
浏览文件 @
e1f1c77d
...
...
@@ -3350,7 +3350,7 @@ the default boot entry choice will remain changed until the next manual reconfig
In addition,
\texttt
{
Zero
}
is provided to support systems on which
\texttt
{
Escape
}
is already assigned to
some other pre-boot firmware feature. In systems which do not require
\texttt
{
KeySupport
}
, pressing and
holding one of these keys from after power on until the picker appears should always be successful. The
same should
apply when using
\texttt
{
KeySupport
}
mode if it is correctly configured for the system, i.e.
same should apply when using
\texttt
{
KeySupport
}
mode if it is correctly configured for the system, i.e.
with a long enough
\texttt
{
KeyForgetThreshold
}
. If pressing and holding the key is not successful to reliably
enter the picker, multiple repeated keypresses may be tried instead.
...
...
@@ -3643,9 +3643,15 @@ nvram 4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102:boot-log |
\textbf
{
Type
}
:
\texttt
{
plist
\
boolean
}
\\
\textbf
{
Failsafe
}
:
\texttt
{
false
}
\\
\textbf
{
Description
}
: Allow
\texttt
{
CTRL+Enter
}
and
\texttt
{
CTRL+Index
}
handling
to set the default boot option in the OpenCore picker; may be used in combination
to set the default boot option in the OpenCore picker.
\emph
{
Note 1
}
: May be used in combination
with
\texttt
{
Shift+Enter
}
or
\texttt
{
Shift+Index
}
when
\texttt
{
PollAppleHotKeys
}
is
enabled.
\emph
{
Note 2
}
: In order to support systems with unresponsive modifiers during preboot
(which includes
\texttt
{
V1
}
and
\texttt
{
V2
}
\texttt
{
KeySupport
}
mode on some firmware)
OpenCore also allows holding the
\texttt
{
=/+
}
key in order to trigger `set default' mode.
\item
\texttt
{
ApECID
}
\\
\textbf
{
Type
}
:
\texttt
{
plist
\
integer
}
, 64 bit
\\
...
...
@@ -6309,11 +6315,11 @@ functioning. Feature highlights:
\emph
{
Note
}
: If you wish to fine tune this value, a good heuristic is to use
the `set default' indicator within either OpenCanopy or the builtin picker. When
\texttt
{
KeyForgetThreshold
}
is configured correctly, this indicator should
flicker once, when first pressing and holding the
\texttt
{
CTRL
}
key, and then
flicker once, when first pressing and holding the
\texttt
{
CTRL
}
or
\texttt
{
=/+
}
key, and then
after a further very brief interval should go on and stay on.
(
The initial flicker
is an unavoidable artefact of using
\texttt
{
KeySupport
}
to emulate raw keyboard
data.
)
If
\texttt
{
KeyForgetThreshold
}
is configured too low for the system, then
the `set default' indicator will continue to flicker while
CTRL
is held. Configure
the `set default' indicator will continue to flicker while
\texttt
{
CTRL
}
or
\texttt
{
=/+
}
is held. Configure
the lowest value which causes this indicator to go on and stay on after the first
initial flicker.
...
...
Library/OcBootManagementLib/HotKeySupport.c
浏览文件 @
e1f1c77d
...
...
@@ -248,6 +248,14 @@ GetPickerKeyInfo (
PickerKeyInfo
->
OcModifiers
|=
OC_MODIFIERS_SET_DEFAULT
;
}
//
// Alternative 'set default' key, if modifiers not working;
// useful both for 'set default' and for tuning KeyForgetThreshold.
//
if
(
OcKeyMapHasKey
(
AkmaKeys
,
AkmaNumKeys
,
AppleHidUsbKbUsageKeyEquals
))
{
PickerKeyInfo
->
OcModifiers
|=
OC_MODIFIERS_SET_DEFAULT
;
}
//
// Loosely apply regardless of other modifiers.
//
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录