@
bao3 配合 hyperswitch ,修改 for_mission_control.xml 里面的激活 cmdtab 模式语句也很不错
添加的内容如下:
<item>
<name>Control_L to toggle Cmd+Tab</name>
<identifier>remap.simultaneouskeypresses_cmdtab_tabq</identifier>
<!-- send CONTROL_R when the CONTROL_L key is pressed and held down. -->
<autogen>
__HoldingKeyToKey__
KeyCode::CONTROL_L,
<!-- short press -->
@
begin KeyCode::VK_CONFIG_FORCE_ON_notsave_cmdtab_mode,
KeyCode::VK_LOCK_COMMAND_L_FORCE_ON,
KeyCode::TAB,
@
end <!-- hold -->
@
begin KeyCode::CONTROL_R,
@
end Option::NOREPEAT,
</autogen>
<autogen>
__SimultaneousKeyPresses__
KeyCode::TAB, KeyCode::Q,
KeyCode::VK_CONFIG_FORCE_ON_notsave_cmdtab_mode,
KeyCode::VK_LOCK_COMMAND_L_FORCE_ON,
KeyCode::TAB,
</autogen>
</item>
<item>
<name>OPTION_L to toggle Cmd+Tab ( one )</name>
<identifier>remap.HoldingKeyToKey_cmdtab_tabq</identifier>
<!-- send OPTION_R when the OPTION_L key is pressed and held down. -->
<autogen>
__HoldingKeyToKey__
KeyCode::OPTION_L,
<!-- short press -->
@
begin KeyCode::VK_CONFIG_FORCE_ON_notsave_cmdtab_mode,
KeyCode::VK_LOCK_COMMAND_L_FORCE_ON,
KeyCode::TAB,
@
end <!-- hold -->
@
begin KeyCode::OPTION_R,
@
end Option::NOREPEAT,
</autogen>
</item>
<item>
<name>OPTION_L to toggle Cmd+Tab ( Two )</name>
<identifier>remap.KeyOverlaidModifier_cmdtab_tabq</identifier>
<autogen>
__KeyOverlaidModifier__
KeyCode::OPTION_L,
KeyCode::VK_CONFIG_FORCE_ON_notsave_cmdtab_mode,
KeyCode::VK_LOCK_COMMAND_L_FORCE_ON,
KeyCode::TAB,
</autogen>
</item>