Map more hardkeys - Touch Viva, MDA Basic ROM Development

Hi there,
Is there a way to map more hardkeys in Opal? I currently only have "Button1" and "Button1 (Hold)" listed in Settings/Personal/Buttons.
I looked up the keys in registry:
HKLM\Software\Microsoft\Shell\Keys\
There are actually three folders/keys:
40C1 = Button 1
40C4 = Button 1 (Hold)
40C6 = Undefined?
Can I add more keys by editing registry? Anyone has experience doing this?

I'm going to try this old trick
1. install PHM Regedit (or any other registry editor)
2. go down to this location HKLM\SOFTWARE\Microsoft\Shell\Keys
3. create a key "40C8"
4. Go to the key HKLM\Software\Microsoft\Shell\Keys\40C5
5. Select all values under that key and copy it
6. Paste it under the new key "40C8" you just created in step 3
7. rename it to suit a readable name like "Backlight"
8. Softreset using some app like psShutXP or pocket plus (and NOT using the hole)
8. now, you can configure this button as u do normally (for the rest of the buttons)
I'll just try some random numbers (eg. 40C1, 40C2...)
Source post
Keep you posted!

vanshyp said:
Keep you posted!
Click to expand...
Click to collapse
I tried the wonderful PQz_CHECK.exe to detect Opal's hardkeys. Problem is that I don't see them in Settings/Personal/Buttons after adding them to the registry with the method you find in my former post.
eg. The big "Action" button is presumably hardkey "400D". I added the necessary data to HKLM\Software\Microsoft\Shell\Keys\400D but nothing gets listed.
I think only buttons that start with 40Cx are listed in "Buttons".
Maybe someone can find a solution to this? I know there is AEBPlus, but I like poking around
It would be great if we could get all the keys in the "Buttons" menu in Opal's ROMs.

Related

How-to: Program other function to the useless backlight key

