add DeviceInputList *

This commit is contained in:
Glenn Maynard
2006-09-08 04:04:40 +00:00
parent be6d3d4043
commit d93a57c841
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -802,7 +802,7 @@ void InputMapper::MenuToGame( const MenuInput &MenuI, GameInput GameIout[4] )
}
bool InputMapper::IsBeingPressed( const GameInput &GameI, MultiPlayer mp )
bool InputMapper::IsBeingPressed( const GameInput &GameI, MultiPlayer mp, const DeviceInputList *pButtonState )
{
for( int i=0; i<NUM_GAME_TO_DEVICE_SLOTS; i++ )
{
@@ -812,7 +812,7 @@ bool InputMapper::IsBeingPressed( const GameInput &GameI, MultiPlayer mp )
{
if( mp != MultiPlayer_INVALID )
DeviceI.device = MultiPlayerToInputDevice(mp);
if( INPUTFILTER->IsBeingPressed( DeviceI ) )
if( INPUTFILTER->IsBeingPressed(DeviceI, pButtonState) )
return true;
}
}