Did you know that if you count the key scissors and key caps separately, there are no less than ten individual layers of parts inside a MacBook Pro keyboard? It's true!
I didn't know that until I spilled about 1/3 of a cup of coffee in to mine.
The keys on the far right hand side of the keyboard stopped worked as the electrical traces on the plastic sheets inside the keyboard became soaked. After painstakingly disassembling the entire keyboard, all ten layers, everything that can be removed without cutting, and then cleaning the mess with 70% isopropyl alcohol, I found that the exposed pads had corroded and were no longer conductive.
Most of the traces are safe from moisture beneath a waterproof slip, but they have to be exposed under each key so that when the key is pressed the pads will create a circuit. The pads appear to be a metallic paint, maybe
nickel flake in a binder, and are very susceptible to losing conductivity when exposed to moisture.
I tested many different pairs of pads with a multimeter to see which retained their conductivity. In general, any pads that were black rather than silver, no longer fully conducted.
A new MacBook Pro keyboard from a reputable dealer costs about $90 shipped. I didn't have time to wait, so I bought $17 worth of automobile rear window defroster repair kit, and applied very tiny amounts of the metallic paint to the faulty traces. This paint dries in just a couple minutes. I then tested again with a multimeter and the nonconductive pads and traces were working again.
The trick with this is that laptop keyboards are very thin; the conductive pads inside the keyboards are very, very thin -- they have almost no profile at all. The pads are printed on a very thin layer of plastic with two halves as mirror images of one another, both in the shape of the keyboard, such that when one half is folded over the other the pads line up and the plastic represents the key layout. Between these mirror-image layers is another very thin layer of plastic that serves to separate the halves so the conductive pads touch only when you press a key.
If you try to repair a keyboard this way it's critical that the conductive paint you apply is also very, very, thin. If it's not, where "not" is thicker than sheet of tissue paper, then the paint will have too much profile and make unwanted contact with the pad above, causing a key to get stuck "down" and you won't be able to type anything other than backslashes, or whatever. \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
To avoid this pitfall, after applying an already very thin layer of paint and letting it dry, I scraped and rubbed down the surface of the pad wit the metal tip of a mechanical pencil. After doing so I verified it was still conductive (that I hadn't scraped off too much) with a multimeter.
Sure enough, when I reassembled everything, it worked.

And it only took seven hours! Although in fairness it probably wouldn't have taken longer than four if I had decided that was what I needed to do immediately after the accident and already had the conductive paint.
- Anonymous