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:
Help with my homebrew - check if NO keys are released
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();...