Set keyRepeatDelay to 12 instead of 6
This commit is contained in:
parent
36e8d2dc0b
commit
2e0b5352ae
2 changed files with 18 additions and 18 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue