Incorrect registry editing can disable your keyboard or mouse.

sudo apt remove interception-tools

Restart your PC. Persistent key remaps should now be gone.