First thing I would check is whether the keyboard adaptor is still fitted correctly, and hasn't come loose when you were tinkering inside the box. Does the caps-lock light come on when you press the key? If you can get into the early startup sceen try pressing a key to see if it toggles between PAL and NTSC.