code for testing out Apple II joystick/paddle support