Added gravity support.
Merged with PC.
Added GSensor support.