Touch reporting half coordinates in iOS retina displays?

Hi all,

I’m trying to get a program to run in both iphone retina mode and iPad. It’s pretty much working great except for the fact that in the iOS 5 Simulator for iPhone 4 in retina mode, touch location is halved for both the x and the y coordinates.
Does this happen to anybody else?

Thanks in advance for your time
Joseba

Thanks for your reply :slight_smile:

Hum. I’m not using the latest SDL HG code, but it’s pretty recent.

I’ll see if I can replicate the issue with the latest SDL code.

Jonas Thiem wrote:> I once read Apple does that for old apps since a newer iphone introduced a doubled screen res and they wanted old apps to work.

If SDL is supposed to hide this or not and whether this is the actual source of your problem is beyond my knowledge, maybe someone else can tell more.

Regards,
Jonas Thiem

josebagar <@josebagar> wrote:

Hi all,

I’m trying to get a program to run in both iphone retina mode and iPad.
It’s pretty much working great except for the fact that in the iOS 5
Simulator for iPhone 4 in retina mode, touch location is halved for
both the x and the y coordinates.
Does this happen to anybody else?

Thanks in advance for your time
Joseba


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


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

Fixed!On Wed, Mar 28, 2012 at 8:47 PM, josebagar <joseba.gar at gmail.com> wrote:

**
Hi all,

I’m trying to get a program to run in both iphone retina mode and iPad.
It’s pretty much working great except for the fact that in the iOS 5
Simulator for iPhone 4 in retina mode, touch location is halved for both
the x and the y coordinates.
Does this happen to anybody else?

Thanks in advance for your time
Joseba


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

Oh good. I was hacking it to get things to come out right.

I had hack this as well. Nice to see it fixed :-)On Tuesday, September 18, 2012 at 11:44 AM, Trev wrote:

Oh good. I was hacking it to get things to come out right.


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