Mercurial > sdl-ios-xcode
comparison src/events/SDL_events.c @ 4642:057e8762d2a1
Added reading of event* for touch events.
author | Jim Grandpre <jim.tla@gmail.com> |
---|---|
date | Fri, 28 May 2010 01:26:52 -0400 |
parents | 363604b42e84 |
children | eed063a0bf5b |
comparison
equal
deleted
inserted
replaced
4641:49a97daea6ec | 4642:057e8762d2a1 |
---|---|
252 | 252 |
253 /* Initialize event handlers */ | 253 /* Initialize event handlers */ |
254 retcode = 0; | 254 retcode = 0; |
255 retcode += SDL_KeyboardInit(); | 255 retcode += SDL_KeyboardInit(); |
256 retcode += SDL_MouseInit(); | 256 retcode += SDL_MouseInit(); |
257 retcode += SDL_TouchInit(); | |
257 retcode += SDL_QuitInit(); | 258 retcode += SDL_QuitInit(); |
258 if (retcode < 0) { | 259 if (retcode < 0) { |
259 /* We don't expect them to fail, but... */ | 260 /* We don't expect them to fail, but... */ |
260 return (-1); | 261 return (-1); |
261 } | 262 } |