Hi, I'm new; please be gentle!

I have a question regarding servos and serial control (as lots of people seem to have).
I am controlling four standard servos from an Uno and using a HyperTerminal emulator to allow keyboard keystrokes to send servos to different positions. All works good. Example line;
else if (moveServo == '4') { servo2.write(1); } // left
My question is; is there a line of code I can put in my sketch that basically says if no keys are being pressed, send servoX to positionX, kind of like assigning a home/default position?
I’ve been looking around for answers for a while but sorry if this is a simple one.
Thanks.