[go: nahoru, domu]

Skip to content

Commit

Permalink
pair_menu: Enable URCC
Browse files Browse the repository at this point in the history
  • Loading branch information
GaryOderNichts committed Jan 9, 2023
1 parent 2aea4e2 commit ce8f578
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pair_menu/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
#include <unistd.h>
#include <cstring>
#include <nsyshid/hid.h>
#include <padscore/wpad.h>

#include <whb/proc.h>
#include <whb/log.h>
Expand Down Expand Up @@ -102,6 +103,10 @@ int main()
{
WHBProcInit();

// Allow connecting pro controllers while in the pairing menu
WPADInit();
WPADEnableURCC(1);

WHBLogConsoleInit();
WHBLogConsoleSetColor(0);
WHBLogPrintf("=== Bloopair USB Controller pairing ===");
Expand Down Expand Up @@ -156,6 +161,7 @@ main_loop: ;

WHBLogConsoleFree();

WPADShutdown();
WHBProcShutdown();
return 0;
}

0 comments on commit ce8f578

Please sign in to comment.