8. Add a Keyboard Sensor to State Mask Group 3: Name it Reverse
Sensor must be named Reverse. Can't be named Fred or reverse or anything else. The python code looks for sensor attached to the camera named Reverse.
Buttons Window menu >> Logic (F4)