Awesome...
Care to share the video/code? ~~I actually have something similar (Corsair Scimitar's macro customizer doesn't work on Linux~~
As I was writing this I found a project that deals with Corsair MMO mice on Linux so now I will be going on an egg hunt.
pasting from my keybind config
I just pipe grim and slurp (i.e. select part of the Wayland screen then copy) into a temporary png, tesseract it into the clipboard, then delete the temporary png.
edit: clarified