1
0
Fork 0
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:
MCMrARM 2018-05-17 17:29:05 +02:00
parent b00b6d1e28
commit 83e4633aea

View file

@ -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();
} }