add gyro support