comparison src/video/ataricommon/SDL_gemdosevents.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
156 if (gemdos_previouskeyboard[i] && !gemdos_currentkeyboard[i]) 156 if (gemdos_previouskeyboard[i] && !gemdos_currentkeyboard[i])
157 SDL_PrivateKeyboard(SDL_RELEASED, 157 SDL_PrivateKeyboard(SDL_RELEASED,
158 TranslateKey(i, gemdos_currentascii[i], &keysym, SDL_FALSE)); 158 TranslateKey(i, gemdos_currentascii[i], &keysym, SDL_FALSE));
159 } 159 }
160 160
161 SDL_AtariXbios_PostMouseEvents(this); 161 SDL_AtariXbios_PostMouseEvents(this, SDL_TRUE);
162 162
163 /* Will be previous table */ 163 /* Will be previous table */
164 memcpy(gemdos_previouskeyboard, gemdos_currentkeyboard, ATARIBIOS_MAXKEYS); 164 memcpy(gemdos_previouskeyboard, gemdos_currentkeyboard, ATARIBIOS_MAXKEYS);
165 } 165 }
166 166