1. A keyboard for a handheld electronic device comprising: A light source for providing a light; a set of sensors, representing keys of said keyboard; and one light pipe, for housing said set of sensors and for receiving and delivering said light to said sensors; wherein each of said set of sensors sense an amount of said light in its proximity and compares said amount to a threshold value to determine which of said keys has been selected.