>>17262842If the layers are fastened together, dip them into distilled water and flex and shake them around until they are as clean as they can get, then flap them around to get the water out. You may also be able to slip a cloth or paper towel in between them to dry them, but remember to check for any lint that gets stuck. Rubber domes should only be rinsed using distilled water at or close to room temperature (give or take a few degrees) - anything too hot or too cold can permanently alter their feel. The springs, hammers, steel plate, and plastic cover of Buckling Springs shouldn't need more than a quick rinse or wipe-down, but you can always use soap or isopropyl alcohol on them if they need it.
Rubber Dome on PCB, such as Topre: Rinse the domes in distilled water at or close to room temperature, rubbing with your fingers if anything is stuck badly to them. If it's a Topre capacitive board, the springs can be cleaned the same way or with a light concentration of dish soap or isopropyl alcohol. Wipe the PCB down with a cloth dampened with distilled water.
Whatever sort of internals your keyboard has, put them aside to dry at least overnight. If there were any ICs or other surface-mount electrical components that you had to get wet, a good way to speed up the process significantly is to use canned air to blow the water out from under them.
By the time you're done with the internals, the casing and keycaps should be ready. When taking them out of the dishwasher or soap bath, take them out and dry them with a towel one by one. If there is still any amount of dirt on them, rub them down with isopropyl alcohol and/or Windex. Isopropyl normally works better, but Windex gets certain things out without any effort that the dish soap may not have caught in a still bath, such as cigarette smoke residue.
Once you're absolutely positive that everything's dry, put it all back together.