jedivind / terminal-ide

Terminal IDE emulator for Android. Original source: code.google.com/p/terminal-ide
8 stars 3 forks source link

HTC Vision hard keyboard ALT keys do not select alternative keys #34

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Using HTC Vision hard keyboard, press ALT + any other key at the Terminal 
IDE bash prompt

What is the expected output? What do you see instead?

I expect to be able to type the alternate character shown on the key above the 
letter (i.e. 1 for ALT+Q, / for ALT+L, & for ALT+G, * for ALT+H...)  Instead, 
no character is printed.  It looks like Terminal IDE is altering the ALT key 
behavior so that it does not select the key's alternate character.  Here is an 
example of right ALT+L, which should display /:

02-18 16:47:37.859 minal IDE KEY_LOGGER  V  Key Logged : 58
02-18 16:47:38.009 minal IDE KEY_LOGGER  V  Key Logged : 40
02-18 16:47:38.249         SpartacusRex  V  EMVIEW : ALT OFF

Is there a way to let the hard keyboard input not be modified?  I do not have 
any custom key mappings (I even reset them in the Terminal IDE keyboard menu).  

What version of the product are you using? On what operating system?

HTC Vision, CyanogenMod-7.1.0-vision (android 2.3.7), Terminal IDE System 1.95

Please provide any additional information below.

Original issue reported on code.google.com by markwhit...@gmail.com on 18 Feb 2012 at 10:00

GoogleCodeExporter commented 9 years ago
Yeah, I'm having the same problem on a droid 2. It would be nice to add an 
option for the alt key as the escape and control keys, ie, mapping it to vol 
up, camera, etc, since the standard alt key is needed for numbers and symbols 

Original comment by q335...@gmail.com on 18 Feb 2012 at 10:41

GoogleCodeExporter commented 9 years ago
Same problem here.

HTC Desire Z (european HTC Vision), Android 2.3.3

Original comment by nik...@gmail.com on 15 Mar 2012 at 6:00

GoogleCodeExporter commented 9 years ago
I've having the same problem with HTC desire Z.

Original comment by lidongpe...@gmail.com on 17 Mar 2012 at 1:35

GoogleCodeExporter commented 9 years ago
Ditto Droid 3

Original comment by swehar...@gmail.com on 15 Apr 2012 at 1:37

GoogleCodeExporter commented 9 years ago
Same problem here as well

Original comment by SFSUasce...@gmail.com on 19 May 2012 at 7:19

GoogleCodeExporter commented 9 years ago
Same problem here with Samsung Captivate Glide.

Original comment by mikemath...@gmail.com on 8 Jun 2012 at 3:16

GoogleCodeExporter commented 9 years ago
same problem on my both moto droid3 and htc g1 phones, it looks like the 
hardware qwerty keyboard not be supported well.

Original comment by wsam...@gmail.com on 10 Jun 2012 at 2:09

GoogleCodeExporter commented 9 years ago
just find a way to temporary overcome this issue:
1. run telnetd in the terminal ide;
2. use connectbot login into localhost:8080;
3. your hard keyboard just acts well...

Original comment by wsam...@gmail.com on 10 Jun 2012 at 3:13

GoogleCodeExporter commented 9 years ago
My Droid 3 has the same issue. As for the method in comment 8, I tried it and 
the ALT key still didn't do anything (correctly, that is).

Original comment by jyal...@gmail.com on 22 Jun 2012 at 1:05

GoogleCodeExporter commented 9 years ago
Same problem here.. xperia pro :/ :/

Original comment by hsik...@gmail.com on 15 Jul 2012 at 10:34

GoogleCodeExporter commented 9 years ago
Same here on a Jellybean Desire Z. No alt keys makes vim pretty useless since 
we don't have a hardware keyboard to use the soft one.
Please, please fix this

Original comment by da...@grid5.co.uk on 21 Aug 2012 at 8:24

GoogleCodeExporter commented 9 years ago
Any updates?

Original comment by bryan.y...@gmail.com on 10 Oct 2012 at 12:12

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I made a patch to get my keyboard working (samsung captivate glide). This is my 
first patch email me if there is any problem

Original comment by land.h...@gmail.com on 25 Jan 2013 at 3:17

Attachments:

GoogleCodeExporter commented 9 years ago
Cool. I have a glide too, how do you install this patch?

Original comment by leoz...@gmail.com on 25 Jan 2013 at 3:56

GoogleCodeExporter commented 9 years ago
leoz:
The patch file just represents the modified code from the original source. The 
modified files are EmulatorView.java and TermSettings.java. The '+' and '-' 
characters represent added/removed lines. You can apply it with the patch 
command, or by hand.

To install you need to download the terminal ide source apply the patch and 
recompile an apk and copy it to your phone.

Use the Android development kit
http://developer.android.com/sdk/installing/bundle.html to recompile the source 
into an 'apk' which can be installed on your phone.

Original comment by land.h...@gmail.com on 26 Jan 2013 at 3:42

GoogleCodeExporter commented 9 years ago
Land, thanks for the reply! Makes sense, I will try it.

Original comment by leoz...@gmail.com on 27 Jan 2013 at 11:54

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Edit patch and replace with these for xperia mini pro.
                   '|','$','_','=','3','-','+','*','8','#','(',')','~',
                   '\'','9','0','1','4','~','5','7','/','2','%','6','`'

Original comment by schr...@gmail.com on 12 Feb 2013 at 3:15