Enabled HIDAPI debug logging for diagnostic purposes

This commit is contained in:
Sam Lantinga
2024-06-12 15:03:14 -07:00
parent 9e3e489012
commit 3e70376bce
2 changed files with 5 additions and 6 deletions

View File

@@ -2008,6 +2008,9 @@ int main(int argc, char *argv[])
/* Enable standard application logging */
SDL_SetLogPriority(SDL_LOG_CATEGORY_APPLICATION, SDL_LOG_PRIORITY_INFO);
/* Enable input debug logging */
SDL_SetLogPriority(SDL_LOG_CATEGORY_INPUT, SDL_LOG_PRIORITY_DEBUG);
/* Parse commandline */
for (i = 1; i < argc;) {
int consumed;