Termux-app: Shift key request as custom extra-keys v0.66

Created on 17 Feb 2019  路  6Comments  路  Source: termux/termux-app

I know that since v0.66 you can edit the extra keys row as exposed in https://wiki.termux.com/wiki/Touch_Keyboard.
I immediately came back to the defaut v0.65 layout : ( extra-keys = [['ESC','/','-','HOME','UP','END','PGUP'],['TAB','CTRL','ALT','LEFT','DOWN','RIGHT','PGDN']] ).
nonetheless i couldnt set a key as shift.
i've tried 'SHIFT' or 'SHFT' or 'LSHIFT' but none of theese work.

is shift implemented and if it is what string is it mapped to?

Most helpful comment

I'd find 'SHIFT' very useful to do things like Shift+Tab, which you can't do with a normal mobile keyboard.

All 6 comments

Shift seems more complicated to add, and I don't know if keyboards are able to tell if an outside shift key is pressed by any standard means, so it will show lowercase letters when this shift is pressed for uppercase... Maybe it's not implemented for reasons like these?

@Quasic On my keyboard a key for "uppercase characters" is interpreted as shift in Termux. If this works for all keyboards, then we don't need separate shift key at all.

@Quasic On my keyboard a key for "uppercase characters" is interpreted as shift in Termux. If this works for all keyboards, then we don't need separate shift key at all.

Yeah that modifier works good for shortcuts like SHIFT + 'i' when using vim, however some cli software requires the actual key combinations that check for keyboard input.
For example in gboard when pressing the shift modifier, the top number row becomes a row of symbol keys.
That's why i think it would be interesting to have it separated

There is a PR #417 to add SHIFT

@Quasic Awesome!

I'd find 'SHIFT' very useful to do things like Shift+Tab, which you can't do with a normal mobile keyboard.

Was this page helpful?
0 / 5 - 0 ratings