src/joystick/windows/SDL_dinputjoystick.c
changeset 10821 b0b8395f5cf9
parent 10820 b0559017b1e5
child 11201 813a8510bd0c
equal deleted inserted replaced
10820:b0559017b1e5 10821:b0b8395f5cf9
   361 		static DWORD ignored_devices[] = {
   361 		static DWORD ignored_devices[] = {
   362 			MAKE_TABLE_ENTRY(0, 0)
   362 			MAKE_TABLE_ENTRY(0, 0)
   363 		};
   363 		};
   364 #undef MAKE_TABLE_ENTRY
   364 #undef MAKE_TABLE_ENTRY
   365 		unsigned int i;
   365 		unsigned int i;
   366 		SDL_bool should_ignore = SDL_FALSE;
       
   367 
   366 
   368 		for (i = 0; i < SDL_arraysize(ignored_devices); ++i) {
   367 		for (i = 0; i < SDL_arraysize(ignored_devices); ++i) {
   369 			if (pdidInstance->guidProduct.Data1 == ignored_devices[i]) {
   368 			if (pdidInstance->guidProduct.Data1 == ignored_devices[i]) {
   370 				return DIENUM_CONTINUE;
   369 				return DIENUM_CONTINUE;
   371 			}
   370 			}