how to control pc mouse with arduino leonardo and MPU-6050 gyro

I have been searching in the internet of how to make it, because I am maiking a oculus rift clone. Please help me.