add gyro and compass support