Revert "Revert "增加重力感应""

This reverts commit 2654bdd21460594c9b756dd6af4a8ed368ba81d3.
增加重力感应支持
完善重力感应