src/video/ataricommon/SDL_gemdosevents.c
changeset 284 d8b7eae78652
parent 281 c5010ab8ba35
child 297 f6ffac90895c
equal deleted inserted replaced
283:3d8b6b9f1e18 284:d8b7eae78652
   142 		if (gemdos_currentkeyboard[i] && !gemdos_previouskeyboard[i])
   142 		if (gemdos_currentkeyboard[i] && !gemdos_previouskeyboard[i])
   143 			SDL_PrivateKeyboard(SDL_PRESSED, TranslateKey(i, gemdos_currentascii[i], &keysym));
   143 			SDL_PrivateKeyboard(SDL_PRESSED, TranslateKey(i, gemdos_currentascii[i], &keysym));
   144 			
   144 			
   145 		/* Key unpressed ? */
   145 		/* Key unpressed ? */
   146 		if (gemdos_previouskeyboard[i] && !gemdos_currentkeyboard[i])
   146 		if (gemdos_previouskeyboard[i] && !gemdos_currentkeyboard[i])
   147 			SDL_PrivateKeyboard(SDL_RELEASED, TranslateKey(i, 0, &keysym));
   147 			SDL_PrivateKeyboard(SDL_RELEASED, TranslateKey(i, gemdos_currentascii[i], &keysym));
   148 	}
   148 	}
   149 
   149 
   150 	AtariXbios_PostMouseEvents(this);
   150 	AtariXbios_PostMouseEvents(this);
   151 
   151 
   152 	/* Will be previous table */
   152 	/* Will be previous table */