Mercurial > sdl-ios-xcode
view src/video/uikit/jumphack.c @ 3079:cfc8b35ad6b1
Fixed haptic subsystem on linux 2.6.28 by lowering the EV_IsJoystick check (seems like some stuff was changed). Shouldn't break anything with earlier versions. Might need to be more robust if false positives show up.
author | Edgar Simo <bobbens@gmail.com> |
---|---|
date | Sat, 21 Feb 2009 18:02:55 +0000 |
parents | f55c87ae336b |
children | e8045ba3f79f |
line wrap: on
line source
/* * jumphack.c * SDLiPhoneOS * */ #include "jumphack.h" /* see SDL_uikitevents.m for more info */ /* stores the information we need to jump back */ jmp_buf env; /* returns the jump environment for setting / getting purposes */ jmp_buf * jump_env() { return &env; }