src/events/SDL_keyboard.c
changeset 1283 f214b6fae45a
parent 1282 217f5d5a49e5
child 1312 c9b51268668f
equal deleted inserted replaced
1282:217f5d5a49e5 1283:f214b6fae45a
   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
   509 #if 0
   510 printf("Event didn't change state - dropped!\n");
   510 printf("Keyboard event didn't change state - dropped!\n");
   511 #endif
   511 #endif
   512 		return(0);
   512 		return(0);
   513 	}
   513 	}
   514 
   514 
   515 	/* Update internal keyboard state */
   515 	/* Update internal keyboard state */