Input system ingores keycodes redirects
Using gsettings set org.gnome.desktop.input-sources xkb-options "['caps:escape']"
in Ubuntu 20.04, I have caps-lock set to act as escape. In OpenMW, the caps-lock key is still behaving as it normally does, toggling the always-run state.
Edited by Andrei Kortunov