comparison src/video/ataricommon/SDL_gemdosevents.c @ 284:d8b7eae78652

*** empty log message ***
author Sam Lantinga <slouken@libsdl.org>
date Thu, 21 Feb 2002 21:51:29 +0000
parents c5010ab8ba35
children f6ffac90895c
comparison
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 */