want the code for gesture control keyboard

I tried interfacing MPU-6050 with arduino pro micro but the thing is I am getting the output as -1-1-1-1-1
on the serial monitor.please respond me with some solution.The code which I am running is attached below.Added a Basic Arduino Sketch without Bluetooth · federico-terzi/gesture-keyboard@83bba3a · GitHub

Are you sure you have it wired correctly? It appears you are reading back all 1's which usually indicates nobody it talking on the i2c bus while you are reading it.

That code never checks the return value of Wire.endTransmission() so how to you know if it is working or not.

I am new to arduino platform so I am not familiar with the connections,but I have one video where the connection has been given in the link. I just rig up the circuit after seeing the video.
So, I am just requesting you to help me in finding whether the connection made by me is correct or not.

The video link is provided below:

The pin details are attached below as an image,please reply with some solution for this problem if any.

Have you read this Arduino Playground - MPU-6050