ignore repeats for input mappings

This commit is contained in:
Glenn Maynard
2005-12-09 03:15:51 +00:00
parent d77a3372e4
commit 5e11c35991
+3
View File
@@ -224,6 +224,9 @@ void ScreenMapControllers::Input( const InputEventPlus &input )
//
if( !m_WaitingForPress.IsZero() )
{
if( input.type != IET_FIRST_PRESS )
return;
/* Don't allow function keys to be mapped. */
if( input.DeviceI.device == DEVICE_KEYBOARD && (input.DeviceI.button >= KEY_F1 && input.DeviceI.button <= KEY_F12) )
{