-
Notifications
You must be signed in to change notification settings - Fork 73
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
X & Y coordinates are swapped #4
Comments
Thanks for writing this comment. MINDdroid was optimized for mobile phones - not for tablets. The app works well on tablets with displays with "portrait" layout, e.g. the Nexus 7 or the first Galaxy Tab. |
Hi, thanks for your response. Do you know how the code might be modified to detect portrait vs. landscape? I am learning android development, and would be happy to help make the code tablet-compatible if someone can steer me in the right direction. I got the code to work on my Asus tablet just by switching the x & y in the sensor event, but a more general solution would be great. |
The problem and its solution is excellently documented at http://developer.download.nvidia.com/tegra/docs/tegra_android_accelerometer_v5f.pdf. |
Awesome, that's exactly what I was looking for. Thanks! I will try some experiments tonight. |
I noticed an issue when running this app on an Asus tablet that the x and y acceleration parameters were swapped.
Shouldn't rotations about the x-axis be reflected as deltas in the Y?
The text was updated successfully, but these errors were encountered: