diff --git a/Source/Plugins/Plugin_nJoy_Testing/Src/nJoy.cpp b/Source/Plugins/Plugin_nJoy_Testing/Src/nJoy.cpp index 5dec6634c9..397a111e71 100644 --- a/Source/Plugins/Plugin_nJoy_Testing/Src/nJoy.cpp +++ b/Source/Plugins/Plugin_nJoy_Testing/Src/nJoy.cpp @@ -666,6 +666,8 @@ void GetJoyState(int controller) case 'H': printf("We aren't Expecting Hat here!\n"); break; + case '\0': // When no button is being pressed + break; default: printf("Unknown button type %c, number %d, Full %s\n", Type, a, joysticks[controller].buttons[a].c_str()); break;