Hardware Keyboard mapping problem - Touch Pro2, Tilt 2 Windows Mobile General

I'm trying to type the italian vocabulary letters à è ì ò ù with the US Sprint TP2 hardware keyboard as an alternate typing of keys A E I O U.
This can be easily accomplished using the keys in connection with FN key by editing CH1 and CH2 value in the eT9.Rhodium.0409.kmap.txt file this way:
(before mod: )
// Row 3
{A A A A A 0x0a}
(after mod: )
// Row 3
{A A A À À 0x0a}
Unfortunately in US Sprint hardware keyboard only the A key is free to have an FN alternate meaning, while the keys E I O U have already a printed alternate value with € + = - charachters, so i wanted to use the "press and hold" function provided by VK2 value, editing .kmap file this way:
(before mod: )
{U U U + + 0x06}
(after mod: )
{U U Ù + + 0x06}
This way i expected that:
- pressing the U key to get u charachter
- pressing and holding the U key to get ù charachter
- pressing the U key along with FN to get + charachter
Instead the press and hold function don't work, i get only a repeating u charachter.
Anyone knows how to take advantage of the press and hold function in .kmap file (perhaps need enabling?)?
Thanx all.

try installing Rhodium Keyboard Controller, as it allows you to remap any key to do whatever you want (single press, long press, double-click, etc)
Joe

Joe Pinball said:
try installing Rhodium Keyboard Controller, as it allows you to remap any key to do whatever you want (single press, long press, double-click, etc)
Joe
Click to expand...
Click to collapse
Does that work on the stock roms too?

Joe Pinball said:
try installing Rhodium Keyboard Controller, as it allows you to remap any key to do whatever you want (single press, long press, double-click, etc)
Joe
Click to expand...
Click to collapse
Thank you Joe for the hint, though i'm still looking for a way to have it to work in the simplest way.

Related

change Arrow key functionality by AEbuttonPlus or registery manipulation

Hello,
I use AE button plus to manage & configure my hardware keys on my Pro2.
I can easily define some functional for windows, Green/Red phone key.
But I couldn't define any functionality for Arrow key(back key or the key on the left side of windows key). I tried to use "Add Button" feature to access this key but it doesn't work anymore.
I like to know, how I can change Arrow key functionality by AEbuttonPlus or registery manipulation.
Thanks a lot.
plz any help?
Would like to know this as well... I can't map the Back key
naderus said:
Hello,
I use AE button plus to manage & configure my hardware keys on my Pro2.
I can easily define some functional for windows, Green/Red phone key.
But I couldn't define any functionality for Arrow key(back key or the key on the left side of windows key). I tried to use "Add Button" feature to access this key but it doesn't work anymore.
I like to know, how I can change Arrow key functionality by AEbuttonPlus or registery manipulation.
Thanks a lot.
Click to expand...
Click to collapse
Have you tried Rhodium Keyboard Control?
http://forum.xda-developers.com/showthread.php?t=554240
Notice there's separate GSM (tmob/ATT) and CDMA (Sprint/Verizon) versions
naderus said:
Hello,
I use AE button plus to manage & configure my hardware keys on my Pro2.
I can easily define some functional for windows, Green/Red phone key.
But I couldn't define any functionality for Arrow key(back key or the key on the left side of windows key). I tried to use "Add Button" feature to access this key but it doesn't work anymore.
I like to know, how I can change Arrow key functionality by AEbuttonPlus or registery manipulation.
Thanks a lot.
Click to expand...
Click to collapse
I use AE Button Plus with my Tilt 2 WinMo 6.5. I used the OK key for what I suppose you are calling the arrow key. On my Tilt 2, that key is used as an OK/Close key except in the browser where it is used as a Back key. Here is an AEBPlus report showing how I remapped that key.
* OK key (4075):
1: Ok/Close
2: Press Right arrow key
3: "Calculator"
Long: Close active application
I'm also use SPB Mobile Shell so some of the items I mapped are SPB functions.
Here is a copy of the report:
AE Button Plus v2.6.5 Settings summary
Report date: 01/24/10, 3:38 PM
Button mappings scheme:
* Send key(Hold) (40C1):
1: "[Lock Device]"
* PTT Button (40C5):
1: "[Task Mgr]"
2: Rotate Screen Clockwize
3: Volume Up
Long: Show Actions Menu
* OK key (4075):
1: Ok/Close
2: Press Right arrow key
3: "Calculator"
Long: Close active application
* Windows key (405B):
1: Start Menu
2: Press Left arrow key
3: "[Spb Contacts]"
Long: Press Enter
* Volume Up (0075):
Change volume or...
1: Press Up arrow key
* Volume Down (0076):
Change volume or...
1: Press Down arrow key
* Green Phone button (0072):
1: Press Green Button
2: "[Launcher]"
3: Show current date/time
Long: Send key(Hold)
* Red Phone button (0073):
Hang Up current call or...
1: Press Red Button
2: "[My Shortcuts]"
3: "Powerexe"

