

Your original post doesn’t say Fahrenheit anywhere though. I mean, I’m a USian so I knew what you meant by “freedom degrees” but I don’t think it’s fair to act like everyone in the world who might see this post would know that phrase means Fahrenheit.
Dunno if it would meet your needs, but I’ve been using Input Remapper for binding macros to various key presses and mouse buttons under Wayland. It does prompt for root access, but it’s a GUI. It supports any input method, as far as I can tell. It even supports my tablet.
I use it to bind stuff like
hold(key(BTN_LEFT).wait(100))
to some button to repeatedly left click while I’m holding that button down.