I think that you can use the keyboard key trait (UIAccessibilityTraitKeyboardKey
) on your custom keys to get that behaviour. From docs:
The accessibility element behaves as a keyboard key.
I haven't tried it myself but as far as I know it should change the behaviour of that accessibility element to the typing mode that the user has selected in the rotor, much like the the "allows direct interaction" trait changes how accessibility elements behave.