5bb8148ef9
This pull request converts four of our existing `#ifdef` (or `#ifndef`) `INSIDE_WINDOWS` blocks to til::features: * Attempting to establish a handoff session (inside Windows only) * The ability to *receive* a handoff session (outside Windows only) * The DX engine (outside Windows only) and shaders (also outside only) * Whether we use numpad event synthesis for clipboard/conpty (inside Windows only) Most of these are using the preprocessor verison of til::feature, only because it is more difficult to gate the inclusion of headers on constant expressions. I'd love to prefer the compile time version.
53 lines
2.2 KiB
XML
53 lines
2.2 KiB
XML
<?xml version="1.0"?>
|
|
<featureStaging xmlns="http://microsoft.com/TilFeatureStaging-Schema.xsd">
|
|
<!-- See doc/feature_flags.md for more info. -->
|
|
<feature>
|
|
<name>Feature_ReceiveIncomingHandoff</name>
|
|
<description>OpenConsole should be able to receive incoming connections</description>
|
|
<stage>AlwaysEnabled</stage>
|
|
<alwaysDisabledBrandingTokens>
|
|
<brandingToken>WindowsInbox</brandingToken>
|
|
</alwaysDisabledBrandingTokens>
|
|
</feature>
|
|
|
|
<feature>
|
|
<name>Feature_AttemptHandoff</name>
|
|
<description>conhost should try to hand connections over to OpenConsole</description>
|
|
<stage>AlwaysDisabled</stage>
|
|
<alwaysEnabledBrandingTokens>
|
|
<brandingToken>WindowsInbox</brandingToken>
|
|
</alwaysEnabledBrandingTokens>
|
|
</feature>
|
|
|
|
<feature>
|
|
<name>Feature_ConhostDxEngine</name>
|
|
<description>Controls whether conhost supports the DX engine and the UseDx registry key</description>
|
|
<stage>AlwaysEnabled</stage>
|
|
<alwaysDisabledBrandingTokens>
|
|
<brandingToken>WindowsInbox</brandingToken>
|
|
</alwaysDisabledBrandingTokens>
|
|
</feature>
|
|
<feature>
|
|
<name>Feature_DxEngineShaderSupport</name>
|
|
<description>Controls whether the DX engine is built with shader support.</description>
|
|
<stage>AlwaysEnabled</stage>
|
|
<alwaysDisabledBrandingTokens>
|
|
<brandingToken>WindowsInbox</brandingToken>
|
|
</alwaysDisabledBrandingTokens>
|
|
</feature>
|
|
|
|
<feature>
|
|
<name>Feature_UseNumpadEventsForClipboardInput</name>
|
|
<description>Controls whether the clipboard converter (and ConPTY InputStateMachine) uses Numpad events instead of UChar</description>
|
|
<stage>AlwaysDisabled</stage>
|
|
<alwaysEnabledBrandingTokens>
|
|
<!--
|
|
To reduce the risk of compatibility issues inside Windows, we're going to continue using the old
|
|
version of GetQuickCharWidth to determine whether a character should be synthesized into numpad
|
|
events.
|
|
-->
|
|
<brandingToken>WindowsInbox</brandingToken>
|
|
</alwaysEnabledBrandingTokens>
|
|
</feature>
|
|
</featureStaging>
|