[android-porting] Gyros landscape axle inverted

2011-01-25 Thread Pajn
I'm porting 2.1 to my 1.5 device and when I copied the gyro driver from 1.5 to 2.1 it works somewhat. Portrait (normal + upside down) is correct but in landscape it's always upside down (if I turn the device clockwise it will turn the picture counter clockwise and vise versa) Is it possible to fix

Re: [android-porting] Gyros landscape axle inverted

2011-01-25 Thread Chinmay S
Hi, Looks like you are referring to the auto-rotate feature of android. It is dependent on the accelerometer values. (NOT gyroscope). As it so very often happens, the accelerometer-IC is mounted in different position/orientation on different devices. This introduces the need to remap the axes.