Remove hack for EMS.
This commit is contained in:
@@ -178,13 +178,7 @@ void JoystickDevice::GetDevicesAndDescriptions( vector<InputDevice>& dev, vector
|
|||||||
FOREACH_CONST( Joystick, m_vSticks, i )
|
FOREACH_CONST( Joystick, m_vSticks, i )
|
||||||
{
|
{
|
||||||
dev.push_back( i->id );
|
dev.push_back( i->id );
|
||||||
const RString& description = GetDescription();
|
desc.push_back( GetDescription() );
|
||||||
|
|
||||||
// XXX hack around remapping problem.
|
|
||||||
if( description == "0b43:0003" )
|
|
||||||
desc.push_back( "EMS USB2" );
|
|
||||||
else
|
|
||||||
desc.push_back( description );
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user