equal
deleted
inserted
replaced
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; |