Making a Flute-Controlled Mouse

# · ✸ 56 · 💬 25 · 17 days ago · 0110.be · kaycebasques · 📷
Recently I came across this surprising interface: a flute controlled mouse cursor for a first person shooter. Vid: a microcontroller controlling mouse movements based on pitch detection. Finally we need to play a flute, preferably a recorder, to move the mouse cursor in an obviously superior and relaxed fashion. A portable way to move a mouse cursor is to let a micro-controller impersonate as a standard mouse, a 'USB Human Interface Device'. Once the micro-controller is attached via USB it registers as a mouse and allows to move the cursor and register click events. Sending mouse events from your code looks, for example, like ` Mouse. To give a sens of the difference in speed between fixed point and floating point operations on the RP2040: with the default arduino build process, a million floating point operations take over 883 000 microseconds, a million fixed point operations take 8 microseconds.
Making a Flute-Controlled Mouse



Send Feedback | WebAssembly Version (beta)