From this thread:
http://forum.xda-developers.com/viewtopic.php?p=189058#189058
SiliconS said:
cktlcmd said:
MvanIperen said:
it is mappable
add the following key to the registry:
HKLM\SOFTWARE\Microsoft\Shell\Keys\40C8
and create values just like another key (i.e. 40C5)
soft-reset and then you are able to program the button.
Click to expand...
Click to collapse
Can anyone expand to his instructions please. Did anyone tried to remap their backlight button yet?
Click to expand...
Click to collapse
I just tried and it works. Copy the complete key for 40C5 and call it 40C8. Choose a different name for the button (e.g. 'Button Light').
I guess we could rename all buttons the same way so we could actually have a clue which buttons they were when we were programming them.
Thanks for the tip, MvanIperen
Click to expand...
Click to collapse
Makes me wonder which other key actions we could capture with this registry key. Would all these buttons respond to a press-and-hold? Anybody know how to achieve that?
The key HKLM\SOFTWARE\Microsoft\Shell\Keys\40C4 refers to the press-and-hold action of the notes button, but I can't tell what in the key makes this different behaviour from the press-once action for the same button (key 40C5). Maybe it's just the name of the key. 40C4 is always press-and-hold for that button and 40C5 is press-once. Maybe it's in the hardware this way.
Or does someone know differently? How did MvanIperen know that 40C8 refers to the backlight button? What's at 40C6 and 40C7? 40C9?
Answers below please
Thats an absolutely fantastic find. I wonder if we can actually map individual keys to different functions. Now that would be simply superb!!!
40C1-Contacts
40C2-Video Telephony
40C3-Camera
40C4-Voice Recorder
40C5-Speed Dial
40C6-???
40C7-???
40C8-Backlight (now added)
40C9-???
.
.
.
.
Any suggestions guys?
I have pm'd MvanIperen. Hopefully, he will join us soon. Look forward to his input in this...
UD.
Sorry guys,
I've been trying to map various buttons, and keys but with no result so far.
Will let you know when I find out something new.
Brilliant!
I've mapped the backlight to WA2's new "Toggle Screen" program, and now my backlight button does what I've always thought it should have done in the first place.
Many thanks!
Hey,
Thanks for trying Ivan. We look forward to any input from you. Just one question though, how did you manage to figure this bit out?
Cheers.
universaldoc said:
Hey,
Thanks for trying Ivan. We look forward to any input from you. Just one question though, how did you manage to figure this bit out?
Cheers.
Click to expand...
Click to collapse
I found this by luck, using pocket artist. The backlight key was mappable to an action, and it gave the code C8. The rest was just deducting from registry. Sorry not to have posted this in a proper thread, I was busy at work.
Guess I should have had to get the bell and whistle :wink:
http://forum.xda-developers.com/viewtopic.php?t=33466&postdays=0&postorder=asc&start=0#185747
Can you guys please give me a step by step instruction. I have no idea as to what you guys are taking about. PLEASE.
cktlcmd said:
Can you guys please give me a step by step instruction. I have no idea as to what you guys are taking about. PLEASE.
Click to expand...
Click to collapse
1. install PHM Regedit (or any other registry editor)
2. go down to this location HKLM\SOFTWARE\Microsoft\Shell\Keys
3. create a key "40C8"
4. Go to the key HKLM\Software\Microsoft\Shell\Keys\40C5
5. Select all values under that key and copy it
6. Paste it under the new key "40C8" you just created in step 3
7. rename it to suit a readable name like "Backlight"
8. Softreset using some app like psShutXP or pocket plus (and NOT using the hole)
8. now, you can configure this button as u do normally (for the rest of the buttons)
S
dreamtheater39 said:
8. Softreset using some app like psShutXP or pocket plus (and NOT using the hole)
Click to expand...
Click to collapse
I reset using the hole with no problem at all.
dreamtheater39 said:
1. install PHM Regedit (or any other registry editor)
2. go down to this location HKLM\SOFTWARE\Microsoft\Shell\Keys
3. create a key "40C8"
4. Go to the key HKLM\Software\Microsoft\Shell\Keys\40C5
5. Select all values under that key and copy it
6. Paste it under the new key "40C8" you just created in step 3
7. rename it to suit a readable name like "Backlight"
8. Softreset using some app like psShutXP or pocket plus (and NOT using the hole)
8. now, you can configure this button as u do normally (for the rest of the buttons)
S
Click to expand...
Click to collapse
THANKS VERY MUCH TO YOU AND EVERYONE WHO POSTED. I GOT IT WORKING. YAHOOOOOOO!
Basically, I now get the idea of how to assign these. Thus, we can also assign "press and hold" functions to button 1, 2, and 3, by simply copying the files off 40C4 and renaming "button 4" to either 1, 2, or 3, depending which button we want the "press and hold" function.
Now if only we can reassign "press and hold" functions to any key. That would be something really to celebrate.
universaldoc said:
40C1-Contacts
40C2-Video Telephony
40C3-Camera
40C4-Voice Recorder
40C5-Speed Dial
40C6-???
40C7-???
40C8-Backlight (now added)
40C9-???
Any suggestions guys?
Click to expand...
Click to collapse
40C6- Volume up
40C7- Volume down
Thank you all guys, I remmaped the Light Button to be the OK/Close button of programs and works great!
I'll try now the sliders (uo/down) volume.
@Azhad,
Thanks!!!
40C1-Contacts
40C2-Video Telephony
40C3-Camera
40C4-Voice Recorder
40C5-Speed Dial
40C6-Volume Up
40C7-Volume Down
40C8-Backlight (now added)
40C9-???
.
.
.
.
40C9 - Calendar
DaveUK said:
40C9 - Calendar
Click to expand...
Click to collapse
Which is the calendar button?
Left side next 2 green phone key. Also programs the screen calendar button to the bottom left of screen.

Copy/paste under hardware key?

