cpTest by Joseph Carlson March 11, 1995 'cpTest' tests CP-1 ControlPad Adapters, Sega Genesis(TM) ControlPads, as well as standard single button joysticks. It requires WB 2.0+ and the 'ControlPad.Library' by Randall Richards and Joseph Carlson. To run cpTest, either double-click its icon or type cpTest from a shell. When it runs, you will see a brief logo screen which is created by just a single library call - cpShowLogo(120); The graphics for this intro screen are completely embedded in the library itself. Following the intro, the main screen comes up. This screen is divided into two halves, MOUSEPORT & JOYPORT. At the top of each half is a graphic representation of the status of the joystick or controlpad plugged into that port. This display indicates brightly what direction and buttons are being pressed on an allocated port. If you dont have a CP-1 Adapter yet, just try it with a joystick. A joystick button reads the same as the B button on a controlpad. The sensed controller type is indicated. This program does not recognize a mouse, so if a mouse is plugged into the port (and the port is allocated) the program will report it as a JOYSTICK or ERROR. If a joystick or nothing is plugged in, JOYSTICK is indicated. If a CP-1 adapter and a controlpad is plugged in, CONTROLPAD is indicated. Pressing 1 or 2 will allocate or deallocate that port. While a port is not allocated, the library function cpGet() returns 0 indicating nothing is being pressed even if something is pressed. It only responds to allocated ports. When first run, only the JOYPORT is allocated. Pressing T does a thorough adapter timeout test on any allocated ports. The range of the times from 50 tests is indicated under TIMER VALUE: in milli- seconds and PASS/FAIL/NOT FOUND is indicated after ADAPTER TEST: Press ESC to quit. Someday I may add joystick graphics to the program. Who knows??? - The end.