International Version Question: Does control key have highlight text+ copy/cut/paste? - Touch Pro2, Tilt 2 Windows Mobile General

International Version Question: Does control key have text select + copy/cut/paste?
Questions about Touch Pro2's Control Key:
1) On a computer I can use shift key to highlight text and files; can I use the shift key on Touch Pro2 to do the same?
2) On a computer I can use [ctrl x] to cut [ctrl c] to copy and [ctrl v] to paste and [ctrl z] to undo .... Does the Touch Pro2 offer the same?
3) What other commands and functions can the Touch Pro2's command key do?
4) Does cut / copy / paste / undo work for the file system also?
5) The Xperia's center D-pad button can be used to open the context menu if I hold the button for a a second, however the Enter button on the keyboard doesn't open context menu when I hold it for a few seconds. I see that the Touch Pro2 lacks the D-pad center button, but it has an enter key. What happens if you press and hold enter? Does the context menu open like on the Xperia? [I am not talking about soft keys menus, I am talking about context menu like when you tap and hold a file to delete it]
6) What does the ctrl key do?

Shift to hightlight and CTRL+Z/X/C/V all work, except undo if you move files between main memory and storage card.

Is there a crtl combo replacement for the TAB key ?

thepenk said:
Is there a crtl combo replacement for the TAB key ?
Click to expand...
Click to collapse
Cntrl + I would be the obvious one to check.
Andre

Related

Is there a reg hack to assign other programs to home & back buttons?

I have a t-mobile version and when I goto settings/buttons, there's only one assignable button there - long press send key. I want to install hbutton to assign stuff to the home and back buttons. There's got to be a hack for this. Did I miss it in other posts?
shawndh said:
I have a t-mobile version and when I goto settings/buttons, there's only one assignable button there - long press send key. I want to install hbutton to assign stuff to the home and back buttons. There's got to be a hack for this. Did I miss it in other posts?
Click to expand...
Click to collapse
Besides AEButtonPlus?

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"

Remapping soft keys

