Change GetDevicesAndDescriptions to fill in one vector instead of 2
Ignore changes in non-joystick devices when automapping
This commit is contained in:
@@ -66,10 +66,9 @@ int PumpDevice::AssignIDs( InputDevice startID )
|
||||
return 1;
|
||||
}
|
||||
|
||||
void PumpDevice::GetDevicesAndDescriptions( vector<InputDevice>& dev, vector<RString>& desc ) const
|
||||
void PumpDevice::GetDevicesAndDescriptions( vector<InputDeviceInfo>& vDevices ) const
|
||||
{
|
||||
dev.push_back( m_Id );
|
||||
desc.push_back( "Pump USB" );
|
||||
vDevices.push_back( InputDeviceInfo(m_Id,"Pump USB") );
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user