How to use the gyroscope?

I want to use the touch LCD to accomplish a display function. Rotate the 3D model 360° on the touch screen by pressing and holding it to view.

Because the touch screen is capacitive and does not have a built-in gyroscope, I want to achieve this function with an external gyroscope module MPU6050.

I have seen the use of MPU6050 to achieve gravity sensing 360 ° rotation.

Although I can also rotate via gravity sensing, I would prefer to rotate by touch screen.

You don’t need an MPU6050 if you are only planning to rotate a 3D model just for viewing by pressing and holding. See, the MPU6050 is only needed when your application involves real-time motion.

I don’t mean click to view, but drag and rotate.