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

[FR] Use system (or hardware) keyboard first #8

Closed
sergey1369 opened this issue Aug 13, 2020 · 7 comments
Closed

[FR] Use system (or hardware) keyboard first #8

sergey1369 opened this issue Aug 13, 2020 · 7 comments
Assignees
Labels
enhancement New feature or request

Comments

@sergey1369
Copy link

Please add an option to use system (hardware) keyboard first.

Someone may want use MessagEase by default, it has ctl/esc keys and is far more convenient
for one hand input. Also there are bluetooth/deskdock keyboards, which do not use screen space.

@green-green-avk green-green-avk self-assigned this Aug 13, 2020
@green-green-avk green-green-avk added the enhancement New feature or request label Aug 13, 2020
@green-green-avk
Copy link
Owner

How critical is the Home key support?
Do deskdocks of some Android devices has proper Home mapping that makes it visible for applications?
Is there some reason to implement own keyboard driver to make Home properly functioning for all Android devices?

@sergey1369
Copy link
Author

Oh, this fancy button, it is not really needed. There is linux shortcut CTRL-A for bash.

@guillaume-d
Copy link

Someone may want use MessagEase by default, it has ctl/esc keys and is far more convenient
for one hand input. Also there are bluetooth/deskdock keyboards, which do not use screen space.

Hardware keyboard user here! I understand supporting these may be (very) low priority given the small user base and the difficulty to test without real hardware, but maybe the following could be done:

  1. concerning this bug: detect external/hardware keyboard configuration changes (see https://developer.android.com/guide/topics/manifest/activity-element#config and for example https://developer.android.com/reference/android/content/res/Configuration#HARDKEYBOARDHIDDEN_NO) to make the virtual keyboard (dis)appear when appropriate
  2. maybe related: ATM I have to change the default input method away from "Samsung keyboard" (to "Swype") in the Android settings for letters not to be input twice when typing on the hardware keyboard (only had this problem with AnotherTerm so far)

@green-green-avk
Copy link
Owner

2. maybe related: ATM I have to change the default input method away from "Samsung keyboard" (to "Swype") in the Android settings for letters not to be input twice when typing on the hardware keyboard (only had this problem with AnotherTerm so far)

What Samsung exactly do you mention? I did some tests with a hardware keyboard but it's a new information for me.
Did you experience it with any other Terminal applications?

@guillaume-d
Copy link

guillaume-d commented Aug 16, 2020

The hardware-keyboard-equipped device is a Samsung Galaxy Stratosphere II (AKA SCH-I415) with Android 4.1.2 (not rooted).

The problem only occurs with AnotherTerm AFAICS, at least the following apps are fine (I linked where I got them from):

green-green-avk added a commit that referenced this issue Aug 30, 2020
`Use system software keyboard by default' option
@green-green-avk
Copy link
Owner

@sergey1369
Copy link
Author

Now works great! Thank you!

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

No branches or pull requests

3 participants