comparison src/video/ataricommon/SDL_biosevents.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
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 */