yashsingh1/xdaforums huggingface dataset:
[Paid Software Announcement and Discussion] trungus:
I can't remap some keys

Hi guys,

Some days ago I buy a usb keyboard from noganet, right now I'm using it on my Titan 7005 (Android 2.1).

The keyboard has es_ES layout, alt gr is missing ... :eek:, with this apps I successfully remap the layout to es_ES and map one key as AltGr Key.

Right now my problem is with 3 keys, these keys launch an android function I don't use.

1- CapsLock: Launch Email Configuration.

2- Fn+Left Cursor: Android Home

3- Fn+Right Cursor: Lock Screen

I try to scan keys with debug function without success, there is any way to remap this keys ?

Thank you in advance.

Trungus
[Paid Software Announcement and Discussion] kallt_kaffe:
EKHP has no effect on the Bluetooth pairing. That part will work exactly the same without EKHP installed.
[Paid Software Announcement and Discussion] snoeyink:
migrate custom from demo to pro? Arrow keys?

I used the demo version to see if this would work to remap an alphagrip keyboard (a game-controller-like kbd for which I make two shift keys to chord all characters on the back of the device) and was pleased that it nearly does. (I haven't yet figured out how to map arrows to alt-n, alt-h, alt-u, and (the hard one) alt-altgr, but otherwise it did what I wanted.)

I purchased the pro version through slideME: is there a way to migrate my demo mapping of custom 1 to the pro version?

Thanks.
[Paid Software Announcement and Discussion] kallt_kaffe:
Oops. Seems I have forgot to update SlideMe to version 3.4. Get the 3.4 version of the demo from Google Play and I will update SlideME ASAP. In 3.4 you can use the menu button to backup and restore custom layouts.

Actually I'm going to push the new 3.5 version and skip 3.4. Check in 30 minutes or so.
[Paid Software Announcement and Discussion] 3x4d:
I am with v3.7 demo and isn't work with USB keyboard. :(

When I check at debugging - it shows me Device-ID 196613

Is this normal ?

My phone is Xperia NEO Android 2.3.4 build 4.0.2.A.0.42 Inteks core#12
[Paid Software Announcement and Discussion] kallt_kaffe:
It seems Xperia phones bypasses the Input Method when using USB keyboards. It's only Xperia users who have report this problem and only with USB keyboards.
[Paid Software Announcement and Discussion] 3x4d:
:D

I change Android on my Xperia neo, to 4.0.4 build 4.1.B.0.431 and everything is fine - works perfect about USB keyboard.
[Paid Software Announcement and Discussion] Rene_ajax:
Also works on my Xperia s android 2.3.6
[Paid Software Announcement and Discussion] kallt_kaffe:
USB or Bluetooth keyboard?
[Paid Software Announcement and Discussion] fjell_strom:
Tried to search for this. Found nothing so far.

How would I, for example, make the Windows home key on my bluetooth keyboard have a double function? Let's say I wanted that key to be HOME when normally pressed and SHOW NOTIFICATIONS when pressed with CTRL + first?

Btw, I just bought the pro version of this, and thank you for doing a great job!
[Paid Software Announcement and Discussion] fjell_strom:
Thought I might mention...I would also be interested to know if long-press functionality from buttons on the bluetooth keyboard is available with this app as well, aaaaannnd the ability to highlight text with SHIFT + arrow keys, copy/paste combos? Maybe most importantly - where can I go to read about the total functionality of this app?
[Paid Software Announcement and Discussion] djnata:
this works on galaxy s II?
[Paid Software Announcement and Discussion] Jesterfox:
Is there a way to go around this issue? I try to get the keyboard helper demo to work on my Sony Xperia U with Android 2.3.7 (6.0.B.3.162), the USB keyboard is connected via the Sony livedock and gets recognized with device id 131079 in debug mode. Keyboard helper is selected as active input method but the layout does not change to german.
[Paid Software Announcement and Discussion] HJ-kos:
is there any way to switch layouts with capslock? I tried setting layout switch key to F12 and binding capslock to it but no luck
[Paid Software Announcement and Discussion] qkzoo:
Control + 1, 2 or whatever?

Is it possible to create a custom key map such as Control + 1 or Alt + E? I have tried but it doesn't seem to recognize combination mappings. My keyboard has a Fn, Alt, and Ctrl key. Seems like it should be possible.
[Paid Software Announcement and Discussion] qkzoo:
Post deleted by poster.
[Paid Software Announcement and Discussion] qkzoo:
.Ok, I think I understand to create mappings with Alt, Shift, AltGr. I guess I understand that control is not mappable yet?

One question I've been racking my brain over, I created a key mapping for the < character. I set it up so that when the key is pressed normal, or with shift, that it behaves as it normally does, my confusion is in the Unicodes. I looked at the keycode map you provided a link to and see that the back button is 0x0004, so this is what I put for Alt mapping. However, this does not work. When I try Alt + <, it just inserted a space. Is there a proper list somewhere of these Unicodes we could use? I need F1 - F12, Home, and Back codes. I know for instance if I just put a "N" in for the Alt mapping, your app automagically converts it to the proper code, but this code is nothing compared to anything I see on that Android Developer page

http://developer.android.com/reference/android/view/KeyEvent.html
[Paid Software Announcement and Discussion] kallt_kaffe:
Keycodes and Unicodes are not the same thing. What you want is to map a keycode to a character mapping. That is currently not supported in the app. You cannot mix character (unicodes) and keycode mappings on the same key. This may change in future versions.

I'll try to clear the confusion...

First we have scancodes. Every key on the keyboard has a single unique scancode. When you press (or release) a key, the Android OS recieves the scancode.

The first thing that happens is that the scancode is translated into a keycode. One scancode becomes a keycode.

The list of keycodes you have allready found and some of them are for Android specific functions, like BACK, HOME, MENU etc... Others are for letters and numbers. Now there is no keycode for a small "a" or a capital "A". It's the key "A". Now Android also keeps track of the shift, alt, and ctrl keys (also known as meta keys) and if it recieves a keycode for the key "A" and it also has recieved keycode for one of the shift buttons (but not recieved an event that it has been released yet) then it will produce the unicode for the character "A".

Basicly:

Scancode -> Keycode -> Unicode (for characters)

Scancode -> Keycode -> Perform android action (for non-character keycodes like home, menu, volume keys, arrow keys etc..)

What my app allows you to do is to override this handling within android and direcly map either unicodes (character mapping) or keycodes (keycode mapping) to a specific scancode. However it does not (currently) support mixing keycode and character mappings to the same scancode.
[Paid Software Announcement and Discussion] qkzoo:
Ok, thank you, that answers my question. One thought I had, is it possible, where you specify applications, A0...AF, to pass a parameter of some sort, or tie it in with Tasker? That would make the possibilities of what you could do with this app limitless.
[Paid Software Announcement and Discussion] qkzoo:
Scratch that, Tasker can export its' functions as actual android apps, so it would be redundant, really. For those curious, it works great! I created, for instance, a really small app that just quickly flashes the time and date when I Alt + D.
[Paid Software Announcement and Discussion] janreiviardo:
how can I use keyevents in this app? Keyevents coming from this link for Jelly Bean. Thanks

http://grepcode.com/file/repository.grepcode.com/java/ext/com.google.android/android/4.1.1_r1/android/view/KeyEvent.java#KeyEvent

Edit: Nvm above. I got it figured out by editing manually /data/data/com.apedroid.hwkb../files/custom.txt. I was trying to map recent apps to one of the keyboard keys but using keycode 187 or 214 didnt work with CM10 Jelly Bean rom. So I got an idea but dunno if it is possible to get it to work with this app.

So here is the scenario.

As an alternative to using "input keyevent <code>", it is also possible to inject key press events and even choose the delay between the press and the release to simulate long presses using scripts.

Example for a HOME key long press:

Code:

sendevent /dev/input/event1 1 102 1

sendevent /dev/input/event1 0 0 0

usleep 500000

sendevent /dev/input/event1 1 102 0

sendevent /dev/input/event1 0 0 0

102 is the scan code for the HOME key and it will have a delay of 500ms between pressing and releasing.

Possible scan codes (for the physical buttons):

102 - Home

116 - Power

So, my point is. keycode for recent apps doesnt work with CM10 JB. And that there are keycodes that has to be hold to show for example holding power brings power options such as reboot shut down etc. Is there any way that we can execute/run this code/script for it to be able to be used with ext kb helper? Thanks

If there isn't then I suggest this to be a feature on the next release. Why? Because if the app can execute codes then theres no limit to what this app can execute. It can even execute services such as calling a number

"service call phone 2 s16 "123456789""

Toggling between the last 2 applications / windows and many more!
[Paid Software Announcement and Discussion] Sensenmann69:
Hey ho! I've got a problem with the keystring "app switch". It just does not work, the OS doesn't open up the app drawer with that. The keystring "home" does work.

Is this only with me?
[Paid Software Announcement and Discussion] dimensionone:
Hi,

I have bought this app, but need some help. I want to map the application shortcuts to F1-F12 keys

Can you, please, advice, how can I do it.

I created apps shortcuts in Advanced settings, but now I don´t know, how to map A0-AD keys to Fx keys.
[Paid Software Announcement and Discussion] jriemerm:
This is what I'm trying to do as well. Is it possible?
[Paid Software Announcement and Discussion] kallt_kaffe:
Some keycodes are handled early in the input queue, before they reach the Input Method. The appswitch keycode is one of those. Home is another. However for Home I managed to find a workaround but for appswitch I've found no way to trigger it from my app. While it is not the same Alt+Tab usually works to switch between recents apps.
[Paid Software Announcement and Discussion] kallt_kaffe:
Create a custom layout. Then create character mappings for the scancode your F1-F12 keys use. Put A0 to AD into the "Normal" field for each of the keys.

For more information about how to make a custom mapping check the FAQ: http://www.apedroid.com/android-applications/external-keyboard-helper/faq
[Paid Software Announcement and Discussion] petersteier:
This was already asked for a few posts before: copy/paste with keyboard is not possible, at least in Google Chrome. Hackers Keyboard gets it right, somehow mapping Ctrl-C and Ctrl-V, as it should be. Interestingly, selecting text with the shift key+arrow keys works, but the cut/copy popup does not show up then, so selecting text is useless.
[Paid Software Announcement and Discussion] kallt_kaffe:
Which version of the app did you try this with?
[Paid Software Announcement and Discussion] hairpower:
Diacritic signs

There has always been some problems with other keyboard apps for my language and for my device which is Asus Transformer 101 with dock, but this one is just superb - writing in Latvian using TF101 has become a pleasure now. Thank you very much for that.

However, I think this app might do even more, it's just that I don't really know how. I have to write pretty much in phonetic transcription, but on TF101 it's been impossible so far. I just need most basic things like some diacritics ( ˘, ˆ, ˚, ˳, `, ~ etc. (with letters, of course)) and maby (if possible) a couple of special characters. Grave already is available for both -small and capital - letters, circumflex and tilde works only for capital letters. How can I get all these things to work with both Fn keys (because alt is already used for all diacritics written in ususal writing not phonetic like ā, ē, ī, ū, ļ, ķ, ņ etc. and ctrl for shortcuts like ctrl+a) or if neccesary with settings and search keys, as they aren't used that much. As far as I can see, I would need scan codes for those keys in order to map them, but the problem I can't find that.. Is there some guide or smthn that I can use to learn how to map keys using this great application?
[Paid Software Announcement and Discussion] ultimat3m3:
Have u tried thumb keyboard

Sent from my GT-S5300
[Paid Software Announcement and Discussion] hairpower:
No, I haven't. It doesn't have demo version and as info @GooglePlay states that there is no Latvian language support I guess I wont buy it. Also there is a comment which says that there are some problems when used on Asus TF300 with dock..
[Paid Software Announcement and Discussion] hiitti:
I was going to write one on my own for personal usage, but then i realized you sold this! Since you do such a great work on galaxy tab 8.9, i decided to support you by buying your app instead :)
[Paid Software Announcement and Discussion] Cocax:
Hey :) I also have the Targus IPad keyboard like you, but with the portuguese layout. Some keys didn't work well and I managed to use your app to map all the keys correctly.

