Toggle between duet-part with F10 after selecting player with [1...6]
This commit is contained in:
1 parent
5abd428462
commit
adb8ee7478
1 file changed
+16
@@ -336,6 +336,22 @@ namespace Vocaluxe.Screens
|
|||||||
NameSelections[htNameSelections(NameSelection)].UpdateList();
|
NameSelections[htNameSelections(NameSelection)].UpdateList();
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case Keys.F10:
|
||||||
|
if (CGame.GetNumSongs() == 1 && CGame.GetSong(1).IsDuet)
|
||||||
|
{
|
||||||
|
if (SelectSlides[htSelectSlides(SelectSlideDuetPlayer[selectingKeyboardPlayerNr - 1])].Selection == 0)
|
||||||
|
SelectSlides[htSelectSlides(SelectSlideDuetPlayer[selectingKeyboardPlayerNr - 1])].SetSelectionByValueIndex(1);
|
||||||
|
else
|
||||||
|
SelectSlides[htSelectSlides(SelectSlideDuetPlayer[selectingKeyboardPlayerNr - 1])].SetSelectionByValueIndex(0);
|
||||||
|
//Reset all values
|
||||||
|
selectingKeyboardPlayerNr = 0;
|
||||||
|
selectingKeyboardActive = false;
|
||||||
|
selectingKeyboardUnendless = false;
|
||||||
|
NameSelections[htNameSelections(NameSelection)].KeyboardSelection(false, -1);
|
||||||
|
SetInteractionToButton(Buttons[htButtons(ButtonStart)]);
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
//Normal Keyboard handling
|
//Normal Keyboard handling
|
||||||
|
|||||||
Reference in new issue
Block a user