Use IsJoystick() and IsPump().

This commit is contained in:
Steve Checkoway
2007-01-18 12:35:13 +00:00
parent ff32e1ff9d
commit 4f228d3a30
2 changed files with 4 additions and 4 deletions
@@ -52,7 +52,7 @@ void PumpDevice::GetButtonPresses( vector<DeviceInput>& vPresses, int cookie, in
int PumpDevice::AssignIDs( InputDevice startID )
{
if( startID < DEVICE_PUMP1 || startID > DEVICE_PUMP2 )
if( !IsPump(startID) )
return -1;
m_Id = startID;
return 1;