Quantcast
Channel: 3DS - Homebrew Development and Emulators
Viewing all articles
Browse latest Browse all 31769

Help with my homebrew - check if NO keys are released

$
0
0
So I've been working on a homebrew app for my robotics project but I don't know how to check if NO keys are pressed so it can send the "Stop" command to a web server. Here's the code:

Code:
int main()
{
    gfxInitDefault();
    consoleInit(GFX_TOP,NULL);
    printf("Start pressing buttons\n");
    u32 actionOld = 0;
    // Main loop
    while (aptMainLoop())
    {
        gspWaitForVBlank();
        hidScanInput();
        u32 kDown = hidKeysDown();
        u32 kUp = hidKeysUp();...
Help with my homebrew - check if NO keys are released

Viewing all articles
Browse latest Browse all 31769

Trending Articles