Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
U-METAL103\103 authored and U-METAL103\103 committed May 16, 2023
1 parent 3d1d6ee commit 7a4fcff
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion source/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,11 @@ int main(int argc, char* argv[])
memset(&pattern, 0, sizeof(pattern));
}

if (kDown & HidNpadButton_Minus) {
// Disable notification led. Only needed with hidsysSetNotificationLedPattern, with hidsysSetNotificationLedPatternWithTimeout the LED will be automatically disabled via the timeout.
memset(&pattern, 0, sizeof(pattern));
}


else if (kDown & HidNpadButton_X) {
memset(&pattern, 0, sizeof(pattern));
Expand Down Expand Up @@ -180,7 +185,7 @@ int main(int argc, char* argv[])
}


if (kDown & (HidNpadButton_A | HidNpadButton_B | HidNpadButton_X | HidNpadButton_Y | HidNpadButton_R | HidNpadButton_Plus)) {
if (kDown & (HidNpadButton_A | HidNpadButton_B | HidNpadButton_X | HidNpadButton_Y | HidNpadButton_R | HidNpadButton_Minus | HidNpadButton_Plus)) {
total_entries = 0;
memset(unique_pad_ids, 0, sizeof(unique_pad_ids));

Expand Down

0 comments on commit 7a4fcff

Please sign in to comment.