August 8th, 2024

Mouse Pong: play a game from mouse's firmware with persistence of vision cursor

The "pov_pong_mouse" project transforms a standard mouse into a Pong game controller using firmware, requiring a Seeed Studio XIAO RP2040 board and setup through the Arduino IDE.

Read original articleLink Icon
Mouse Pong: play a game from mouse's firmware with persistence of vision cursor

The "pov_pong_mouse" project is a unique implementation of a Pong game that operates within a mouse's firmware. The game is activated and deactivated by clicking the scroll wheel, while the mouse retains its standard functionality. The score is indicated by the cursor's position between two paddles, with proximity to a paddle reflecting the player's score. The project requires a Seeed Studio XIAO RP2040 development board, which serves as a custom USB device and host. The USB connection from a low-cost HP mouse is modified to connect to the XIAO's USB port, enabling it to intercept and control mouse movements. The firmware emulates an absolute positioning mouse, allowing it to send precise cursor positions, creating the illusion of simultaneous cursor locations. To set up the project, users need to gather the necessary hardware, configure the Arduino IDE, install specific libraries, and ensure proper USB pin connections. The project exemplifies an innovative fusion of hardware and software, transforming a standard mouse into an interactive gaming device.

- The project allows a mouse to play a Pong game using its firmware.

- It requires a Seeed Studio XIAO RP2040 development board for operation.

- The game is controlled via the mouse's scroll wheel and cursor movements.

- Setup involves configuring the Arduino IDE and installing necessary libraries.

- The project showcases creative hardware-software integration.

Link Icon 8 comments
By @rob74 - 2 months
The ideas people come up with never cease to amaze me...
By @nottorp - 2 months
:( It doesn't run on the actual mouse's firmware, it has an extra RP2040 inserted between the mouse board and the computer.

Still nifty though.

By @TimTheTinker - 2 months
This is a great hack. Very nice!
By @bmacho - 2 months
Great idea, and it is nice to see it on video!

The advertising about it is bad tho, it doesn't suggest that you have a specially crafted mouse for it, it suggests otherwise.

By @Terretta - 2 months
Gives that lovely simple analog vibe of the 70s vector graphics from the Cinematronics games era.
By @fourteenfour - 2 months
Neat, you could pair this with a paint program and display vector graphics.
By @cpeth - 2 months
Ok cool but but now we need the obvious next step...

Can it run and render Doom?

By @zeroq - 2 months
Brilliant!