aboutsummaryrefslogtreecommitdiff
path: root/system/include/SDL
AgeCommit message (Collapse)Author
2014-06-10Rename SDL_SetEventHandler from previous commit to ↵Jukka Jylänki
emscripten_SDL_SetEventHandler to reflect that this is our extension, and add comments.
2014-06-10Added an additional call: `SDL_SetEventHandler()` to SDL.Michael Bishop
This is not in the official API but it is needed for Mozilla Persona, which makes sure an event handler is on the stack when `navigator.id.request()` is called. Using the standard SDL api, this can never be the case because an SDL app retrieves events from SDL’s event queue independently of when those events are added to the queue (through event handlers that SDL itself registers). With this additional call, apps can receive events directly in response to an actual event handler which will still be on the stack when the event is handled by the SDL-based application.
2014-04-13Added preliminary support for the SDL2 touch api. Missing items:Michael Bishop
1. Timestamps 2. TouchID (the Device ID) As inline with the SDL spec, we will pass a touch ID of `SDL_TOUCH_MOUSEID` for touch events that are simulated by the mouse so games can rely solely on touch events if they like. Includes the SDL2 Copyright notice on the headers that contain SDL2 content. Includes a fix to SDL_PeepEvents.
2014-02-25Begin using the Emscripten toolchain in clang.Dan Gohman
With the Emscripten toolchain, we can make clang do more of what we need directly rather than in the wrapper scripts.
2013-10-30Fix SDL_SetColors && SDL_envetsAleksander Guryanov
2013-07-09Bunch of changes to support Syobon Action.Jez Ng
2012-11-12zoomSurface support; fixes #673Alon Zakai
2012-03-23alter SDL scancode mask, to help older SDL apps workAlon Zakai
2012-03-19add SDL_gfxPrimitives.hAlon Zakai
2012-03-19add SDL mixer and ttf headersAlon Zakai
2012-03-15almost working SDL_image test, just need async decodingAlon Zakai
2011-12-17fix SDL_MUSTLOCKAlon Zakai
2011-12-10SDL headers fixAlon Zakai
2011-10-20SDL headers fixAlon Zakai
2011-10-06SDL header fixAlon Zakai
2011-10-06SDL 1.3 headersAlon Zakai