Detecting, calibrating and using joystick input.
This program uses the Allegro library to detect and read the value
of a joystick. The output of the program is a small target sight
on the screen which you can move. At the same time the program will
tell you what you are doing with the joystick (moving or firing).