Key Switch with an Arduino

Questions generally end with a ?. Did you have one?