I am using the smartkey program to hold the softkeys to enter startscreen.
Now I am looking for an option or a program to copy/paste and to put it under the message button.
Or does anybody knows a program that only gives the option to cut/copy/paste.
With this my phone would be perfectly tunned.
aage said:
I am using the smartkey program to hold the softkeys to enter startscreen.
Now I am looking for an option or a program to copy/paste and to put it under the message button.
Or does anybody knows a program that only gives the option to cut/copy/paste.
With this my phone would be perfectly tunned.
Click to expand...
Click to collapse
If the context menu of the program contains copy and paste, you can hold the center key of the 5-ways navigator to popup the context menu.
water
Hi Water,
Thanks, but not all programs have that option. That's why I like to have a program like that.
Right now i'm using Magicbutton but that doesn't have that function. GSMagic had it but I like Magicbutton better. So now I need the copy/past function.
You can try Xbar which is under the D-Pad. It opens up a screen in which you can select the running task but also shortcuts to programs of your liking and there are shortcuts ready for copy and paste and cut.
Wouter
You can use PQz to map a hardware key (I use the Windows-key) to CTRL, so that you can use ctrl-c, ctrl-v etc.
http://forum.xda-developers.com/viewtopic.php?t=33343&highlight=ctrl
I think... just speculating here.. that they are more looking for...
press button - it copies whatever is the active selection
press button again - it pastes whatever is on the clipboard
Not sure, though... ctrl+c / ctrl+v works with the SIP, with that tool it works with the hardware keyboard, and if you're working with the sip - and thus a stylus - you can often just tap-and-hold and choose copy from the context menu.
PHM Keys comes with cut copy paste.
Use a button mapper to do as ZeBoxx says, if it's what you need, and you'll have quick access to said functions.
V
Thanks,
I'm using PQZ now. With TAB as CTRL. WIN would not work together with smartkey, because hold button 1 is the same hex number as WIN.
But this program is realy good.
My Solution to this...
I have a slightly hacked up copy of PHM Keys (couldn't get it to install on my 8125, so I hacked it off of a WM2003 device) that I'm using to solve this problem.
In my Start Menu I have three icons - "Object Copy", "Object Cut", and "Object Paste" (PHM Keys) so whenever I have something highlighted I click my (smartskey modified) Start Menu soft button, scroll down a slot or three with the 5-way, and select the copy/cut/paste operation I need.
When the KB is open it's even quicker Start-o Start-b Start-j respectively. Another plus is this works in nearly EVERY situation where you can highlight something. Sometimes the other options (context menus, SIP kbds, etc.) don't work everywhere.
Now some may not want to waste three Start Menu slots, but I have Tray launch filled with my apps, still have 4 Start Menu slots available, and all my non-soft buttons are mapped to one app or another, so I'm cool with them.
Plus I have my SIP pop-up KB completely disabled (I hate it's "intrusiveness" and only use the HW KB in landscape mode) so in portrait mode I had *NO* way to copy/cut/paste and had to devise something.
Good Luck
-JMS
I've updated VJKeyPress to add -cut, -copy, -paste.
On my website.
V

[APP] DredSensor v1.1 - Allow you to personalize Hard Key Actions

=======================================================================
New version 1.2 available here
=======================================================================
=======================================================================================
DredSensor v1.1d:
=======================================================================================
Link ->: DredSensor-v1.1d
New features in v1.1d:
=====================
Let you choose which Key/Action you affect to each key.
Launcher Mode let you affect an Action for:
Double Tap event
Click event
Long click event
An icon for config tool is created in Program list.
Cache Program List for quick loading in Config window.
Fixes a few bug from v1.1, v1.1b and v1.1c
Tips:
=====
If you upgrade to this version, your config file will be cleared (sorry ).
To define a profile that applies on every applications, launch config tool and edit "Default" config.
If the key you want to affect is not listed, you can define it manually:
Type "Key:[email protected]@", with @@ = VKey code of the key you want to affect.
You can find VKey code list on : http://msdn.microsoft.com/en-us/library/bb431750.aspx
=======================================================================================
DredSensor v1.0:
=======================================================================================
=======================================================================
Reviewed on gadgetmix.com: See the article
=======================================================================
If you have tried to play a game needing left and right key on an HTC Touch Diamond, you noticed that they are 2mm wide and if you click next to it, you get back to home page or to dialing menu etc...
So I've written a prog allowing you to lock these 4 keys actions and replace it by classical key event (VK_LEFT, VK_RIGHT, ...).
In that way you can play tetris, and use "Pick-Up" and "Hang-Up" keys for going left and right.
Link ->: DredSensor
To use it, you need:
1) An HTC Touch Diamond (it's the only one i have so i can't test it on other models)
2) Install the .cab
3) Reboot your HTC
4) Run a game (or app or ...)
5) Get your stylus out and back-in, in less than 1 second
6) Click "Yes"
----- A config window opens:
7) Check that Type = "HardKeySimul"
8) Click "Ok"
Now you can use (and eventually assign) your 'Home', 'Back', 'Pick-Up' and 'Hang-Up' keys in that game/app.
Actually, the 'Pick-Up' and 'Hang-Up' keys are always defined as Left and Right events.
Have fun.
Ps:
For people interested, the other "Type" in the config window are:
- "Launcher": allow you to quicklaunch 4 app (that you define in the config wnd) when you double tap (not click, just tap) on one of those 4 keyz
- "Scroll": allow you to scroll the current window by tapping those 4 keyz panel
- "KeySimul": allow you to send left/right/up/down events by tapping those 4 keyz panel
Thx, now I can use opera mini and pie (good for mlb's wap) in full screen
Thank you very much. Great program. Now, with left and right softkey hardware buttons, I can play with my java games.
Claus72 said:
Thank you very much. Great program. Now, with left and right softkey hardware buttons, I can play with my java games.
Click to expand...
Click to collapse
Do any of them even work on the vga screen?
first of all: great app!
only thing i don't like is that now every time i pull out the stylus the phone vibrates. maybe you could make the "window-catching-thing" optional, so you have to enable it first?!? with that, the app would be perfect to me!
figured out an other problem: the "scroll-wheel-function" in opera and tomtom doesn't work anymore...
Herr_Knigge said:
first of all: great app!
only thing i don't like is that now every time i pull out the stylus the phone vibrates. maybe you could make the "window-catching-thing" optional, so you have to enable it first?!? with that, the app would be perfect to me!
figured out an other problem: the "scroll-wheel-function" in opera and tomtom doesn't work anymore...
Click to expand...
Click to collapse
Hello.
As it's a background program, making vivrate the phone is the best way i found to easlily know if it's loaded or not.
If you don't like that, you can disable it by manually editing the 'Config.ini' file in '/Program Files/DredSensor':
Go under the section you want to disable vibrator in (ex: "[Default]")
Add: "NoVibrate=1"
For the scroll problem, i didn't change scrolling system from v1.0 so are you sure it was working in v1.0 and it's no more working in v1.1?
@Dredger97
Thank´s for this wonderful tool!
Greeting
Slide
is there a wa to map home/back to A/B controller buttons? Trying to get it to work with PocketNester Thanks
Thanks
I will tried
Seems to be good. Shall download and try...
Doesn't work for all hard keys
I have the original diamond and it doesn't look like any of the key presses work.
I could really do with replacing volume and Home/Back Buttons. Do these buttons
support Long press too?
bugsykoosh said:
is there a wa to map home/back to A/B controller buttons? Trying to get it to work with PocketNester Thanks
Click to expand...
Click to collapse
If you go in PocketNester -> Option -> Controller, you can see that it's default mapped to 0xC4 and 0xC3 key codes.
So all you have to set in DredSensor is:
- Home: "Key:0xC4"
- Back: "Key:0xC3"
I tried that on super mario, it works, but the problem is that you can't press those keys and simultaneously press Left and Right so it's quite hard to play...
In fact you can map Volume Up and Down keyz to button A and B and it's much easier to play.
djfuego said:
I have the original diamond and it doesn't look like any of the key presses work.
I could really do with replacing volume and Home/Back Buttons. Do these buttons
support Long press too?
Click to expand...
Click to collapse
The actual version of DredSensor doesn't change anything to volume up/down buttons.
All it catches is Home,Back,Talk and End hard keys.
About long press,
- In "Launcher" mode, you can define action for "Long click"
- In "HardKeySimul" mode, if you make a long press to "Home", and mapped "Left" key to "Home" button, it will occure a long press on "Left" key.
I just don't seem to be able to get this to work - I follow the first post to remap the home and back keys to the softkeys, but home always takes me back to touchflo.
Are there any other things I can try, or is it just the ROM i'm using doing this?
Furbious said:
I just don't seem to be able to get this to work - I follow the first post to remap the home and back keys to the softkeys, but home always takes me back to touchflo.
Are there any other things I can try, or is it just the ROM i'm using doing this?
Click to expand...
Click to collapse
I don't think it's a ROM problem.
The 2 most common reasons for not working are:
It doesn't work if you have G-Scroll or something similar installed.
When you edit config for an App, this config only applies when "Window Title" and "ClassName" of the foreground window matches what is defined in that Config.
If it doesn't match any config, DredSensor doesn't catch your hard keys.
You can use wildcards in your Config so, for example, if the app you want to configure always changes its title, you can set "*" for window title.
everything gose well in my diamond! Thx!
just a little suggestion : as volume up/down could be very useful in some app (like a game emulator), could you make them configurable in your next version?
nice job!
Furbious said:
I just don't seem to be able to get this to work - I follow the first post to remap the home and back keys to the softkeys, but home always takes me back to touchflo.
Are there any other things I can try, or is it just the ROM i'm using doing this?
Click to expand...
Click to collapse
I make a softreset and works whit no problem, when i click home button open the program i assign.
Doesn't seem to work in Phone screen. I am not sure if it is because it is a dialog class. If this could be made to work, it would be great as when a person has multiple phone numbers you could scroll by pressing right or left key.
Thanks in advance
just tested it with tetris and it worked great. good stuff
Dredger97 said:
I don't think it's a ROM problem.
The 2 most common reasons for not working are:
It doesn't work if you have G-Scroll or something similar installed.
When you edit config for an App, this config only applies when "Window Title" and "ClassName" of the foreground window matches what is defined in that Config.
If it doesn't match any config, DredSensor doesn't catch your hard keys.
You can use wildcards in your Config so, for example, if the app you want to configure always changes its title, you can set "*" for window title.
Click to expand...
Click to collapse
I've nothing like that installed - I've tried wildcards, and soft resetting between altering them, even setting the default so that it should catch any class or window so that the home and back keys are soft keys one and two.
It's semi trapping the window and keys.......I just wonder if your app is not being fed the correct window name/class, or there's some extra characters or something that is fooling it.
Here's an example - setting home and back keys to the softkeys, with a config of * for window, and * for class.
On the touchflo screen, pressing home will take it to the phone screen (correct left softkey action), but once in the phone screen, pressing home takes it to the touchflo screen when it should go to contacts.
If I'm in any other application, it never traps the home key, and will always go back to touchflo. Disabling touchflo doesn't change this, it takes it back to the today screen.
I'm using shak's rom if anyone else can confirm they can get it to work using that one

Please help - can't change the right softkey!

Hi guys!
I tried to change my right softkey from "Menu" to "BT Toggle" (a bluetooth switching program I've already installed) using Advanced Configuration Tool 3.3 but it didn't work on my HD2.
When I restart the HD2, the key is changed to "BT Toggle" but after entering the PIN and after HTC sense started the key is named "Menu" again.
I looked into the registry but all is right there, the changes were saved. But why is the new softkey name only displayed before starting HTC sense and not after?
Any ideas?
Best regards,
Oliver
Home RSK
I wouldn't mess with the right soft key of sense.
Only the left.
How would you edit the quick tabs?
If you aren't using sense, only the WM interface, you can edit those SK's.
Did you get BT Toggle to work?
It wouldn't for me.
Benz-Driver said:
Hi guys!
I tried to change my right softkey from "Menu" to "BT Toggle" (a bluetooth switching program I've already installed) using Advanced Configuration Tool 3.3 but it didn't work on my HD2.
When I restart the HD2, the key is changed to "BT Toggle" but after entering the PIN and after HTC sense started the key is named "Menu" again.
I looked into the registry but all is right there, the changes were saved. But why is the new softkey name only displayed before starting HTC sense and not after?
Any ideas?
Best regards,
Oliver
Click to expand...
Click to collapse
This one works with my HD2:
http://forum.xda-developers.com/showpost.php?p=4292054&postcount=11
Sorry, what do you mean with
I wouldn't mess with the right soft key of sense.
Only the left.
Click to expand...
Click to collapse
My english isn't that good...
Using this post by vovichek62 as a guide I used the following process to change the right soft key:
Download LuaDec from here and extract
Copy \Windows\07c67730_manila from device to luadec folder (and somewhere else as a backup).
Open a command prompt there
Run
Code:
luadec 07c67730_manila > 07c67730_manila.lua
Open 07c67730_manila.lua in an editor like notepad
You need to change two functions. The fuction above "SetSoftKey = l_0_0" sets the text for the soft buttons. This is my modified line:
Code:
_application:SetRightSoftkey(Softkey(Locale:GetString("IDS_CONTACTS"), OnMenuPressed))
I think it was originally set to IDS_MENU. That "OnMenuPressed" is the function called when you press it.
So now you need to change that function - The function above "OnMenuPressed = l_0_0". On mine this is now:
Code:
l_0_0 = function()
_application.Navigation:Navigate(URL("Manila://people/browserlayer/peopleAll.page"), false)
end
Now, back in the command prompt run:
Code:
luac -o 07c67730_manila 07c67730_manila.lua
and copy 07c67730_manila back to your device.
If you were up for it you could probably copy some of the left soft key code to allow changing the right soft key in the registry.
Xaddict is right, once you do this you can no longer tweak your home buttons. If I need to change one I go back in to the registry and find:
HKEY_LOCAL_MACHINE\Software\HTC\Manila\Home\0\IsSet (where 0 is the button number) and change the value to 0. If you then restart manila (or your device) you can change that button. It will still show the old text and icon until you do. I also made a simple .reg which clears all the buttons, attached. For me it was worth this hassle as I could remove the People tab.
Tx fot BT Toggle
Nice one.
Thanks very much : )
Benz-Driver said:
This one works with my HD2:
http://forum.xda-developers.com/showpost.php?p=4292054&postcount=11
Sorry, what do you mean with
My english isn't that good...
Click to expand...
Click to collapse
iv just made a new 07c67730_manila file that reads from the registry
so all you have to do is download my 07c67730_manila file
http://www.filefront.com/16489283/07c67730_manila
then copy it to your windows folder (backup the old 07c67730_manila file)
then in registry at:
HKLM > Software\HTC\Manila
Change:
HomeRSKPath
HomeRSKText
HomeRSKArguments
to anything you like
for contacts:
HomeRSKPath Manila://people\browserlayer\?.page
HomeRSKText anything you like something liek contacts or all people
HomeRSKArguments leave this blank
how to remove quick Links without the menu:
all you do is hold the quick link you dont want for about 3-4 seconds and then drag it away this works on my dutty rom but gessing its the same for all roms
I am using HD2Tweaks - beats the hassle of backing up/copying manila files, editing registry entries - to assign the left and right softkey at the Home/Today screen.
But the available options are a fixed set.
Telephone (default for left), Menu (default for right), Backlight, Contacts, Contacts List, Notes, Calendar WM, Calendar WM (week view), Calendar WM (month view), New Appointment, Tasks, Messaging, SMS/MMS, Internet, Opera, Camera, Album, Comm Manager, File Explorer, Google Maps, Internet Sharing, MyPhone, RSS Hub, Radio FM, Windows Live, You Tube.
http://forum.xda-developers.com/showthread.php?t=588652
HD2Tweaks does not work for me on duttys rom so if HD2Tweaks works thats grate but mine is like a backup option
Holding quicklinks for 3-4 secs dont work for me. I'm on 1.66 WWE stock ROM. Need help on how to remove quicklinks. Also does anyone know the path for New SMS on LSK or RSK? Thanks!

Assign HD2 Task Manager to Hardware Send Key

Hi, This is my First Post to XDA. After using TP2 for 2 months, I just got my new HD2. Its a great piece of Hardware but I immediately notice following things:
1. The Standard Task Manager that used to sit at Top Right Corner is no longer there.
2. All Settings->Personal->Buttons does not have any Button Listed. So, I cannot assign a Task Manager to Hardware Key.
After investigating, I could find that the Task Manager that find from "Settings"->"Other"->"Task Manager" is located in \windows\taskmgr.exe
This is not a Bad Task Manager but I needed to assign this to a Hardware Key.
Following Registry entries will allow you to bring up the "taskmgr.exe" when you perform a Long Press to Send Key (Left Most Hardware Key on HD2):
Go to in registry:
HKLM\Software\Microsoft\Shell\
Create a new Key: Keys
Inside "Keys" create another Key: 40C6
Inside "40C6" create following Registry values:
1. Name= Name value= Send key(Hold) type=string
2. Name= Icon value= \windows\SendKeyIcon.exe, 0 Type=string
3. Name= Flags value= 0 Type=dword
4. Name= default value=\windows\taskmgr.exe Type=string
Now restart. This is working great for me.
or just use Duttys Task Manager for Leo which adds back the task manager to the top right of home screen and very nice it is too
snapworx said:
or just use Duttys Task Manager for Leo which adds back the task manager to the top right of home screen and very nice it is too
Click to expand...
Click to collapse
I used Dutty as well. It gives back the Lost Task Manager from TP2. However, I also need a ATL-TAB type task switcher.
rezaulkabir said:
I used Dutty as well. It gives back the Lost Task Manager from TP2. However, I also need a ATL-TAB type task switcher.
Click to expand...
Click to collapse
Try this
http://forum.xda-developers.com/showthread.php?p=1700898
I don't know about assigning it to keys though. May be something in the registry to assign buttons?
A much simpler way to run something from a long press on the send key is to make a shortcut to the app and rename it to "long_send". Then, copy it to the windows folder.
Hi all,
I'd like to map another key for a long press. For example the Windows logo hardware key. What is the code for this ? I only know 40C6 for the call key.
Thanks.
johncmolyneux said:
A much simpler way to run something from a long press on the send key is to make a shortcut to the app and rename it to "long_send". Then, copy it to the windows folder.
Click to expand...
Click to collapse
Man, that is brilliant! I thought I was going to have to install AE buttons to achieve this! thanks heaps.
johncmolyneux said:
A much simpler way to run something from a long press on the send key is to make a shortcut to the app and rename it to "long_send". Then, copy it to the windows folder.
Click to expand...
Click to collapse
If "long_send" exists, I cannot answer incoming call with this key.
Is it possible to assign a long press action to "home" or "Windows" key? What will be the right filename? It seems not possible with HD2 after seraching the forum.
Thanks.
Thanks!! This registry tweak works like a charm!
Trick with long_send.lnk doesnt work for me...
Another keycode is 40C7 for Endkey.
Does anyone know how to make this work on a bluetooth headset?
I'm trying to get cybertron Voice Commander to fire up on a long press of the send button on my bluetooth headset.
I've put a link to the app in /windows and named it long_send. The send key on my HD2 opens the app but the headset key doesn't?
Any idea why?
Regards
Clive
johncmolyneux said:
A much simpler way to run something from a long press on the send key is to make a shortcut to the app and rename it to "long_send". Then, copy it to the windows folder.
Click to expand...
Click to collapse
That is great!
Any other shortcuts for at least one of the HD2 keys (Home, Back, Win)?
Since I just ran into a problem with the long_send way of doing things, I thought I would add what I encountered.
I have just bought pocketshield, and wanted to have a task manager on a long send key function. Changing copying a shortcut to \windows and renaming it long_send worked great, until I power cycled. At that point the long_send disappeared, and I had to redo the shortcut trick.
I figured something was deleting it, so I used total commander to change the shortcut properties to a system read only file. This worked for the long_send function, but it broke my task manager...
So, I deleted the long_send shortcut, rebooted, and the task manager worked again, so it seems there is a conflict. I ended up using the registry hack from the first post to get it working.
Cheers!
An easier approach... You can assign any volume key long-press to the task manager(or to any program), with Volumex software
Volume keys are easier to reach as they are always next to your thumb(left hand) or next to your index (right hand). Especially on the HD2 which is big and HW keys too far below...
any solution for the win key?
sorry. duplicate..
slayerns said:
any solution for the win key?
Click to expand...
Click to collapse
+1
I would like to map this to the win hard button too.
Hello,
How to change the function to the button "Back" HTC HD2?
Merci
cliver said:
Does anyone know how to make this work on a bluetooth headset?
I'm trying to get cybertron Voice Commander to fire up on a long press of the send button on my bluetooth headset.
I've put a link to the app in /windows and named it long_send. The send key on my HD2 opens the app but the headset key doesn't?
Any idea why?
Regards
Clive
Click to expand...
Click to collapse
Well, I wonder how HTC could miss this point about assigning buttons and bluetooth stuff as flixibility is probably the most important thing that wm users want.
For me, I have tried the long_send.lnk trick with MSVC, which works , but I can't receive call with send button. Now my main problem is the call button on my headset that when I long press it, it doesn't start any application, but after I install Cyberon VSD, it starts. There should be somewhere that we can configure the file location in which this long press function triggers, but still can't find it. I even can't find the Cyberon exe files.
Any idea, guys? Thanks in advance..
rezaulkabir said:
Hi, This is my First Post to XDA. After using TP2 for 2 months, I just got my new HD2. Its a great piece of Hardware but I immediately notice following things:
1. The Standard Task Manager that used to sit at Top Right Corner is no longer there.
2. All Settings->Personal->Buttons does not have any Button Listed. So, I cannot assign a Task Manager to Hardware Key.
After investigating, I could find that the Task Manager that find from "Settings"->"Other"->"Task Manager" is located in \windows\taskmgr.exe
This is not a Bad Task Manager but I needed to assign this to a Hardware Key.
Following Registry entries will allow you to bring up the "taskmgr.exe" when you perform a Long Press to Send Key (Left Most Hardware Key on HD2):
Go to in registry:
HKLM\Software\Microsoft\Shell\
Create a new Key: Keys
Inside "Keys" create another Key: 40C6
Inside "40C6" create following Registry values:
1. Name= Name value= Send key(Hold) type=string
2. Name= Icon value= \windows\SendKeyIcon.exe, 0 Type=string
3. Name= Flags value= 0 Type=dword
4. Name= default value=\windows\taskmgr.exe Type=string
Now restart. This is working great for me.
Click to expand...
Click to collapse
I am not shure what goes into Name field and what into String field, i have tried to put Name value= Send key(Hold) into Name field, also Name value into Name, Send key(Hold) into string, and it didn't work for me. Can u tell me please what goes into what field. thanks
Here is the ready complete registry key
http://www.megaupload.com/?d=OLB5RHLE
Put in the phone and start, soft reset after that.
Go to settings\personal\buttons and assign program for the list that appears below.

Categories

Resources