SimulateTouch icon indicating copy to clipboard operation
SimulateTouch copied to clipboard

Coordinates bigger than 768 are discarded

Open autresphere opened this issue 11 years ago • 11 comments

Hi,

It seems touch coordinates bigger than 768 are discarded whatever the orientation is. On a jailbreaked iPad (non retina), if you launch a Draw app in landscape mode, and try '/usr/bin/stouch touch 768 300 3', no point is drawn while '/usr/bin/stouch touch 767 300 3' draws the expected point.

Any idea how to fix that?

Thanks for your help

autresphere avatar Feb 12 '14 09:02 autresphere

It works perfect on my iPad mini 1(non retina).

iolate avatar Feb 12 '14 09:02 iolate

Are you on iOS7? Whatever I try, there is always this limit on my iPad2 iOS7. I've added some log inside SendTouchesEvent in SimulateTouch.mm to check rX and rY, but they are correct. Any idea?

Thanks for your help.

autresphere avatar Feb 12 '14 16:02 autresphere

Of course, I'm iOS7 too.

I don't know why... Is there any error log on your device's syslog?

    1. 13., 오전 1:14, Philippe Converset [email protected] 작성:

Are you on iOS7? Whatever I try, there is always this limit on my iPad2 iOS7. I've added some log inside SendTouchesEvent in SimulateTouch.mm to check rX and rY, but they are correct. Any idea?

Thanks for your help.

— Reply to this email directly or view it on GitHub.

iolate avatar Feb 12 '14 16:02 iolate

No there is nothing on the syslog apart for my specific log that prints the coordinates.

autresphere avatar Feb 12 '14 17:02 autresphere

Hmm,,,

what is the app that you tested?

    1. 13., 오전 2:07, Philippe Converset [email protected] 작성:

No there is nothing on the syslog apart for my specific log that prints the coordinates.

— Reply to this email directly or view it on GitHub.

iolate avatar Feb 12 '14 17:02 iolate

It's not related to the app. The event seems to be "simply" discarded whether I try on a draw app or on the photo app. On the photo app, a touch with coordinates below 768 toggles the toolbar as expected, while a touch with coordinates bigger than 768 does nothing.

autresphere avatar Feb 12 '14 17:02 autresphere

In my device, It works perfectly so I cannot help you.

Check your version of SimulateTouch again. 0.7-13 from BigBoss is latest.

    1. 13., 오전 2:48, Philippe Converset [email protected] 작성:

It's not related to the app. The event seems to be "simply" discarded whether I try on a draw app or on the photo app. On the photo app, a touch with coordinates below 768 toggles the toolbar as expected, while a touch with coordinates bigger than 768 does nothing.

— Reply to this email directly or view it on GitHub.

iolate avatar Feb 12 '14 17:02 iolate

I've just restored then reinstalled from scratch Cydia, SSH Connect and SimulateTouch on the same iPad iOS7. But unfortunately, the issue is still there. I might try later on a different iPad or iPhone.

autresphere avatar Feb 12 '14 18:02 autresphere

I have same issue

iPad2 iOS7 can't send touch coordinates bigger than 768, but other device is ok.

Any idea how to fix that?

Thanks for your help

acer915 avatar Apr 07 '14 05:04 acer915

Hmm,,

I don't know why..

Sorry :(

    1. 7., 오후 2:56, acer915 [email protected] 작성:

I have same issue

iPad2 iOS7 can't send touch coordinates bigger than 768, but other device is ok.

Any idea how to fix that?

Thanks for your help

— Reply to this email directly or view it on GitHub.

iolate avatar Apr 07 '14 05:04 iolate

Hi everyone. I also found the same problem today. The iPad mini 1st in iOS7 me, I will work fine for sure. However, in iPad 2 in iOS7 me, is not recognized only up to the middle.

It is thought that it is a thing due to the difference in the orientation of the iPad series probably this.

In other words, is that it is considered that the orientation of the screen at the time of the image recognition perhaps is different is the cause. That there is a difference by iPad series has been confirmed this.

Thanks in advance.

Adolfoi avatar May 22 '14 08:05 Adolfoi