mpu 6050 to trigger video

1 I could run arduino code to send 12c to mini pc which could trigger video event on pc running MAx or processing?

You might be interested in this project which sends roll, pitch, and yaw data from an MPU-6050 to a Processing program running on a PC.