So I'm looking at remaping the soft keys (specifically the search) on the front of the phone. There appears to only be one "SEARCH" in the /system/usr/keylayout/vision-keypad.kl - key 217 (see code below) - that if changed has the following 2 effects:
1. Alters the functions of both the soft key on the front of the phone and the search key on the hardware keyboard. When I remap one, they both change to match your modification.
2. When changed, long press functionality of the soft key is lost. It will only accept a short press.
"SEARCH" can be successfully changed to "MENU", "BACK", and "CALL" (possibly others I have not tried) then pushed to the phone in recovery and function perfectly. However, when I map it to be the "POWER", the soft key does nothing on press, while the hardware search key on the slide-out works fine.
Has anyone found a way around this?
We remap the track pad to wake because we dont like using the top mounted power button, but it only does a half-ass job because when you want to shut the screen back off, you still have to reach for the power button. I think the track pad wake mod needs its own 'bacon bits'
Code:
# column 0
key 185 USER3 WAKE_DROPPED
key 100 ALT_RIGHT WAKE_DROPPED
key 217 SEARCH WAKE_DROPPED
key 28 ENTER WAKE_DROPPED
key 38 L WAKE_DROPPED
key 14 DEL WAKE_DROPPED
key 54 SHIFT_RIGHT WAKE_DROPPED
I think you're out of luck with regard to an easy fix. I just did a quick experiment with evtest and it looks like the softkeys on the screen are just areas of the touchscreen that the window manager treats specially and generates synthetic key events in response to touches on, instead of being actual mappable keys.
teferi said:
I think you're out of luck with regard to an easy fix. I just did a quick experiment with evtest and it looks like the softkeys on the screen are just areas of the touchscreen that the window manager treats specially and generates synthetic key events in response to touches on, instead of being actual mappable keys.
Click to expand...
Click to collapse
Well the are mappable. I managed to make it be the menu button and the back button just fine. It just doesnt want to be the power button..
The same key can be used as a single quick press or a long press. It is considered two different keys though. So you would have to figure out what the long press equivalent of the search button would be and change that one.
The way this thread can stay in developmental, is show steps on how you are remapping the keys.
For others to gain knowledge or this thread is moving to Q&A
Mikey1022 said:
The way this thread can stay in developmental, is show steps on how you are remapping the keys.
For others to gain knowledge or this thread is moving to Q&A
Click to expand...
Click to collapse
Maybe I'm off here, but if I was making this post to show the steps, would that not fall under a "How To" or "Guide"? My goal here is development. Development –noun 1. the act or process of developing; growth; progress. Or in my case, I'm in the act/process of developing a remapped key file to make the search soft key into a power key, and to then share with the rest of the forum. My progress so far is that I've managed to map it to a menu key and a back key with no problems, and am reaching out to others for help as to why it is that when I change it to the power key, it doesn't accept my changes.
Its kinda a gray zone, in that if I were to successfully remap it to the power button and post the file here, it would, technically speaking, be less of a development thread than it is now - because it would be finished developing and instead, merely contain a file with instructions.
However, as requested, and for those who are interested:
The file you are looking for, is as mentioned in the OP, "vision-keypad.kl" and is located in /system/usr/keylayout. You can edit it with a text editor like Notepad++. The line that I am looking at, also refer to OP, is key 217.
I'm thinking now, after messing with it some more, that maybe because it is a soft key it cant be mapped to power, being that as soon as the screen shuts off it no longer functions... But then again there exists widgets that, upon press, turn off the screen and they function fine, so I see no reason this shouldn't. I'll keep you posted on what I find, and would appreciate any help in the mean time.
i'd love to be able to map a longpress menu and a longpress back action. Cyanogen 6.1 allows longpress back to be turned into force kill foreground process. So there is a way to capture longpress on those 4 keys, the question is, what does the system read that keypress as and how can it be mapped.
sundar2012 said:
i'd love to be able to map a longpress menu and a longpress back action. Cyanogen 6.1 allows longpress back to be turned into force kill foreground process. So there is a way to capture longpress on those 4 keys, the question is, what does the system read that keypress as and how can it be mapped.
Click to expand...
Click to collapse
So it is doable! There are some .bin files in the /system/usr/keychar folder that correspond to the .kl files in the ../keylayout folder, but i havent been able to read them. Maybe thats it.. Gonna figure that out when I land tomorrow and get my computer set up
I changed the Search function key to Camera and it only works on a long press and I get no result on a short press. So maybe the function you are trying to rename the Search key to has to be specific to either way i.e. short or long press but not both.
So it will either work as a long press key for some functions or a short press key for others.
Read the window manager source (from AOSP or CM), determine what scancodes it synthesizes in response to touches or long-touches on the softkeys, edit keylayout accordingly.
Doesn't ButtonRemapper from Android App Dev section work on G2? :S
hey guys, i dont know if you all figured this out or not, I just got the g2, and to remap the key to power button you have to change it to "ENDCALL" not "POWER", after, reboot and voila! your search button now acts like a power button!!!!! Hope this helps!!!!!
Need to Map Back button to one of the soft key
Rceently I bought HTC Desire Z (no warranty), and I am facing the problem with 4 bottom buttons of the touch screen (menu, back, home and search). So I am planning to do hardware map for one of the softkeys to BACK button.
Could you please provide me step-by-step installation of all the softwares and the procedure I need to do for updating "vision-keypad.kl" file. Appreciate your help.
My one more doubt is that what is the difference between "WAKE_DROPPED" & "WAKE". I have seen these keywords in ".kl" file in GITHUB.
Please give me reply ASAP. I am frustrated with the way the mobile is working. Just imagine how it will be if back button stop working and you are in the middle of some application. I restarted my mobile some dozens of times.

[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!!

Editing U-touch button functions manually

To edit the tap, long touch and slide right and left one has to locate the file
fpc1020p.kl
That can be found at (with root enabled):
/system/usr/keylayout/
In that file the following items can be found:
key 158 (touch) VIRTUAL
key 249 (slide right)
key 254 (slide left)
key 183 (long touch) VIRTUAL
and for example to edit long touch as a shortcut to HOME you set:
key 183 HOME VIRTUAL
But how and where do you edit the double tap and press and double press actions?
Cheers!
This functionality was present on my seller stock ROM. After upgrading to Lineage 14.1 I'm left with partly extended/partly limited functionality of the button, while it looks like the solution is at a hands reach.
I have not ventured into custom ROM territory only to prevent losing the U button functionality.
How to edit double tap home ??

Categories

Resources