I spilled coffee on my keyboard and most keys are now constantly pressed so the machine is not usable so I disabled the built-in keyboard in order to use an external keyboard but I am having some problems. I do not want to replace the built-in keyboard, I just want to disable it and use an external keyboard.
I searched around and found that I could disable the built-in keyboard by typing the following to disable:
sudo kextunload /System/Library/Extensions/AppleUSBTopCase.kext/Contents/PlugIns/AppleUSBTCKeyboard.kext/
And the following to enable:
sudo kextload /System/Library/Extensions/AppleUSBTopCase.kext/Contents/PlugIns/AppleUSBTCKeyboard.kext/
I typed the above but it didn't work so I typed:
open /System/Library/Extensions
and deleted the file called AppleUSBTopCase.kext because I figured that it is the driver for the keyboard. This worked and everything is fine now but as long as the machine is connected to the internet, it will keep downloading the drivers after I delete them and the machine becomes unusable again once the keyboard is enabled. How can I prevent it from doing that (without disconnecting it from the internet...)?