Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4954

Python • Re: How do I use mpu6050 data in raspberry pi to move mouse cursor?

$
0
0
The sample I provided does not use a MPU, but just is a pygame project which moves a cursor. I had to click into the pygame window 'to make it active' to have the cursor appear.
Possibly this small program is not yet perfect; perhaps someone else can give more support for the pygame part.

Next step for you is to integrate your MPU code into the MousePosition-class.

Statistics: Posted by ghp — Sat Aug 03, 2024 5:12 pm



Viewing all articles
Browse latest Browse all 4954

Trending Articles