NJoy test printf spam when not pressing any button fix (by tinctorius)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1844 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
2e9837e564
commit
2d8e15600b
|
@ -666,6 +666,8 @@ void GetJoyState(int controller)
|
||||||
case 'H':
|
case 'H':
|
||||||
printf("We aren't Expecting Hat here!\n");
|
printf("We aren't Expecting Hat here!\n");
|
||||||
break;
|
break;
|
||||||
|
case '\0': // When no button is being pressed
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
printf("Unknown button type %c, number %d, Full %s\n", Type, a, joysticks[controller].buttons[a].c_str());
|
printf("Unknown button type %c, number %d, Full %s\n", Type, a, joysticks[controller].buttons[a].c_str());
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue