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