When does the first rotor in Enigma machine rotate? I read a ton of articles about the Enigma machine. And the one thing that I can't get is when the first rotor stars rotating.

Some articles says the rotor rotates after the first letter of message has been encrypted. So if the first rotor is set to 'A', the first input would go through 'A', the second - through 'B', etc.

But some articles say that the rotor starts rotating when you press a key. Only after that the machine encrypts the letter. I mean, I set the first rotor to 'A'. The I press a key to input the first letter of my message. When I press a key, the rotor goes to 'B' and the first letter goes through 'B'.

Which articles are correct?
Having had the privilege of using one of the original machines, I can tell you the sequence is the following:  set the plugs, and set the rotors.  Once you push the key, you can feel the force of the rotors turn, and the light turns on for the encrypted letter.  The light turn off when you take pressure off the key.

This was on a 3-wheel Enigma, and I do not have any personal experience with the later models, but I will assume they work the same way.