mirror of
https://github.com/Huntereb/Awoo-Installer
synced 2024-11-10 06:04:20 +00:00
Send exit command when returning to main menu from a USB install
This commit is contained in:
parent
b181a9183c
commit
e15331b7a1
1 changed files with 2 additions and 0 deletions
|
@ -3,6 +3,7 @@
|
|||
#include "util/util.hpp"
|
||||
#include "util/config.hpp"
|
||||
#include "util/lang.hpp"
|
||||
#include "util/usb_util.hpp"
|
||||
#include "usbInstall.hpp"
|
||||
|
||||
|
||||
|
@ -102,6 +103,7 @@ namespace inst::ui {
|
|||
|
||||
void usbInstPage::onInput(u64 Down, u64 Up, u64 Held, pu::ui::Touch Pos) {
|
||||
if (Down & KEY_B) {
|
||||
tin::util::USBCmdManager::SendExitCmd();
|
||||
mainApp->LoadLayout(mainApp->mainPage);
|
||||
}
|
||||
if ((Down & KEY_A) || (Up & KEY_TOUCH)) {
|
||||
|
|
Loading…
Reference in a new issue