richtr / Artificial-Horizon

A JavaScript implementation of an Artifical Horizon Instrument
https://richtr.github.io/Artificial-Horizon/
12 stars 5 forks source link

Wrong angle on MacPro #2

Open PixelsCommander opened 9 years ago

PixelsCommander commented 9 years ago

There is a bug when using on MacBook Pro. The issue is described there http://pixelscommander.com/en/interactive-revolution/one-world-one-frontend-or-first-html-aircraft-instrument/

"It is fun to know that deviceOrientation axis for Maс and iOS are swapped. For Mac it detects orientation of keyboard part and for iPad it works for screen ofcourse. So this have to be fixed by userAgent based condition."(c)