by randi » Sat Apr 28, 2012 4:38 pm
I have an XBox 360 Controller. For the best parallel with Windows, every axis also needs to generate button events.
As for referencing the Windows code, you should probably be looking at the XInput code instead of DirectInput. The DirectInput version is rather complicated, since it needs to work with completely generic input devices, whereas the XInput code is short and to-the-point.
I have an XBox 360 Controller. For the best parallel with Windows, every axis also needs to generate button events.
As for referencing the Windows code, you should probably be looking at the XInput code instead of DirectInput. The DirectInput version is rather complicated, since it needs to work with completely generic input devices, whereas the XInput code is short and to-the-point.