6. Add a Mouse Movement Sensor named MouseLook to Camera
Sensor must be named MouseLook. Can't be named Fred or mouselook or anything else. The python code looks for sensor attached to the camera named MouseLook.
Select Camera: Object mode
Buttons Window menu >> Logic (F4)
Name the Mouse Movement Sensor
Name it: MouseLook