Event.button.which in SDL 1.3

In earlier versions of the SDL 1.3 trunk, I have used the which-attribute in SDL_MouseButtonEvent on the iPhone to distinguish between multitouch events (i.e. to have an index for each finger).

It seems that this is gone now in current trunk. Why? It has worked just fine. What is the replacement?

Thanks,
Albert

it is being reworked by a google summer of code student
we shoud see a merge in August or soOn Sun, Jul 25, 2010 at 6:26 PM, albert wrote:

In earlier versions of the SDL 1.3 trunk, I have used the which-attribute in
SDL_MouseButtonEvent on the iPhone to distinguish between multitouch events
(i.e. to have an index for each finger).

It seems that this is gone now in current trunk. Why? It has worked just
fine. What is the replacement?

Thanks,
Albert


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

SDL without multi-touch-events is pretty much useless for the iPhone/iPad.

When was the latest time where it worked?

I found the commit. It is:

changeset: 4465:3e69e077cb95
user: Sam Lantinga
date: Sun May 09 20:47:22 2010 -0700
files: …
description:
Removed multi-mouse / multi-keyboard support in anticipation of a real multi-mouse and multi-touch API.

Plus, this lets me start implementing cursor support.

I’ll try to go to 4464 and use that one for now.