Minor adjustment for the ring-con example.

This commit is contained in:
yellows8 2020-03-24 22:23:58 -04:00
parent 2ee7aff9e4
commit 2e7d0c198e
No known key found for this signature in database
GPG Key ID: 0AF90DA3F1E60E43

View File

@ -19,7 +19,7 @@ int main(int argc, char **argv)
// take a look at the graphics/opengl set of examples, which uses EGL instead. // take a look at the graphics/opengl set of examples, which uses EGL instead.
consoleInit(NULL); consoleInit(NULL);
printf("\x1b[1;1HPress PLUS to exit."); printf(CONSOLE_ESC(1;1H)"Press PLUS to exit.");
hidScanInput(); // This needs to be used at least once before ringconCreate() since it uses hidGetControllerType() internally. This is only called here since ringconCreate() is called before the main-loop in this example. hidScanInput(); // This needs to be used at least once before ringconCreate() since it uses hidGetControllerType() internally. This is only called here since ringconCreate() is called before the main-loop in this example.