That sounds correct to me, you should also have a ground. Ignition should connect to hot only when the key is on side of the ignition switch. While S goes to the gauge directly and the sending unit of whatever you are trying to read.
Good Luck.
Jason