MPU6050toMouse translates MPU6050 gyroscope signal to mouse move compile using: cc MPU6050.c -lwiringPi -lxdo -0 MPU6050