this post was submitted on 25 Jan 2025
20 points (91.7% liked)

Linux

5875 readers
236 users here now

A community for everything relating to the GNU/Linux operating system

Also check out:

Original icon base courtesy of [email protected] and The GIMP

founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] onlinepersona 2 points 1 week ago* (last edited 1 week ago) (2 children)

I don't understand the setup. Please explain what the raspberry pi pico and an LED have to do with this...

Anti Commercial-AI license

[–] Cirk2 4 points 1 week ago* (last edited 1 week ago) (1 children)

The pi is either emitting a mouse move or detecting one on the physical device and measuring the time that passes until the photo diode/resistor (not an led) is detecting the cursor to move away.

It's essentially the same setup you would use to detect input to photon latency if you don't have a high speed camera.

Edit: Ah no there's another setup with a pi pico in there... Yeah it's binding and LED Lighting up to a button press to have two visual indicators (LED and Cursor Reaction) you can measure using a high speed camera. Them only having a 90fps phone camera makes it means the measurements are only in 11ms increments though.

[–] [email protected] 1 points 1 week ago

will try again with a photodiode instead, since it's known to be a valid way to measure stuff like this, and it seems precise enough at that

if it isn't this, then I'll probably have to dig into libinput or something