mirror of
https://github.com/DarkStore-3DS/DarkStore.git
synced 2026-07-04 08:39:06 +00:00
Revert "Set keyRepeatDelay to 12 instead of 6"
This reverts commit 2e0b5352ae.
This commit is contained in:
@@ -141,10 +141,10 @@ void ScriptBrowse::Logic(u32 hDown, u32 hHeld, touchPosition touch) {
|
|||||||
} else {
|
} else {
|
||||||
selection = 0;
|
selection = 0;
|
||||||
}
|
}
|
||||||
if (fastMode) {
|
if (fastMode == true) {
|
||||||
keyRepeatDelay = 3;
|
keyRepeatDelay = 3;
|
||||||
} else {
|
} else if (fastMode == false){
|
||||||
keyRepeatDelay = 12;
|
keyRepeatDelay = 6;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -154,10 +154,10 @@ void ScriptBrowse::Logic(u32 hDown, u32 hHeld, touchPosition touch) {
|
|||||||
} else {
|
} else {
|
||||||
selection = (int)infoJson.size()-1;
|
selection = (int)infoJson.size()-1;
|
||||||
}
|
}
|
||||||
if (fastMode) {
|
if (fastMode == true) {
|
||||||
keyRepeatDelay = 3;
|
keyRepeatDelay = 3;
|
||||||
} else {
|
} else if (fastMode == false){
|
||||||
keyRepeatDelay = 12;
|
keyRepeatDelay = 6;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -355,10 +355,10 @@ void ScriptList::ListSelection(u32 hDown, u32 hHeld) {
|
|||||||
} else {
|
} else {
|
||||||
selection = 0;
|
selection = 0;
|
||||||
}
|
}
|
||||||
if (fastMode) {
|
if (fastMode == true) {
|
||||||
keyRepeatDelay = 3;
|
keyRepeatDelay = 3;
|
||||||
} else {
|
} else if (fastMode == false){
|
||||||
keyRepeatDelay = 12;
|
keyRepeatDelay = 6;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (hHeld & KEY_UP && !keyRepeatDelay) {
|
if (hHeld & KEY_UP && !keyRepeatDelay) {
|
||||||
@@ -367,10 +367,10 @@ void ScriptList::ListSelection(u32 hDown, u32 hHeld) {
|
|||||||
} else {
|
} else {
|
||||||
selection = (int)fileInfo.size()-1;
|
selection = (int)fileInfo.size()-1;
|
||||||
}
|
}
|
||||||
if (fastMode) {
|
if (fastMode == true) {
|
||||||
keyRepeatDelay = 3;
|
keyRepeatDelay = 3;
|
||||||
} else {
|
} else if (fastMode == false){
|
||||||
keyRepeatDelay = 12;
|
keyRepeatDelay = 6;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -406,10 +406,10 @@ void ScriptList::SelectFunction(u32 hDown, u32 hHeld) {
|
|||||||
} else {
|
} else {
|
||||||
selection2 = 0;
|
selection2 = 0;
|
||||||
}
|
}
|
||||||
if (fastMode) {
|
if (fastMode == true) {
|
||||||
keyRepeatDelay = 3;
|
keyRepeatDelay = 3;
|
||||||
} else {
|
} else if (fastMode == false){
|
||||||
keyRepeatDelay = 12;
|
keyRepeatDelay = 6;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (hHeld & KEY_UP && !keyRepeatDelay) {
|
if (hHeld & KEY_UP && !keyRepeatDelay) {
|
||||||
@@ -418,10 +418,10 @@ void ScriptList::SelectFunction(u32 hDown, u32 hHeld) {
|
|||||||
} else {
|
} else {
|
||||||
selection2 = (int)fileInfo2.size()-1;
|
selection2 = (int)fileInfo2.size()-1;
|
||||||
}
|
}
|
||||||
if (fastMode) {
|
if (fastMode == true) {
|
||||||
keyRepeatDelay = 3;
|
keyRepeatDelay = 3;
|
||||||
} else {
|
} else if (fastMode == false){
|
||||||
keyRepeatDelay = 12;
|
keyRepeatDelay = 6;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (hDown & KEY_A) {
|
if (hDown & KEY_A) {
|
||||||
|
|||||||
Reference in New Issue
Block a user