mirror of
https://github.com/DarkMatterCore/nxdumptool.git
synced 2024-11-23 02:36:41 +00:00
Do not make touch screen act as a button press with the press any button
state
This commit is contained in:
parent
b00b6d1e28
commit
83e4633aea
1 changed files with 2 additions and 1 deletions
|
@ -127,7 +127,8 @@ int main(int argc, char **argv) {
|
||||||
|
|
||||||
u64 kDown = hidKeysDown(CONTROLLER_P1_AUTO);
|
u64 kDown = hidKeysDown(CONTROLLER_P1_AUTO);
|
||||||
if (kDown & KEY_PLUS) break;
|
if (kDown & KEY_PLUS) break;
|
||||||
if (btnWait && kDown) {
|
if (btnWait && (kDown & (KEY_A | KEY_B | KEY_X | KEY_Y | KEY_L | KEY_R | KEY_ZL | KEY_ZR | KEY_MINUS |
|
||||||
|
KEY_DLEFT | KEY_DRIGHT | KEY_DUP | KEY_DDOWN))) {
|
||||||
shouldWaitForAnyButton = false;
|
shouldWaitForAnyButton = false;
|
||||||
menuPrint();
|
menuPrint();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue