Make InputHander_Win32_Para initialize the device so that the joystick feature of the same device will function.

This commit is contained in:
Chris Danford
2005-12-08 05:33:31 +00:00
parent bad83b38b3
commit 17cf7eaa7c
5 changed files with 39 additions and 116 deletions
@@ -17,7 +17,7 @@ InputHandler_Win32_Pump::InputHandler_Win32_Pump()
bool bFoundOnePad = false;
for( int i = 0; i < NUM_PUMPS; ++i )
{
if( m_pDevice[i].Open(pump_usb_vid, pump_usb_pid, sizeof(long), i) )
if( m_pDevice[i].Open(pump_usb_vid, pump_usb_pid, sizeof(long), i, NULL) )
{
bFoundOnePad = true;
LOG->Info( "Found Pump pad %i", i );