src/events/SDL_keyboard.c
changeset 1282 217f5d5a49e5
parent 1123 28ac87a38c17
child 1283 f214b6fae45a
equal deleted inserted replaced
1281:644b39bf7253 1282:217f5d5a49e5
   504 			return(0);
   504 			return(0);
   505 	}
   505 	}
   506 
   506 
   507 	/* Drop events that don't change state */
   507 	/* Drop events that don't change state */
   508 	if ( SDL_KeyState[keysym->sym] == state ) {
   508 	if ( SDL_KeyState[keysym->sym] == state ) {
       
   509 #if 0
       
   510 printf("Event didn't change state - dropped!\n");
       
   511 #endif
   509 		return(0);
   512 		return(0);
   510 	}
   513 	}
   511 
   514 
   512 	/* Update internal keyboard state */
   515 	/* Update internal keyboard state */
   513 	SDL_ModState = (SDLMod)modstate;
   516 	SDL_ModState = (SDLMod)modstate;