iOS: Tilt Device vs Joystick

If I’m wrong in assuming this, ignore the text to follow: I’m guessing that tilting a device will send a joystick event. It’d be nice if this was a separate event, as acting like a joystick removes a bit of flexibility.

[>] Brian

I agree, Im in favor of creating a “SDL_Accelerometer” and use float values instead of a buttonless joystick axis adaptation.

Brian Barnes wrote:> If I’m wrong in assuming this, ignore the text to follow: I’m guessing that tilting a device will send a joystick event. It’d be nice if this was a separate event, as acting like a joystick removes a bit of flexibility.

[>] Brian


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org