Corrected input pin mapping