kamikaze2002261 / connectbot

Automatically exported from code.google.com/p/connectbot
Apache License 2.0
0 stars 0 forks source link

Droid 4 hardware keyboard shift-number and tab keys not mapped #558

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Good day:

On the Motorola Droid 4, the shift-number characters (!@#$%^&*() from 1 to 0) 
are not mapped in correctly for ssh connections. Trying to use them in a 
'local' connection generates inputs like: ~2 for shift-1, ~3 for shift-2, and 
so forth.

Additionally, the tab key produces no result in ssh nor in local.

I would be happy to run a scancode mapper, if necessary, or provide logcat 
details as appropriate.

Original issue reported on code.google.com by benn.bol...@gmail.com on 11 Feb 2012 at 5:07

GoogleCodeExporter commented 8 years ago
I am having issues with a lack of most of the helper keys mentioned in the 
documentation (as in, the Droid 4 doesn't have them, or if it does I don't know 
what is what) and as such can't enter a number of characters.

It is also funky with the Lapdock (500 at least). The 1-0 and such keys work 
fine with shift, but a number of others either ignore shift or end up with 
entirely incorrect output.

Listing of what I saw with the Lapdock (on a Droid4, probably acts the same on 
other phones like the Razr):

`;[]\ - Shift ignored, should be ~:{}|
,. - Shift gives ;: but should be <>
CTRL - Acts like Menu button
ALT - Gives symbols like shift, but lowercase letters. NOTE: Alt+` gives ~ 
where Shift+` does not.
Couldn't get fn+keys to generate function key hits.

I am also willing to run things like a scancode mapper or similar, on and off 
of the Lapdock.

Original comment by cmptrwz@gmail.com on 12 Feb 2012 at 5:03

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
I, too, would like some fixes for the droid 4. getting the shift-number symbols 
would be great; I would also love to see the pipe '|' symbol. and, being a 
long-time vi user, I really need an escape key!

using the latest version (ConnectBot-git-master-2011-12-19_18-30-54) seems to 
have fixed the tab key problem.

Original comment by ndanie...@gmail.com on 13 Feb 2012 at 8:13

GoogleCodeExporter commented 8 years ago
with a little more playing around, I found that the 'ok' key sends 'ctrl', so 
pressing it twice sends escape.

Original comment by ndanie...@gmail.com on 13 Feb 2012 at 8:30

GoogleCodeExporter commented 8 years ago
Running the keytest application for the number row (1-0)
1234567890
!@#$%^&*()

    code  meta scancode
sym   63     4      162
lsh   59    65       42
tab   61     0       15
mic  111     0       15  (shift-tab)
cap  114            222
1      8     0        2
2      9     0        3
3     10     0        4
4     11     0        5
5     12     0        6
6     13     0        7
7     14     0        8
8     15     0        9
9     16     0       10
0      7     0       11
!      8    65        2  (must hold shift while pressing the number)
@    ... all the rest are the same as above, just with 65 for meta ...

Hope this helps.  Program I used was 
https://github.com/chrisboyle/keytest/downloads, and if necessary I can pull 
the keymap file from the device (or find someone who has rooted it to do so).

Cheers,
--B

Original comment by benn.bol...@gmail.com on 15 Feb 2012 at 6:19

GoogleCodeExporter commented 8 years ago
I'm looking at a Droid 4 for vi operations as well.  I've got an X right now.  
Do you folks know if there is a forum or group of some sort that is into using 
ssh and vi with droids?  Or am I talking to the group? ;-)
I don't imagine the 4 is rooted yet, but I haven't looked into it.  Just 
noticed the same issues with !|, lucked into thrashing the ok twice for esc, 
but haven't figured anything out for !|.  Is there a way we can use the keymap 
info from benn?

Original comment by dons...@gmail.com on 17 Feb 2012 at 1:36

GoogleCodeExporter commented 8 years ago
For those that want/need support for the hardware keyboard right away, the VX 
clone works quite well for me with and without the Lapdock.

Which doesn't mean I am not willing to help get that working in the core here, 
but I figured it is useful information for others fighting with this.

Original comment by cmptrwz@gmail.com on 17 Feb 2012 at 1:41

GoogleCodeExporter commented 8 years ago
Dons - fwiw, vim +ssh, and yes, it is rooted. 

Original comment by benn.bol...@gmail.com on 18 Feb 2012 at 4:06

GoogleCodeExporter commented 8 years ago
I confirm that the vx clone works as expected.

Original comment by benn.bol...@gmail.com on 18 Feb 2012 at 4:59

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
I'm investigating the VX Connectbot app myself. I'm pleased it allows number 
shift to access the usual special keys, and the Droid 4 SYM key works OK for 
the pop-up special character picker. (This latter appears to be "normal" Droid 
4 HW keyboard behavior, though.)

Still, I could wish for actual on-keyboard access to   |{}\ and the like.

On a semi-unrelated questiom, what's the ALT key on the Droid 4 slider 
keyboard? (In either normal or VX Connectbot)

Original comment by jlschun...@gmail.com on 1 Mar 2012 at 4:10

GoogleCodeExporter commented 8 years ago
As far as I know there is no ALT key, quite a glaring omission. I'd probably 
map the CapsLock key for the purpose, since capslock is pretty unnecessary on 
its own.

Original comment by Highland...@gmail.com on 3 Mar 2012 at 7:39

GoogleCodeExporter commented 8 years ago
This seems to be quite a common problem on Android devices with physical 
keyboards. See also Issue#459 for the Asus Transformer, there's a patch posted 
there that works for them. It seems to me this problem should have a generic 
fix though, not a model-specific patch.

Original comment by Highland...@gmail.com on 3 Mar 2012 at 7:43

GoogleCodeExporter commented 8 years ago
My problem is that there is no Shift key on the right side. When I want to 
capitalize a letter on the left side of the keyboard, I have to bend my fingers 
into a pretzel to get it done. I would change that OK key to Shift, but I'm not 
comfortable rooting my phone.

Original comment by ellenfin...@gmail.com on 21 Mar 2012 at 2:36

GoogleCodeExporter commented 8 years ago
I absolutely agree! I HATE not having a shift key on the right side. I'm 
willing to give up the "ok" key (whatever the heck it really is?!) and make it 
into a shift key.

Original comment by debmcl...@gmail.com on 11 May 2012 at 2:15

GoogleCodeExporter commented 8 years ago
The similar phone on Sprint (Motorola Photon Q 4G LTE / xt897) is also affected 
by this.

Original comment by suppress...@gmail.com on 25 Aug 2012 at 7:48

GoogleCodeExporter commented 8 years ago
the key pad does not funtion 2nd key use, and mic is just another google search 
not voice to text, like droid3

Original comment by michaelj...@gmail.com on 17 May 2013 at 11:33

GoogleCodeExporter commented 8 years ago
Just tried this on an Android tablet with a bluetooth keyboard, and the 
shift-<number keys> do not work.  

Original comment by flboiss...@gmail.com on 13 Feb 2015 at 3:36