Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shift key request as custom extra-keys v0.66 #1038

Closed
iacobucci opened this issue Feb 17, 2019 · 9 comments
Closed

Shift key request as custom extra-keys v0.66 #1038

iacobucci opened this issue Feb 17, 2019 · 9 comments

Comments

@iacobucci
Copy link

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?

@Quasic
Copy link
Contributor

Quasic commented Feb 18, 2019

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?

@ghost
Copy link

ghost commented Feb 18, 2019

@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.

@iacobucci
Copy link
Author

@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

@Quasic
Copy link
Contributor

Quasic commented Mar 2, 2019

There is a PR #417 to add SHIFT

@iacobucci
Copy link
Author

@Quasic Awesome!

@rcmosher
Copy link

rcmosher commented Feb 9, 2020

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

AdamMickiewich pushed a commit to VolyaTeam/dzida-app that referenced this issue Aug 8, 2022
shrihankp pushed a commit to reisxd/termux-app that referenced this issue Oct 20, 2022
@chumaltd
Copy link

chumaltd commented Nov 8, 2022

This feature is great!
Anyone can add next line to https://wiki.termux.com/wiki/Touch_Keyboard ?

*SHIFT ("special key")

Wiki edit requires Administrators privilege.

@Grimler91
Copy link
Member

@chumaltd added, thanks!

@chumaltd
Copy link

chumaltd commented Nov 8, 2022

@Grimler91 Nice work! Thanks a lot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants