I have defined keys for keyboard actions to provide keyboard input. Sometimes after booting they work, sometimes not. If I go to Region and Accessibility/input actions, just go there but change nothing, then exit that screen, the defined keys work as they should.

Any suggestions on how to get the keys to work consistently?
Tom