Exit UU with START, switch START actions to SELECT

This commit is contained in:
Pk11
2022-02-21 03:16:14 -06:00
committed by Dark98
parent 6c16faeca7
commit c91372f66b
8 changed files with 34 additions and 8 deletions
+5
View File
@@ -29,6 +29,7 @@
#include "storeUtils.hpp"
#include "structs.hpp"
extern bool exiting, QueueRuns;
extern bool touching(touchPosition touch, Structs::ButtonPos button);
static const std::vector<Structs::ButtonPos> SearchMenu = {
{ 51, 41, 262, 30 }, // Search bar.
@@ -232,4 +233,8 @@ void StoreUtils::SearchHandle(std::vector<bool> &searchIncludes, std::string &se
StoreUtils::SortEntries(ascending, sorttype);
}
}
/* Quit UU. */
if (hDown & KEY_START && !QueueRuns)
exiting = true;
}