What you're saying here may be a valid concern, I don't know. I gotta say though, the way you're presenting it discourages people from taking you seriously.
The dramatic language, exclamation points everywhere, the OVERUSE of ALL CAPS for EMPHASIS and so on makes this feel like some Qanon nonsense from Aunt Karen, and the eyes glaze over very quickly while trying to decipher it.
Just a friendly note for future posts, you can take it or leave it.
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.