[Q] remapping arrow keys

Hi. I'm trying to fit all russian letters to Rhodium's hardware keyboard. Want to remap arrow keys, but it looks like there is a problem: when I add something like "{0x26 . . , , 0xff}" (just example, to get "." instead of Up and "," for Fn+Up) to my *kmap.txt file - nothing happens, key still works as Up. For example, such remapping of Sym key works fine ({0xBC . . , , 0xff})
However, {0x26 0x92 0x92 0x00 0x00 0xff} works fine too - with it, I have 'Internet' button, which launches Opera, instead of Up button. How come?! Tried different combinations, but still can't map any symbols/letters to arrow keys. Is this impossible? Thanks.
djh said:
Hi. I'm trying to fit all russian letters to Rhodium's hardware keyboard. Want to remap arrow keys, but it looks like there is a problem: when I add something like "{0x26 . . , , 0xff}" (just example, to get "." instead of Up and "," for Fn+Up) to my *kmap.txt file - nothing happens, key still works as Up. For example, such remapping of Sym key works fine ({0xBC . . , , 0xff})
However, {0x26 0x92 0x92 0x00 0x00 0xff} works fine too - with it, I have 'Internet' button, which launches Opera, instead of Up button. How come?! Tried different combinations, but still can't map any symbols/letters to arrow keys. Is this impossible? Thanks.
Click to expand...
Click to collapse
Try tarkim's key remapper.
cajunflavoredbob said:
Try tarkim's key remapper.
Click to expand...
Click to collapse
I need to remap those keys only for russian mode, and keep original actions in english. As I know, this remmaper can'to do this.
djh said:
I need to remap those keys only for russian mode, and keep original actions in english. As I know, this remmaper can'to do this.
Click to expand...
Click to collapse
Yea, that's correct. In that case, you would need to modify the keyboard text file. I'm not 100% certain how to do that properly, however.
cajunflavoredbob said:
Yea, that's correct. In that case, you would need to modify the keyboard text file. I'm not 100% certain how to do that properly, however.
Click to expand...
Click to collapse
Yes, and I've already remapped all keys by modifying txt files. But it looks like arrow keys couldn't be remapped that way... Although there are lines about them in txt files. That's strange. No one has ever tried to remap them?
djh said:
Yes, and I've already remapped all keys by modifying txt files. But it looks like arrow keys couldn't be remapped that way... Although there are lines about them in txt files. That's strange. No one has ever tried to remap them?
Click to expand...
Click to collapse
The best advice I can give would be to try asking in the Chef Central forum. There are many experienced users there who might be able to assist you further.
Thanks, I'll try that.

Change hardware button to get 'back' in the left

