Add output to shift register based on keyboard input