no Joystick data in buffer?

Started by
1 comment, last by JoshG 21 years, 1 month ago
Hello all, I''m trying to get my MS Precison Sidewinder Pro (USB) gamepad to work with a program I am writing. I am trying to receive buffered information about what the joystick has been doing but I always get told that there are no items copied to the buffer reguardless of how many buttons or axis I move.. I have set the buffer length using SetProperty I have aquired the device and I am calling GetDeviceData in order to get the data. I have used the exact same method (except for data formats) for the Keyboard and Mouse and they work a charm. Anyone have any ideas as to what is going? --Josh
Advertisement
Some devices require you to call Poll() before GetDeviceData() will return anything.
Cheers, that was exaclty what was needed!

This topic is closed to new replies.

Advertisement