Touch API Update

I just checked in an update to the touch API.

The biggest change is that touch coordinates are now normalized in the
0…1 range.
This means that you no longer have to query the touch object to find out
the resolution of the touch area.

Also:

  • Removed unused touchpad concepts from the API
  • Added API functions to get active touch devices and current finger state

Please let me know if I introduced any bugs.

Cheers!
–Sam

Is README.touch up to date with these recent changes?On Sun, Mar 3, 2013 at 4:05 AM, Sam Lantinga wrote:

I just checked in an update to the touch API.

The biggest change is that touch coordinates are now normalized in the
0…1 range.
This means that you no longer have to query the touch object to find out
the resolution of the touch area.

Also:

  • Removed unused touchpad concepts from the API
  • Added API functions to get active touch devices and current finger state

Please let me know if I introduced any bugs.

Cheers!
–Sam


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