src/video/gem/SDL_gemevents.c
branchSDL-1.2
changeset 6572 0d391c407a4f
parent 6137 4720145f848b
child 6582 8b7e21749630
equal deleted inserted replaced
6563:ba187d0466e6 6572:0d391c407a4f
   112 
   112 
   113 		/* Keyboard event ? */
   113 		/* Keyboard event ? */
   114 		if (resultat & MU_KEYBD) {
   114 		if (resultat & MU_KEYBD) {
   115 			if ((prevkc != kc) || (prevks != kstate)) {
   115 			if ((prevkc != kc) || (prevks != kstate)) {
   116 				do_keyboard(kc,kstate);
   116 				do_keyboard(kc,kstate);
       
   117 				prevkc = kc;
       
   118 				prevks = ks;
   117 			} else {
   119 			} else {
   118 				/* Avoid looping, if repeating same key */
   120 				/* Avoid looping, if repeating same key */
   119 				break;
   121 				break;
   120 			}
   122 			}
   121 		}
   123 		}