๐Ÿ’ซDID YOU KNOW๐Ÿ’ซ
that if you move a mouse cursor fast enough, you can get persistence of vision and, say...
*run a game of Pong inside your mouse's firmware*
๐Ÿ•น๏ธ๐Ÿ•น๏ธ๐Ÿ•น๏ธ๐Ÿ•น๏ธ๐Ÿ•น๏ธ๐Ÿ•น๏ธ๐Ÿ•น๏ธ๐Ÿ•น๏ธ๐Ÿ•น๏ธ
Did this using a Seeed Studio XIAO RP2040 acting as a USB interceptor inside a cheapo HP mouse. Using @adafruit TinyUSB Arduino Library.

all the code and a little explainer up on Github:

https://github.com/dupontgu/pov_pong_mouse/

GitHub - dupontgu/pov_pong_mouse: Implementation of Pong that runs within a mouse's firmware and renders by moving the cursor fast enough to acheive persistence of vision

Implementation of Pong that runs within a mouse's firmware and renders by moving the cursor fast enough to acheive persistence of vision - dupontgu/pov_pong_mouse

GitHub

They tried to shut me down with some sophisticated anti-hacking tech

(Having power/ground mislabeled on their production PCBs??)

@gvy_dvpont
Absolutely cursed and absolutely love it!
@gvy_dvpont I was going to ask if you were using absolute positioning, then I read your writeup to find you are!
@Pheebe yep! I tried years ago with relative (since that was the default in the Arduino mouse lib) but the play box was so small since you can only jump by an 8 bit value each "frame"
lol someone on the other site requested that it do the DVD screensaver thing when it's idle ๐Ÿ˜€
@gvy_dvpont Wait, it knows where the cursor's at in screen space? I would've figured it just sends relative movements, one way. I guess it's acting a little more like a trackpad?
@BHSPitMonkey correct! I used a USB descriptor that defines the mouse as using absolute position.
@gvy_dvpont This made my day. Thank you!
@gvy_dvpont this would actually be a really great and entertaining alternative to things like "caffeine"https://zhornsoftware.co.uk/caffeine/
@gvy_dvpont I wonder how this would look on a passive matrix LCD of yore.
(I could probably set it up... but nah, surely nah.)

@gvy_dvpont
Wow, this is awesome! So you are controlling the "right" cursor with your mouse and playing against an AI?

The obvious question now of course is: Can it run Doom?๐Ÿ™ƒ (Maybe if the cursor is moving really fast?๐Ÿค”)

@gvy_dvpont you're an absolute mad man, and I'm all for it.

This is why we have 160Hz monitors and 12000dpi mice:

Pong in firmware!

@gvy_dvpont

@gvy_dvpont โœจ the more you know โœจ
@gvy_dvpont This is several levels of cursed and I absolutely love it ๐Ÿ˜‚
@gvy_dvpont I wonder what it looks like if you turn mouse acceleration on โ€‹โ€‹
@gvy_dvpont What's the portable monitor?

@danct12 I think it's this one? I got a two for one deal since they both had minor flaws

https://www.amazon.com/Portable-Monitor-4K-3840x2160-Lightwight/dp/B0837HCS15/

Amazon.com

@gvy_dvpont what the hell โ€‹โ€‹
@gvy_dvpont
You could sell this on the Forever Mouseโ„ข store when Logitech launches it.