Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Coordinates bigger than 768 are discarded #4

Open
autresphere opened this issue Feb 12, 2014 · 11 comments
Open

Coordinates bigger than 768 are discarded #4

autresphere opened this issue Feb 12, 2014 · 11 comments

Comments

@autresphere
Copy link

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

@iolate
Copy link
Owner

iolate commented Feb 12, 2014

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

@autresphere
Copy link
Author

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.

@iolate
Copy link
Owner

iolate commented Feb 12, 2014

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.

@autresphere
Copy link
Author

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

@iolate
Copy link
Owner

iolate commented Feb 12, 2014

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.

@autresphere
Copy link
Author

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.

@iolate
Copy link
Owner

iolate commented Feb 12, 2014

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.

@autresphere
Copy link
Author

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.

@acer915
Copy link

acer915 commented Apr 7, 2014

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

@iolate
Copy link
Owner

iolate commented Apr 7, 2014

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.

@Adolfoi
Copy link

Adolfoi commented May 22, 2014

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants