12-02-2011, 07:22 PM | #1 |
Enthusiast
Posts: 25
Karma: 582
Join Date: Jul 2011
Device: Entourage Pocket Edge, Entourage Edge
|
How to map android keys to your usb/bluetooth keyboard
I couldn’t tell if this was covered in another post, so I thought I would pass it on.
If you are using an external keyboard (via Bluetooth or usb), you may find that certain basic android key events (home, back and menu) are either missing or not logical. In my case, my Bluetooth keyboard had no way to return home or open menus for apps, requiring me to use both the edge hardware keys as well as the keyboard. To address this, you can try the following: NOTE: While this worked for me, I can’t guarantee results for other keyboards. And, as always, back up files before making any changes. Before you start, here are some helpful tools/links:
key 165 HOME On my keyboard, this would mean that hitting fn + F7 (which generates a scancode of 165) will do the same as hitting the "home" key. 8. Save your modified “qwerty.kl” file in the same location as it was (/system/usr/keylayout) and reboot. If all goes well, the next time you connect your keyboard you should be able to finally access all those important functions with logical (at least to you) keys. *NOTE: You cannot use the same scancode number more than once!! If you do, your external keyboard will stop responding. Your edge software keyboard should work fine, so you should be able to recover your backup file and fix it. Also, you can generally only map keys to normal keyboard activities (like DEL) or events that the edge has hardware keys for (MENU, BACK, HOME, SEARCH, VOLUME_UP , VOLUME_DOWN and the DPAD directions). While it would be nice to map a keystroke to automatically open email or the camera, those types of mappings do not appear to actually end up doing anything. As long as you have a backup you can probably play around without serious consequences. |
12-03-2011, 02:32 AM | #2 |
Armed with a smile :)
Posts: 1,421
Karma: 2463560
Join Date: Sep 2009
Location: California, USA
Device: enTourage eDGe & Pocket eDGe, Samsung Galaxy Note II
|
Thank you for taking the time to write this out so clearly, Solarbanjo!
|
Advert | |
|
12-03-2011, 10:27 AM | #3 |
Junior Member
Posts: 6
Karma: 10
Join Date: Jun 2011
Device: Kindle Paperwhite, enTourage eDGe
|
Just finished trying it. Success! This was a big pain for me when using keyboards in general. Especially since it seems the default mapped "back" key (Escape) is not a true "back" command.
|
12-05-2011, 10:41 PM | #4 |
Guru
Posts: 733
Karma: 443
Join Date: May 2011
Location: UK
Device: Pocket Edgex2(1unborked), Alex, Nook B&W, Nook Color, Nook STR
|
I found a cheap with touchpad which works fine with out edge.
http://www.ebay.co.uk/itm/Point-882T...item27beb4ddcd |
01-10-2012, 08:37 PM | #5 |
ex se ens
Posts: 348
Karma: 1020253
Join Date: Jun 2011
Location: Italy
Device: enTourage edge & Pocket, Sony T1, Galaxy Note I, ex many others
|
Hi there! Greetings to my ol' companions from the original forum, I see some of you are still very active here. Glad to see it. :-)
As every non english user I have troubles using external keyboards with both edge & pocket: every key will appear as if it's from the english layout keyboard. Thanks to this post I understood I'd need to change the mapping, but like stated here: forum.xda-developers.com/showthread.php?t=1336114 there seems to be no need to have a rooted device, or at least I hope so, because I would like to minimize every risk with my loved devices, I have no time and skills to go trial and error with Android. WHAT DO YOU THINK of this tutorial? Do you agree on what's told there? Also I dont understand how comes that no one fixes this problem with generic android devices. Are there so few non english androd users, who use external keyboards? Thanks! Lor |
Advert | |
|
01-19-2012, 08:03 PM | #6 |
Enthusiast
Posts: 26
Karma: 82
Join Date: Sep 2007
Location: Freiburg, Germany
Device: HanLin V3 with Vizplex? Hmmmmmm...
|
I just wanted to say thank you VERY much for taking the time to present this simply and concisely. The information you laid out here was exactly what I was looking for and my newly mapped keys are already working brilliantly - I'm zipping around my device like a champ now thanks to you.
fjell One more quick note to the OP: Everything was exactly for me as you said it was apart from one thing: the combination of ALT and SHIFT keys in the KeyTest program. In my case, when I press the SHIFT key I get a number, say 58, and when I press G, I get another number, say, 40, but when I press them combined, I still only get either 58 or 40, not some unique combined scancode which I can use for custom mapping. Thx. p.s. Does anyone know of Keycodes for either a) opening the App Drawer, b) opening the notification window, or c) Select All (copy and paste work fine for me but not select all) Last edited by fjell_strom; 01-19-2012 at 08:31 PM. |
01-19-2012, 08:08 PM | #7 |
Enthusiast
Posts: 26
Karma: 82
Join Date: Sep 2007
Location: Freiburg, Germany
Device: HanLin V3 with Vizplex? Hmmmmmm...
|
@loren - btw - I am using a non-English (in fact it's German qwertz) Bluetooth keyboard and have mapped all keys myself. It is a long, painful process, but I can tell you, once you've done it, it's a dream come true. I don't have time to go into it in complete detail, but changing single letters or symbols on your keyboard for others is actually done in .kcm files and not the .kl files mentioned by the original poster of this thread.
|
01-19-2012, 08:28 PM | #8 |
Enthusiast
Posts: 26
Karma: 82
Join Date: Sep 2007
Location: Freiburg, Germany
Device: HanLin V3 with Vizplex? Hmmmmmm...
|
double post
Last edited by fjell_strom; 01-19-2012 at 08:33 PM. |
01-20-2012, 08:19 PM | #9 |
Connoisseur
Posts: 54
Karma: 62
Join Date: Dec 2011
Device: Entourage Pocket Edge Golden-Allmine-Ermine-rc3
|
|
01-27-2012, 01:41 PM | #10 | |
ex se ens
Posts: 348
Karma: 1020253
Join Date: Jun 2011
Location: Italy
Device: enTourage edge & Pocket, Sony T1, Galaxy Note I, ex many others
|
Quote:
Thank you very much for the info Sir. Unfortunately at present I do not have the time to do the same for my language, I'm so surprised I coudlnt' find ready remaps around, like if android tablet users do not really use external keyboards. |
|
01-28-2012, 08:56 PM | #11 |
Connoisseur
Posts: 54
Karma: 62
Join Date: Dec 2011
Device: Entourage Pocket Edge Golden-Allmine-Ermine-rc3
|
Since I have no use for the comma or period keys so i think it would be neat to remap the comma to be the "fixin' to" key and have the period remapped to type "y'all" so whatcha think
|
01-29-2012, 01:32 AM | #12 |
Armed with a smile :)
Posts: 1,421
Karma: 2463560
Join Date: Sep 2009
Location: California, USA
Device: enTourage eDGe & Pocket eDGe, Samsung Galaxy Note II
|
I think y'all are fixin' to make a big ole mess!
I'd love to see you use your newly remapped keys in a paragraph! |
01-30-2012, 09:05 PM | #13 |
Connoisseur
Posts: 54
Karma: 62
Join Date: Dec 2011
Device: Entourage Pocket Edge Golden-Allmine-Ermine-rc3
|
An update on my teeny weenie keyboard .. when my PE goes into hibernation, I have to reconnect the KB, easily done .. just hit that KB icon, bottom left of screen and rescan. It remembers the BT pin, so it will connect right quickly. It's either the PE or Android hibernation, not sure which.
Incidentally, found it quite easy to change input devices, just a long touch in the text entry window and you can choose any of the onscreen keyboards or BT device or even a USB KB if one is plugged in. Quite simple. Alan |
Tags |
bluetooth, keyboard, usb |
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
USB Devices (keyboard, bluetooth dongle, etc) and Pocketbook | Oldskool360 | PocketBook | 10 | 08-18-2011 06:02 PM |
Bluetooth keyboard | Gunnerp245 | enTourage eDGe | 0 | 08-13-2011 08:56 PM |
Bluetooth Keyboard | jgray | Android Devices | 6 | 08-01-2011 12:42 PM |
Touch Keyboard bug: numerical keys and spacebar | trekchick | Barnes & Noble NOOK | 1 | 06-26-2011 05:20 PM |
bluetooth keyboard working ? | lalebarde | PocketBook | 2 | 03-13-2011 12:56 PM |