Archived

This topic is now archived and is closed to further replies.

firlefanz

Using 2 Joysticks via DxInput

Recommended Posts

HI, can anybody tell me how to use 2 Joysticks via Dxinput? I surely know how to access one, but I don''t know how to use 2 at the same time. I anyone knows, please tell me! Cu Firlefanz

Share this post


Link to post
Share on other sites
Look up the EnumDevices() and EnumDeviceObjects() DirectInput functions. They tell you how to find out what devices are available on machine and set them up. Don''t look to support a specific device or number of devices; make your input code as generic as possible.

Share this post


Link to post
Share on other sites