MPU 6050 Sensor

I just got a MPU 6050 gyro/accelerometer/temperature sensor for mouse control from amazon Amazon.com
I want to use the gyro part of this sensor to track the where a nerf gun is pointing controlling the mouse of the computer with an arduino leonardo. How can I get the tilt values out of the gyro without lots of coding. All of the examples I have seen utilize extra files that have to be compiled into the code... All help is appreciated!
Thanks,
L

How can I get the tilt values out of the gyro without lots of coding

If you don't want to write code, buy a pre built commercial product.

Also, you could just Google the question, Top result was on this site

http://playground.arduino.cc/Main/MPU-6050

and

http://arduino.cc/en/Reference/MouseKeyboard

without lots of coding

But that's half the fun !