I have noticed that soft keys are always very slow in WM5. Is it possible to have an application which maps two dedicated buttons like vol up / down (with configurable exceptions ofcourse ), so as to just mimic the functionality of softkeys per app. Is this possible ? If yes, can some one point me to proper documentation so I can implement this.
Hi, I have a Sony Ericsson X1. This device is enriched with 4 front hardware keys (2 softkeys and a "panel"-button and a "ok"-button). You have to possibility to customize the function of the 2 softkeys, but not the panel-button or the ok-button.
Now, I'm trying to write a application in C# that does programmatically exactly what a keypress does (on the panel-button), but I'm not able to find any information anywhere that can help me with this task, so that's why I'm asking the question here.
Anyone here with some information that might be of help?
Some more information, I ran AE Button Plus, and the "Panel"-button identifies as key code = 00EA and the ok-button identifies as key code = 405C!
Hi, I would like to remap my WP7 keys to swap around the Camera and Power buttons. Is this possible?
which ROM you use?
look did you have in programs list "Extra Settings"
If you have a rom installed that supports cab-updates it is:
http://forum.xda-developers.com/showthread.php?t=1250869
Look for Hardware Key mapping Cab
Hi folks,
I'm trying to remap the hardware buttons of my rooted Xperia Pro with stock ICS 4.0.4, but there are some quirks that trouble me.
Basically, I want to
1.) remap the language button on the QWERTZ hardware keyboard.
2.) Prevent the camera button from unlocking the phone - just press power to show the lock screen, then hold camera button, the press home key and you'll see how easy it is for the phone to unlock in your pocket.
So far, I parsed through the keyboard layout files in /system/usr
I remapped key 368 in pm8058-keypad.kl to CTRL_LEFT, which did not seem to make any difference! Language button still invokes language dialog
I also modified quertz.xml and qwerty-en.xml by replacing META_LANGUAGE with META_CTRL_LEFT - did not make any difference.
Of course, I rebooted the phone inbetween...
Regarding 2), I have no clue. Butting WAKE_DROPPED behind CAMERA and FOCUS in pm8058-keypad.kl does not help.
I could use some help with key remapping as well. If I find some info i'll send it your way.
No progress for me so far... anyone?
kyanox said:
I could use some help with key remapping as well. If I find some info i'll send it your way.
Click to expand...
Click to collapse
I want to re-map the 0 (Zero) key and the OK button orientation on the PIN Lock feature. Any info what files I need to change?
I GOT IT!!! partially at least....
Reading through http://source.android.com/tech/input/key-character-map-files.html and http://source.android.com/tech/input/key-layout-files.html once again, I finally found something that pointed me into the right direction!
I order to make my change to the Language button work (remapping key 368 to CTRL_LEFT), there are two possible ways:
1.) Set hardware keyboard to FULL keyboard type by replacing "type ALPHA" with "type FULL" in /system/usr/keychars/pm8058-keypad.kcm
This will make the hardware keyboard work without any additional GUI, so pressing shift will allow you to select text and copy&paste via ctrl+a,c,v,x now works (This still depends on the app you are using. Some do ignore this, some will still work with menu+a,c,v,x instead)
But beware:, in order to enter numbers or upper case letters, you now have to keep the modifier key pressed.
Printable characters can be edited via /system/usr/keychars/pm8058-keypad.kcm, non-printables like modifier keys can be edited via /system/usr/keylayout/pm8058-keypad.kl
Android keycode names can be found here: http://source.android.com/tech/input/keyboard-devices.html
Until now, I was unable to create a solution for entering special characters like ä,ö,ü
I tried to via sym or meta keyword in .kcm file while mapping the Sym key to SYMBOL or META_LEFT via the .kl file, but it didn't work...
2.) The .xml files in /system/usr/keyboard-config/layouts are used only with the keyboard configured as "type ALPHA". In order to identify the correct .xml file, you have to parse through the files in /system/usr/keyboard-config/languages and look for the script keyword, which in conjunction with the declarations in /system/usr/keyboard-config/keyprint.xml will tell you to the layout xml file for your device localisation.
Now, in order to remap printable characters, you have to edit the correct layout xml file and for non-printable characters, you have to edit the scancodes.xml file in /system/usr/keyboard-config.
Unfortunately, shift-selecting text will not work with "type ALPHA" mode and it seems that editing scancodes.xml is not sufficient to remap language button to CTRL_LEFT, but the .kl file has to be changed, too.
Hi everyone,
Is it possible to remap the 3 stock Android Navigation keys to external Bluetooth keyboard?
( Back / Home / Recents ) ?
Am running an app I love but its only designed for tablet & phone touch screen. ESC will not back out of it.
I end up having to use the game pad for its Navigation keys on top of the mouse & keyboard I'm already using.
Any help would be awesome
Thanks in advance
-Dave
I have found this ... i test it in the next day ... we will see
*Grumel* no link acept :/
look in google: "How to map android keys to your usb/bluetooth keyboard"
also interesting: "Key Layout Files | Android Open Source Project"
with "USB Device Info" from Market