📅  最后修改于: 2022-03-11 14:49:45.004000             🧑  作者: Mango
To disable the built-in keyboard:
sudo kextunload /System/Library/Extensions/AppleUSBTopCase.kext/Contents/PlugIns/AppleUSBTCKeyboard.kext
to enable it again:
sudo kextload /System/Library/Extensions/AppleUSBTopCase.kext/Contents/PlugIns/AppleUSBTCKeyboard.kext
it will throw some errors but does actually disable the keyboard