黑苹果MacTribe(如何优雅的使用Mac)Mac优雅使用指南

黑苹果10.12.* voodooPS2Controller 改

2017-03-07  本文已影响472人  矮子高

本博客持续修改与更新中,点击这里查看最新的内容

背景

黑苹果也就是hackintosh常用的键盘驱动不能在偏好设置直接将caps改为control,会有bug。RehabMan本人说也不会去修改这个问题。

操作

RehabMan说可以用 plguin 下info.plist 进行ADB映射去解决这个问题😎,步骤如下

进入路径

$ cd VoodooPS2Controller.kext/Contents/PlugIns/VoodooPS2Keyboard.kext/Contents/

修改 Info.plist, 我这里用的编译器是vim。

vim Info.plist

找到 IOKitPersonalities->ApplePS2Keyboard->Platform Profile->Default->Custom PS2 Map/Custom ADB Map
这段

 <array>

 <string>;Items must be strings in the form of breaklessscan (in hex)</string>
 </array>
 <key>Custom ADB Map</key>
 <array>
 <string>;Items must be strings in the form of scanfrom=adbto (in hex)</string>
 <string>3a=3b;caps to left ctrl</string>
 </array>
 <key>Custom PS2 Map</key>
<array>
<string>;Items must be strings in the form of scanfrom=scanto (in hex)</string>
<string>e027=0;disable discrete fnkeys toggle</string>
 <string>e028=0;disable discrete trackpad toggle</string>
 </array>

上面重点是添加了:

<string>3a=3b;caps to left ctrl</string>


后记


你也可以将 caps改成esc之类的,这里提供下我的参考资源,如有其它的定制需求,你可以参照下面的贴子
github 如何使用自定义的按键映射功能

如何使用自定义的按键影射功能

上一篇 下一篇

猜你喜欢

热点阅读