added keyboard input for chord selection