From fedf625bdfaed45f805565d49d6836d78e995267 Mon Sep 17 00:00:00 2001 From: Maschell Date: Sun, 22 Jan 2023 14:09:57 +0100 Subject: [PATCH] Change default combo to TV button and disable TV menu when using the plugin --- src/main.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index 759df91..8684d5b 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -34,7 +34,7 @@ WUPS_USE_STORAGE("screenshot_plugin"); // Gets called once the loader exists. INITIALIZE_PLUGIN() { initLogging(); - gButtonCombo = VPAD_BUTTON_R | VPAD_BUTTON_L | VPAD_BUTTON_ZR | VPAD_BUTTON_ZL; + gButtonCombo = VPAD_BUTTON_TV; OSMemoryBarrier(); // Open storage to read values @@ -277,6 +277,7 @@ ON_APPLICATION_START() { } else { gShortNameEn.clear(); } + VPADSetTVMenuInvalid(VPAD_CHAN_0, true); } ON_APPLICATION_REQUESTS_EXIT() {