If you've done extensive troubleshooting and nothing seems to work, or if there's clear evidence of physical damage, it may be time to find a replacement keyboard.