Mercurial > sdl-ios-xcode
comparison src/video/ataricommon/SDL_biosevents.c @ 1310:a201a8c62522
Add flag to post mouse button events or not, and use defined function to post them
author | Patrice Mandin <patmandin@gmail.com> |
---|---|
date | Tue, 31 Jan 2006 21:33:35 +0000 |
parents | a8068adf156b |
children | c9b51268668f |
comparison
equal
deleted
inserted
replaced
1309:0f00cbbe5792 | 1310:a201a8c62522 |
---|---|
151 if (bios_previouskeyboard[i] && !bios_currentkeyboard[i]) | 151 if (bios_previouskeyboard[i] && !bios_currentkeyboard[i]) |
152 SDL_PrivateKeyboard(SDL_RELEASED, | 152 SDL_PrivateKeyboard(SDL_RELEASED, |
153 TranslateKey(i, bios_currentascii[i], &keysym, SDL_FALSE)); | 153 TranslateKey(i, bios_currentascii[i], &keysym, SDL_FALSE)); |
154 } | 154 } |
155 | 155 |
156 SDL_AtariXbios_PostMouseEvents(this); | 156 SDL_AtariXbios_PostMouseEvents(this, SDL_TRUE); |
157 | 157 |
158 /* Will be previous table */ | 158 /* Will be previous table */ |
159 memcpy(bios_previouskeyboard, bios_currentkeyboard, ATARIBIOS_MAXKEYS); | 159 memcpy(bios_previouskeyboard, bios_currentkeyboard, ATARIBIOS_MAXKEYS); |
160 } | 160 } |
161 | 161 |