The “light pipe” is a fat fiber optic channel. Light comes in the end, gets reflected by internal sides and curves, makes its way out the other end and to a detector on the circuit board. The way the end surface interacts with light allows the detection of things touching the surface of the pipe.