tastatur / terminal-ide

Automatically exported from code.google.com/p/terminal-ide
0 stars 0 forks source link

How to setup mappings? Cannot find documentation #31

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
 I have an Asus TF201 running ICS. I am trying to remap the Search key on the physical keyboard to work as Left Alt. I open Options > External Keyboard Mappings > Left Alt Key. I have no idea what I am supposed to type in. I tried KEYCODE_SEARCH, SEARCH and 217 (a code I found in /system/usr/keylayout/Generic.kl), to no avail.

In general the problem is that I have not been able to find any documentation 
at all for the program. Does it exist?

Original issue reported on code.google.com by loxim...@gmail.com on 15 Feb 2012 at 1:05

GoogleCodeExporter commented 9 years ago
I found it really easy once I found the built-in instructions. My initial 
screen has the options
of "Terminal IDE, Install system, Shutdown, Keyboard, Options, Help." I clicked 
on Help and
then Keyboard to read the instructions. Note the "Options" button.

I did a few things. I'm not sure how much of this is necessary but it worked 
for me:
1. Enable the Terminal IDE keyboard in Android's settings
2. Enable the keyboard remapping in Options -> External Keyboard Mappings -> 
Keyboard Mappings
3. Run the shell from the "Terminal IDE" button
4. Hit Android's Menu button
5. Select "Toggle Options" -> Toggle Key Logger
6. Don't forget to toggle the key logger off later!
7. Follow the directions and run "tail -f ~/.keylog"
8. Hit a key a few times -- try something bening like right ctrl
9. You should see a whole number repeat
10. Toggle that key logger off
11. Back out to the first menu
12. Select Options -> External Keyboard Mappings
13. Find the Left Alt field and enter the whole number
14. You should be able to return to the terminal (without restarting) and it 
should work

This all worked on my Galaxy w/ keyboard dock. YMMV

Original comment by sanjayra...@gmail.com on 21 Feb 2012 at 7:03

GoogleCodeExporter commented 9 years ago
I can confirm the issue, custom key mappings do not seem to work on the 
Transformer Prime physical keyboard

Original comment by dep...@gmail.com on 5 Mar 2012 at 7:46

GoogleCodeExporter commented 9 years ago
Same for Transformer TF101 - Entering keycode as logged does not work.

Original comment by vtocc...@o2.pl on 29 Mar 2012 at 5:33

GoogleCodeExporter commented 9 years ago
I can confirm this issue for Transformer Pad TF300T

The keylogger reports that the keycode for the Search key is 84. However, 
entering this code into the Hard Mappings does not appear to work. I also 
attempted it with the Right Shift (reported as Keycode 60) with the same effect 
(or lack thereof)

Original comment by jon.d.l...@gmail.com on 2 Jul 2012 at 10:48

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Confirmed working on Galaxy Tab1(GT-P7510) with cheap no-name bluetooth 
keyboard/case purchased onine. Keyboard was missing Page-UP/Page-Down keys and 
was forced to use softkeyboard for paging prior to mapping.
A few notes I wanted to share: 
- You cannot make maps for key combinations that do not exist ie: shift+arrowUp 
or fn+arrowUp if there is no predetermined function to that particular key 
combo. The key logger will just display the keycode for shift and arrow 
keypress seperatly.
- The Fn (function) key does not even report a keycode and does not modify keys 
that do not have a predetermind function.

My particular terminal app that I needed paging via external keyboard did not 
have any functions bound to F11 and F12 (fn+volUp and fn+volDown respectively). 
Keylog reported these as 141 and 142 and seem to work flawlessly when mapped. I 
just wanted to touch on this as I am sure other may try and map non-existant 
key combinations with their particular external keyboards. The only Fn keys I 
have are ofcourse F1-F12.. all other keys on my particular keyboard model I can 
not map as they are standard keys that I use.

Original comment by bkc...@gmail.com on 4 Apr 2013 at 4:05