Hmm. That's strange. I'm afraid it's either be more careful and precise or find out if there is something wrong with the keyboard, because it shouldn't be anything to do with PS.
Perhaps try reinstalling? I don't think it HAS got anything to do with Photoshop, but to be sure, reinstalling would...