Annotate the bits of code that read the keyboard or joystick