However, I would also want to map the F2 and F3 keys to control the brightness and F6 to Wi-Fi Toggle, since these keys don't have a function, contrary to the other F-keys on this keyboard. The problem is that F2, F3 and F6 report the same scan code and when I try to assign a function to one of them, all three have the same function (for example, if I assign brightness down to F2, the brightness decreases when I press either F2, F3 or F6) and I can't assign other keycode to the other keys. If I go to Debugging, the three of them have the same scan code. This does not happen with the other F-keys.

Does your targus keyboard behave the same way? And is there a way to change the scan code of a physical key?
[Paid Software Announcement and Discussion] MaddinGER:
Hello. I tried this App, but it doesn't work. I've got an "Arnova 10b G3" (Tablet) and "Speedlink SL-6401-BK Rugg Flexible Silicone Keyboard". I installed the App and changed the layout to German (Germany), but nothing happend. Even when I try other languages, it's always the US-Layout. It would be fine, if someone could help me to solve the problem.

Greets Maddin

Edit: Problem is solved. At the left bottom there is a little keyboardsymbol. When I klicked on it I was able to chose "External Keyboard Helper Pro" and configure the layout how I want to.
[Paid Software Announcement and Discussion] jabberw:
Trying some chinese bt keyboard with my android pad, get strange results. Arrow keys send pgUp and pgDn scancodes unless with fn, the same with backspace and delete. Even enter dont work like expected without fn. Under win7 all works like the charm. Where could i dig further?
[Paid Software Announcement and Discussion] kallt_kaffe:
Create a custom layout (you'll find the basics in the FAQ here: http://www.apedroid.com/android-applications/external-keyboard-helper/faq )

The add a new key mapping, press the F-key to read it's scancode.

Now in the "Normal" field, enter A0 (or a0) to make it launch the first application shortcut.

Repeat for each F-key you want to map to an application.
[Paid Software Announcement and Discussion] HasC:
I have a Samsung galaxy note 10.1 tablet and the Microsoft wedge bluetooth keyboard and mouse. This app has helped me remove some annoyances such as letters repeating themselves by adding a delay and works really well.

I have another issue which this app may be able to resolve but am not sure what settings to use or if it is a Samsung problem. When the keyboard works, it works flawlessly however when the keyboard is switched on after being switched off for a while and I try to reconnect, sometimes it does not pair with the device and I have to unpair both devices and restart the tablet and re-pair the keyboard again with the tablet. If a disconnect happens after I re-pair the devices and the connection is lost, the keyboard helper reconnects without issue. This also happens with the bluetooth mouse.

I have noticed that the problem happens after the keyboard or mouse is switched off i. e. Not on standby. Do you know if there are any settings that I can experiment with to resolve this?

Many thanks
[Paid Software Announcement and Discussion] narekk:
Hi,

Your application is very good idea and it work great for me, but now I have Motorola Droid 4 with build-in qwerty keyboard and I want to use your app functions, especially application launching shortcuts codes at this point I can't do this. Your app work only with external keyboards or it's possible to configure to work with build in?
[Paid Software Announcement and Discussion] kallt_kaffe:
Often the built in keyboards bypass the input method making my app useless. However try disabling the device id filter in the advanced settings. If you are lucky it may work.
[Paid Software Announcement and Discussion] kallt_kaffe:
I've started to write tutorials for the app in my blog and i just finished the first two.

External Keyboard Helper tutorial 1 - Getting started

External Keyboard Helper tutorial 2 - Remapping some keys
[Paid Software Announcement and Discussion] narekk:
I am lucky!!! Thanks your are doing very good job.
[Paid Software Announcement and Discussion] kallt_kaffe:
Third one done:

External Keyboard Helper tutorial 3 - Tweaking some advanced settings
[Paid Software Announcement and Discussion] WWHK:
Hi,

sorry if the question has already been asked. I didn't find it.

I've bought EKHP a few months ago. My Galaxy Note had Android 2.3. It worked fine with a Keysonic BT keyboard except CTRL+C CTRL+V that didn't work.

I upgraded my device to Android 4.0.4 (stock Samsung IMM76D.XXLRT) and I've a problem.

When I turn the keyboard on, I get the HKHP pop-up that let me choose the hardware keyboard. But it doesn't appear anymore when I switch the external keyboard off. And I haven't HKH's icon in notification bar anymore, so I can't switch back to Swiftkey or system keyboard. I have to go to system options to come back to tactile keyboard.

It also doesn't work if I shut down BT on my GN.

Thanks for your help.
[Paid Software Announcement and Discussion] WWHK:
A little precision :

EKHP icon appears in notification each time I'm in a text field, except when I've switched to external keyboard. That's why I had to go to system options to go back to touch keyboard after using my BT keyboard.
[Paid Software Announcement and Discussion] cravaus:
Missing Applications

This is a wonderful app. A dream come true. Your program actually makes my keyboard useful! Thank you!

Problem: I use My Phone Explorer to sync with Outlook. I have noticed that MPE Notes and MPE Tasks do not show up in your application shortcuts menu. I do see My Phone Explorer Client in your menu. However, MPE Tasks and MPE Notes do not.show up there They do show up in other android menus in other applications however. Is there a work around for this? That is my only disappointment because I cannot map MPE Tasks to the task key on my Freedom Pro Keyboard.

On a T-Mobile Samsung Note 2 not rooted.
[Paid Software Announcement and Discussion] shrek4224:
Ok noob here with a quick knack for learning. I have mapped custom commands and am happy. I however can't figure out how to use the section for launching specific apps using shortcuts A0-AF. I believe it is the 3rd section under custom. Could someone explain how to do this or point me in the right direction. I did search but unfortunately all it did was bring to places where I can download a stollen version. I figure I am a click or two away from doing what I want but just need a push. Thanks!
[Paid Software Announcement and Discussion] kallt_kaffe:
I just finished a tutorial for this. This should get you started: http://blog.apedroid.com/2012/11/ekh-tutorial-5-application-shortcuts.html
[Paid Software Announcement and Discussion] shrek4224:
l

Thank you. Took me all of 5 minutes to figure it out!! This is so great to be able to use. Again thank you so much!
[Paid Software Announcement and Discussion] Mallikanth:
Deleted question as It's resolved now.
[Paid Software Announcement and Discussion] LazPL:
Hot coffee

Tjena Kallt kaffe!

Bought EKHP, and it works as advertised. But the bluetooth auto-switching feature doesn't work well for me. Bluetooth (or maybe input) settings keep force-closing. Is that something you've come across before or is it just me?

If it's just me, then I'll turn the auto-switching off, but maybe there's some other solution?
[Paid Software Announcement and Discussion] Abu Apellius:
HTC One V - Recent update

I have a new HTC One V. I tried out EKHFree and it worked great so I bought EKHP and it worked too! Fantastic!

I was having system instability issues (spontaneous reboots) so I bought a better SD card to see if that would help things. The same day a system update was pushed to the HTC. After this, when I turn on the keyboard, I get a message "Bluetooth keyboard removed!" at the same time as the "Select input method" dialog pops up. The keyboard never appears on the Bluetooth screen. I cannot use the keyboard.

:(

I have c4droid so I can go hunting around for config files if needed (I have a fair amount of unix experience but am an Android noob).

Ideas?

[J.F.]

I am running:

Bluetooth 4.0

Android 4.0.3

HTC SDK API level 4.11

Kernel 3.0.16-g133e482

root@ABM016#1

PREEMPT

Baseband version: 20.76.30.*

Build number 2.22.661.2 *
[Paid Software Announcement and Discussion] kallt_kaffe:
Unpair the keyboard, reboot the phone and then pair it again. The HTC upgrade probably messed up the pairing.
[Paid Software Announcement and Discussion] Jamesch:
Hi

great app

I don't understand something or I am doing something wrong:

I've created a custom mapping, only thing I changed is mapping the Jome button on my keyboard as a Keycode to Home function. After this the Home button should do the same as the Home button on the phone, shouldn't it? It does not, it does the same as before the mapping (basically nothing)

I'm on HTC ONE X running stock Jelly Bean. In the Input selection Setting screen my wireless Logitech keyboard actually shows up and I was able to select my preferred keyboard type. Could this be doing something?
[Paid Software Announcement and Discussion] radkish:
purchase

hi kallt_kaffe

forgive me because of my English.

i am from IRAN.

googleplay block all Iranian ip and accounts.

and this not worst problem because Iranians can not send money with visa card or other modern methods for "e shopping".

we can only send money by post or other ancient methods if the government let us do it.

i have lots of money but i have no way to send 3$ to you. its funny.

i have access to your Pro version apk (whitout purchase) but i don't want to use that because it is forbidden for me if you are not satisfied (god say).

no plz tel me how can i purchase your 3$ app.

i am a programmer for Delphi and Visual C++ if you want i can program for you instead :)

tx a lot
[Paid Software Announcement and Discussion] kallt_kaffe:
Try AndroidPit.com. They offer more payment options like PayPal.
[Paid Software Announcement and Discussion] davisco3:
Feature Request

Hi

First of all, I'd like to say that your app is one of the best things I've come across to customize our beloved OS. Thank you for doing such a great job. It just works.

However, I'd like to know if you could maybe include a way to customize the mouse keys as well. On CM10 all the buttons just do the same thing.

I'd be glad to even pay for it, if that is the what it takes to develop such solution. Simple things, like right button goes back, wheel click activates menu, those kinds of actions would be a must to have.

Thanks in advance

A satisfied customer.