ConvertibleSlateModeConvertibleSlateMode

ConvertibleSlateMode 指定设备是否具有物理键盘。ConvertibleSlateMode specifies whether the device has a physical keyboard. 在确定是否显示屏幕键盘时,Windows 将使用此设置。Windows uses this setting when determining whether to show an on-screen keyboard. 例如,当用户收到一个可以在平板电脑上接受键盘输入的提示时,屏幕键盘随即出现。For example, when the user receives a prompt that can accept keyboard input on a tablet, the on-screen keyboard appears.

此设置与 ConvertibleSlateModePromptPreference相关,它确定在设备更改模式时是否提示用户显示或隐藏键盘,例如,当键盘附加/分离或旋转可访问/无法访问时。This setting is related to ConvertibleSlateModePromptPreference, which determines whether to prompt the user to show or hide the keyboard whenever the device changes modes, for example, when the keyboards is attached/detached or rotated to be accessible/inaccessible.

对于没有键盘的平板电脑或其他设备 ,请将 ConvertibleSlateMode 设置为 0For tablets or other devices that don’t have a keyboard , set ConvertibleSlateMode to 0.

对于始终具有可访问键盘的便携式计算机或其他设备 ,请将 ConvertibleSlateMode 设置为 1For laptops or other devices that always have an accessible keyboard , set ConvertibleSlateMode to 1.

对于有时具有可访问键盘的可转换或可分离的设备For convertible or detachable devices that sometimes have an accessible keyboard :

  • 将 ConvertibleSlateMode 设置为 0Set ConvertibleSlateMode to 0.
  • ConvertibleSlateModePromptPreference 设置为 1Set ConvertibleSlateModePromptPreference to 1.
  • 设置 GPIO pin 和 Gpio 注入驱动程序 以检测模式。Set up a GPIO pin and a GPIO Injection Driver to detect the mode. 模式发生变化时,驱动程序应更新 HKLM/System/CurrentControlSet/Control/PriorityControl/ConvertibleSlateMode 的注册表值。When the mode changes, the driver should update the registry value of HKLM/System/CurrentControlSet/Control/PriorityControl/ConvertibleSlateMode.
  • 对于可以使用 Windows 10 Continuum 功能的设备,还请参阅主题: ContinuumFor devices that can use Windows 10 Continuum feature, also see the topic: Continuum.

对于没有触摸屏的设备 ,此设置不起作用。For devices without a touchscreen , this setting does nothing. 即使设置了此设置,Windows 也会假设有一个物理键盘,而不会显示屏幕键盘。Even if you set this setting, Windows assumes a physical keyboard is present and will not show the on-screen keyboard.

Values

11

笔记本电脑模式:指定设备具有可供用户访问的物理键盘。Laptop mode: Specifies that the device has a physical keyboard accessible to the user.

00

Tablet mode:指定设备不具有可供用户访问的物理键盘。Tablet mode: Specifies that the device does not have a physical keyboard accessible to the user.

此为默认值。This is the default value

父层次结构Parent Hierarchy

Microsoft-GPIOButtons | ConvertibleSlateModeMicrosoft-Windows-GPIOButtons | ConvertibleSlateMode

有效的配置阶段Valid Configuration Passes

specializespecialize

offlineServicingofflineServicing

应用于Applies To

有关此组件支持的 Windows 版本和体系结构的列表,请参阅 GPIOButtonsFor a list of the supported Windows editions and architectures that this component supports, see Microsoft-Windows-GPIOButtons.

XML 示例XML Example

以下 XML 输出指定便携式计算机外形规格。The following XML output specifies a laptop form factor.

<ConvertibleSlateMode>1</ConvertibleSlateMode>

Microsoft-Windows-GPIOButtonsMicrosoft-Windows-GPIOButtons

ConvertibleSlateModePromptPreferenceConvertibleSlateModePromptPreference

GPIO 实现指南GPIO Implementation Guide

ContinuumContinuum