comparison src/events/SDL_keyboard.c @ 1283:f214b6fae45a

Date: Fri, 14 Jan 2005 21:52:46 +0100 From: "SkunkGuru" Subject: [SDL] Repeated mousemotion event on notebook it seems that every ~500ms something fires a mousemotion event, but with the same x and y position. I tryed with both directx and windib video driver.
author Sam Lantinga <slouken@libsdl.org>
date Sun, 29 Jan 2006 08:18:06 +0000
parents 217f5d5a49e5
children c9b51268668f
comparison
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 */