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

inverted movements on Android 4.1 #21

Closed
jaredrethman opened this issue Sep 6, 2013 · 1 comment
Closed

inverted movements on Android 4.1 #21

jaredrethman opened this issue Sep 6, 2013 · 1 comment

Comments

@jaredrethman
Copy link

Firstly, awesome plugin, have been looking for a parallax effect as smooth as this! Up until now I have always used Cameron Mcefee's https://github.com/cameronmcefee/plax plugin. Which lacked in smart device support...

But I found when using my Galaxy N8000 Android 4.1 OS the movements are inverted I.e. when tilted horizontally the motion detection fires a verticle movement and vise-versa with verticle tilting firing horizontal movements...

Any ideas?

@wagerfield
Copy link
Owner

Hi @Lawless55,

This is really bizarre! The only assumption I can make is that the browser you are using has implemented the beta and gamma properties incorrectly? I am using event.beta for the x input and event.gamma for the y input REFERENCE.

You can read more about the API here.

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

2 participants