I had some idea in this regard: either remap physical buttons
(Volume-up/volume-down) or toolbar icons to modifiers/prefix keys. For
the toolbar, you could put it in bottom position (Po Lu added support
for this recently in feature/android) so that it would behave similarly
to the modifiers bar in Termux.