src/video/ataricommon/SDL_biosevents.c
changeset 284 d8b7eae78652
parent 281 c5010ab8ba35
child 297 f6ffac90895c
equal deleted inserted replaced
283:3d8b6b9f1e18 284:d8b7eae78652
   137 		if (bios_currentkeyboard[i] && !bios_previouskeyboard[i])
   137 		if (bios_currentkeyboard[i] && !bios_previouskeyboard[i])
   138 			SDL_PrivateKeyboard(SDL_PRESSED, TranslateKey(i, bios_currentascii[i], &keysym));
   138 			SDL_PrivateKeyboard(SDL_PRESSED, TranslateKey(i, bios_currentascii[i], &keysym));
   139 			
   139 			
   140 		/* Key unpressed ? */
   140 		/* Key unpressed ? */
   141 		if (bios_previouskeyboard[i] && !bios_currentkeyboard[i])
   141 		if (bios_previouskeyboard[i] && !bios_currentkeyboard[i])
   142 			SDL_PrivateKeyboard(SDL_RELEASED, TranslateKey(i, 0, &keysym));
   142 			SDL_PrivateKeyboard(SDL_RELEASED, TranslateKey(i, bios_currentascii[i], &keysym));
   143 	}
   143 	}
   144 
   144 
   145 	AtariXbios_PostMouseEvents(this);
   145 	AtariXbios_PostMouseEvents(this);
   146 
   146 
   147 	/* Will be previous table */
   147 	/* Will be previous table */