Bouquins Indeed, that seems a lot different from my problem. However my keyboard was working fine when this happened and I could still open other programs, switch to diff tty, use alt+f2 to open things fast..etc
I was also opening a game with lutris when this problem last occurred and my browser in the background with a terminal on the side, maybe steam or discord opened as well(can't say for sure) but nothing that would point me to the problem , other than having 2 mouses connected witch was working fine for me until few days ago. I would love to help you with fixing this but it seems we have 2 different kind of problems completely, and if installing Nomacs helped you so far I wouldn't be worried and just make it my preferred image viewer. Hope you figure it out, and do share if you do ! 🙂
Edit: For the record I use Budgie DE!