remove IET_FAST_REPEAT

This commit is contained in:
Glenn Maynard
2006-09-13 02:55:19 +00:00
parent 73dec47116
commit d03db0c4f9
13 changed files with 20 additions and 24 deletions
+5 -6
View File
@@ -1474,7 +1474,7 @@ void ScreenEdit::InputEdit( const InputEventPlus &input, EditButton EditB )
{
fDelta /= 20; // .001 bpm
}
else if( input.type == IET_SLOW_REPEAT || input.type == IET_FAST_REPEAT )
else if( input.type == IET_SLOW_REPEAT )
{
if( INPUTFILTER->GetSecsHeld(input.DeviceI) < 1.0f )
fDelta *= 10;
@@ -1501,7 +1501,7 @@ void ScreenEdit::InputEdit( const InputEventPlus &input, EditButton EditB )
{
fDelta /= 20; /* 1ms */
}
else if( input.type == IET_SLOW_REPEAT || input.type == IET_FAST_REPEAT )
else if( input.type == IET_SLOW_REPEAT )
{
if( INPUTFILTER->GetSecsHeld(input.DeviceI) < 1.0f )
fDelta *= 10;
@@ -1545,7 +1545,7 @@ void ScreenEdit::InputEdit( const InputEventPlus &input, EditButton EditB )
{
fDelta /= 20; /* 1ms */
}
else if( input.type == IET_SLOW_REPEAT || input.type == IET_FAST_REPEAT )
else if( input.type == IET_SLOW_REPEAT )
{
if( INPUTFILTER->GetSecsHeld(input.DeviceI) < 1.0f )
fDelta *= 10;
@@ -1571,7 +1571,7 @@ void ScreenEdit::InputEdit( const InputEventPlus &input, EditButton EditB )
case EDIT_BUTTON_SAMPLE_LENGTH_UP: fDelta = +0.02f; break;
}
if( input.type == IET_SLOW_REPEAT || input.type == IET_FAST_REPEAT )
if( input.type == IET_SLOW_REPEAT )
{
if( INPUTFILTER->GetSecsHeld(input.DeviceI) < 1.0f )
fDelta *= 10;
@@ -1964,7 +1964,6 @@ void ScreenEdit::InputRecord( const InputEventPlus &input, EditButton EditB )
}
break;
case IET_SLOW_REPEAT:
case IET_FAST_REPEAT:
case IET_RELEASE:
// don't add or extend holds here; we do it in Update()
break;
@@ -2060,7 +2059,7 @@ void ScreenEdit::InputPlay( const InputEventPlus &input, EditButton EditB )
{
fOffsetDelta /= 20; /* 1ms */
}
else if( input.type == IET_SLOW_REPEAT || input.type == IET_FAST_REPEAT )
else if( input.type == IET_SLOW_REPEAT )
{
if( INPUTFILTER->GetSecsHeld(input.DeviceI) < 1.0f )
fOffsetDelta *= 10;