Revert "Set keyRepeatDelay to 12 instead of 6"

This reverts commit 2e0b5352ae.
This commit is contained in:
Epicpkmn11 2019-11-06 14:27:49 -06:00
commit ea40de7130
2 changed files with 18 additions and 18 deletions

View file

@ -141,10 +141,10 @@ void ScriptBrowse::Logic(u32 hDown, u32 hHeld, touchPosition touch) {
} else {
selection = 0;
}
if (fastMode) {
if (fastMode == true) {
keyRepeatDelay = 3;
} else {
keyRepeatDelay = 12;
} else if (fastMode == false){
keyRepeatDelay = 6;
}
}
@ -154,10 +154,10 @@ void ScriptBrowse::Logic(u32 hDown, u32 hHeld, touchPosition touch) {
} else {
selection = (int)infoJson.size()-1;
}
if (fastMode) {
if (fastMode == true) {
keyRepeatDelay = 3;
} else {
keyRepeatDelay = 12;
} else if (fastMode == false){
keyRepeatDelay = 6;
}
}

View file

@ -355,10 +355,10 @@ void ScriptList::ListSelection(u32 hDown, u32 hHeld) {
} else {
selection = 0;
}
if (fastMode) {
if (fastMode == true) {
keyRepeatDelay = 3;
} else {
keyRepeatDelay = 12;
} else if (fastMode == false){
keyRepeatDelay = 6;
}
}
if (hHeld & KEY_UP && !keyRepeatDelay) {
@ -367,10 +367,10 @@ void ScriptList::ListSelection(u32 hDown, u32 hHeld) {
} else {
selection = (int)fileInfo.size()-1;
}
if (fastMode) {
if (fastMode == true) {
keyRepeatDelay = 3;
} else {
keyRepeatDelay = 12;
} else if (fastMode == false){
keyRepeatDelay = 6;
}
}
@ -406,10 +406,10 @@ void ScriptList::SelectFunction(u32 hDown, u32 hHeld) {
} else {
selection2 = 0;
}
if (fastMode) {
if (fastMode == true) {
keyRepeatDelay = 3;
} else {
keyRepeatDelay = 12;
} else if (fastMode == false){
keyRepeatDelay = 6;
}
}
if (hHeld & KEY_UP && !keyRepeatDelay) {
@ -418,10 +418,10 @@ void ScriptList::SelectFunction(u32 hDown, u32 hHeld) {
} else {
selection2 = (int)fileInfo2.size()-1;
}
if (fastMode) {
if (fastMode == true) {
keyRepeatDelay = 3;
} else {
keyRepeatDelay = 12;
} else if (fastMode == false){
keyRepeatDelay = 6;
}
}
if (hDown & KEY_A) {