>Does anybody know how to read, from VFP, the input of a gamepad, that is, which button was pressed ? The gamepad may be connected to the game port or USB port.
It would probably be tough to do without implementing a message queue, which will be a substantial performance hit in VFP. However, you might take a look at the joySetCapture and related functions.
Mike Stewart