Hello,
I want to change 'back' and 'menu' keys, so 'back' to be on the rigth side and 'menu' on the left. Like Samsung (I owned one). I prefer 'back' near my finger, it is more confortable.
I have been investigating. I have found a tool here in xda called buttonremapper, but after download and test, it does not work. Also it looks a bit abandoning, so it is possible it does not work for newer devices.
I have also test xposed framework + gravity box, but it has only the option to program 'long press' and 'double touch'. Under navigation bar there is an option to do what I want, but it only do it activating 'buttons in screen', so that is not a solution for me.
I suspect there is a way to do it modifying values in a /system/usr/keyloyout file, but dont know which and what modifications.
have somebody experience doing this for our device? is there a way to achieve this?
Thanks,
clonfsp said:
Hello,
I want to change 'back' and 'menu' keys, so 'back' to be on the rigth side and 'menu' on the left. Like Samsung (I owned one). I prefer 'back' near my finger, it is more confortable.
I have been investigating. I have found a tool here in xda called buttonremapper, but after download and test, it does not work. Also it looks a bit abandoning, so it is possible it does not work for newer devices.
I have also test xposed framework + gravity box, but it has only the option to program 'long press' and 'double touch'. Under navigation bar there is an option to do what I want, but it only do it activating 'buttons in screen', so that is not a solution for me.
I suspect there is a way to do it modifying values in a /system/usr/keyloyout file, but dont know which and what modifications.
have somebody experience doing this for our device? is there a way to achieve this?
Thanks,
Click to expand...
Click to collapse
I answer myself: it is possible modifyind the file /system/usr/keypad_8064.kl , changing the balues 'back' <-> 'menu'. It is even possible to assign buttons in another way, like right: home, center: menu and left: back.
Code:
key 114 VOLUME_DOWN
key 115 VOLUME_UP
key 116 POWER WAKE
key 139 MENU VIRTUAL
key 158 BACK VIRTUAL
key 172 HOME VIRTUAL
Just change keys 139 BACK and 158 Menu
You will find it in usr/keylayout/keypad_8064.kl

[MOD] i927 Hacker's keyboard layout... [DE/EN]

Hi all,
have been using this custom keypad layout for a while and now finally get around to post it...
Keyboard Allocation Modifications (touch keys unchanged):
MENU key mapped to TAB
HOME key mapped to CTRL_LEFT
SEARCH key mapped to CTRL_RIGHT
OK key (DPAD_CENTER) mapped to FORWARD_DEL (normal delete - instead of delicate (touch-)cursor-positioning, then backspace)
shift+alt+E: Euro sign (€)
shift+alt+K: < instead of (
shift+alt+L: > instead of )
shift+alt+,: ~ instead of =
shift+alt+.: ^ instead of \
shift+alt+?: | instead of / (pipe linux commands without switching to soft keyboard for that one stupid symbol!)
MIC key (+ shift/alt): mapped to [ {
www./.com key (+ shift/alt): mapped to ] }
DE layout: Z <=> Y
DE layout: [äöüß] mapped on shift+alt+[aous]
This allows proper usage of terminal, debian, tmux..
Little known fact: some useful common keyboard combinations become available when your device provides TAB & CTRL keys:
- ALT+TAB: application switcher
- CTRL + A [in text fields]: select all
- CTRL + C/X/V [in text fields]: copy/cut/paste
- CTRL + Z: unfortunately, no undo (what the fail?)
- TAB [in terminal]: shell tab completion!
- CTRL + C [in terminal]: interrupt running process
- CTRL + D [in terminal, empty command line]: exit shell
Improvement suggestions or questions, bring 'em on.
The files have to replace /system/usr/keychars/STMPE_keypad.kcm and /system/usr/keylayout/STMPE_keypad.kl respectively to be active.. Installable ZIP files in third post. :good:
nice, but you should make installable zip, like this , just change zip file.
recovery installable ZIP
ok here it comes
very great job! many thanks will test that soon
Hey Admin!!! ^^ Sorry My English Not Good
Can you Mod Volume Up = Wake Phone, Or Search = On/Off Phone?
I wana turn off Search key on the phone, too
ahem this is a great feature but I may have made an error in flashing because it'd be nice to compare the original setup! I was sold with ~ and <> etc but I kinda miss the search key believe it or not (for SMS etc it had become a habit)..
my suggestions after 20 mins.. if "Menu" key was L-Ctrl instead of tab, (flip them), you could slide your thumb from menu to A to "select all" in one motion (I even found it possible with home as L-Ctrl but not easy). Also, you could hit Alt-Tab w the same one thumbstroke!! Then, you really don't need R-Ctrl because XCV have enough space to hit with your right thumb while left thumb on Menu (now L-Ctrl). Then I can have my search key back and not lose any function
If you can share the original I can set it up this way! Oh, and also "OK" for delete is OK.. but could it be L-Ctrl + Bksp, or Shift+Bksp? OH WAIT that IS the default!! Shift+BKSP = delete!! Lucky guess
Thanks tho this is awesome!!
zWiLLX said:
I kinda miss the search key believe it or not (for SMS etc it had become a habit)..
Click to expand...
Click to collapse
You are aware that there is one beneath the display on the right? & these capacitive buttons continue to work with expanded keyboard.
zWiLLX said:
my suggestions after 20 mins.. if "Menu" key was L-Ctrl instead of tab, (flip them), you could slide your thumb from menu to A to "select all" in one motion (I even found it possible with home as L-Ctrl but not easy). Also, you could hit Alt-Tab w the same one thumbstroke!!
Click to expand...
Click to collapse
I might actually try swapping these.. although I already used this layout for months. But good point about CTRL+A (my tmux key) and ALT+TAB :good:
So just swap the numbers of both keys in the STMPE_keypad.kl:
Code:
key 102 CTRL_LEFT WAKE
key 139 TAB WAKE
zWiLLX said:
If you can share the original I can set it up this way! Oh, and also "OK" for delete is OK.. but could it be L-Ctrl + Bksp, or Shift+Bksp? OH WAIT that IS the default!! Shift+BKSP = delete!! Lucky guess
Click to expand...
Click to collapse
well the Shift+BKSP trick doesn't work everywhere and definitely not within the terminal.
You can find the default files here:
https://github.com/buborh/android_device_samsung_i927/raw/cm-11.0/usr/keylayout/STMPE_keypad.kl
https://github.com/buborh/android_device_samsung_i927/raw/cm-11.0/usr/keychars/STMPE_keypad.kcm
did the swaps and modded the KB a bit and it's friggin fantastic!! Great tips Used the one-thumb ctrl+a today as well as the one-thumb alt-tab just by coincidence and they work great!! w 4.4.4 the phone is crazy fast(er) as well as less battery and with this mod it's friggin fantastic!! Glad I didn't commit to longer contract and went w ole cheapo glide again!! Thanks EMP!!

