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