欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

Mac中使用seil和karabiner做鍵盤(pán)映射教程

  發(fā)布時(shí)間:2015-04-21 14:32:45   作者:佚名   我要評(píng)論
這篇文章主要介紹了Mac中使用seil和karabiner做鍵盤(pán)映射教程,本文實(shí)現(xiàn)把Mac鍵盤(pán)上的caps lock鍵映射為control鍵,需要的朋友可以參考下

最近在找工具,想把Mac鍵盤(pán)上的caps lock鍵映射成control鍵,發(fā)現(xiàn)兩個(gè)神器,seilkarabiner.


首先需要到系統(tǒng)偏好設(shè)置里將 Caps Lock 鍵改為「No Action」。

使用seil和karabiner做Mac鍵盤(pán)映射

下載這兩個(gè)工具后,首先打開(kāi)seil,勾選:

使用seil和karabiner做Mac鍵盤(pán)映射

將keycode設(shè)置成F19對(duì)應(yīng)的80.

打開(kāi)karabiner,在「Misc & Uninstall」中點(diǎn)擊「Open private.xml」,會(huì)彈出來(lái)一個(gè)文檔。打開(kāi)該文檔,將下面的代碼替換進(jìn)去:


復(fù)制代碼
代碼如下:

<?xml version="1.0"?> <root> <item> <name>F19 To Control</name> <appendix>F19, send Control</appendix> <identifier>private.hyperspace2Control</identifier> <autogen> --KeyToKey-- KeyCode::F19, KeyCode::CONTROL_L </autogen> </item> </root>

回到「Change Key」中點(diǎn)擊「ReloadXML」,就會(huì)看到自定義的名為F19 To Control的映射選項(xiàng).勾選即完成映射.

關(guān)于karabiner里,private.xml腳本語(yǔ)法解析:


復(fù)制代碼
代碼如下:

<item> <name>Hyper+space To Enter</name> <!--顯示在karabiner選項(xiàng)里的名字--> <appendix>Hyper(cmd+ctrl+shift+opt)+space, send enter</appendix> <!--顯示在karabiner選項(xiàng)里的說(shuō)明--> <identifier>private.hyperspace2enter</identifier> <!--唯一性的標(biāo)識(shí)符--> <autogen> --KeyToKey-- KeyCode::SPACE, <!--快捷鍵第一項(xiàng)--> ModifierFlag::OPTION_L | ModifierFlag::SHIFT_L | ModifierFlag::CONTROL_L | ModifierFlag::COMMAND_L, <!--快捷鍵第二項(xiàng)--> KeyCode::ENTER <!--映射后的結(jié)果--> </autogen> </item>

相關(guān)文章

最新評(píng)論