Question How to write "~" in MI pad 5 physical Keyboard?

Hey guys, need some help to use special character "~" ... it's very used in brazilian language.
There letters should loks like "ã" "õ".
I find the simbol over "Esc" key but when i press just look like "Esc" and if i "press shift and press esc", only appear the character ' , but not "~". Did you guys know how to use this special character?
By the way, is there any way to use the special char "ç"?
Thank you guys
If i remember you need to press Ctrl + Shift + ~
RagaSubekti said:
If i remember you need to press Ctrl + Shift + ~
Click to expand...
Click to collapse
Does't work here. Unfortunately nothing happens with this combination
But thank you
gustavopinheiro said:
Hey guys, need some help to use special character "~" ... it's very used in brazilian language.
There letters should loks like "ã" "õ".
I find the simbol over "Esc" key but when i press just look like "Esc" and if i "press shift and press esc", only appear the character ' , but not "~". Did you guys know how to use this special character?
By the way, is there any way to use the special char "ç"?
Thank you guys
Click to expand...
Click to collapse
Have you been able to figure out this problem? I'm having the same issue and the only mention of it online is this thread. Apparently, there is no easy way to change the language of the keyboard without changing the layout as well.
I have to press SHIFT + ESC to have ~, to have `just press ESC
To work ã, õ, ç, á, à, ê .....
- First, configure the layout to US International, then you'll be able to use ãáàâõóòôê....
- Second, ç (cedilla) has a detail. Continue with US INTERNATIONAL layout.
In Windows, '+c = ç, but in Android, '+c = ć.
' is apostrophe
So you have to press:
right alt + , = ç
shift + right alt + , = Ç
If even using US INTERNATIONAL Layout, you can't type what you want, it's an android issue. So install another US INTERNATIONAL layout.
github.com/dashea/us-intl-android

Categories

Resources