FORUMS
Remove All Ads from XDA

How to assign a shortcut to EndKey, SendKey, Power Button, PTT Button!!

651 posts
Thanks Meter: 0
 
By hma4, Senior Member on 3rd January 2008, 08:40 PM
Post Reply Email Thread
Hello

Since some of you guys asked about this , well there you go:
if you look inside the keyboard driver with a good disassembler (IDA Pro) you would see that you can create these link files :

Long_PTT.lnk (push to talk button+long press)
Long_End.lnk (the read key+long press)
Long_Send.lnk (the green key+long press)
Short_PTT.lnk (push to talk button)
Long_Power.lnk (Power button +long press)
Short_Power.lnk (Power button)

So basically all you need is to create these link files and put them in to windows folder. You can assign these keys to any shortcut you want

I attached one of my favorite short cuts unzip the file then put it in to your windows folder. then press Send Key for about 2 to 3 second to run the shortcut. It will bring up the wifi networks.

Have fun.
Hma4

ps:for assigning EndKey to HTC EndKey look here:
http://forum.xda-developers.com/showthread.php?t=356192
Attached Files
File Type: zip Long_Send.zip - [Click for QR Code] (185 Bytes, 4285 views)
3rd January 2008, 09:11 PM |#2  
petervbeck's Avatar
Senior Member
Flag in front of your monitor
Thanks Meter: 0
 
More
This is just great! Hats off! Now Endkey makes some sense to me...
3rd January 2008, 09:18 PM |#3  
smittyofdhs's Avatar
Senior Member
Flag Desert Hot Springs, CA
Thanks Meter: 1
 
More
This has to be the best trick found since I got my Tilt. THANK YOU!!!

Mine is setup as follows:

Long Send - Comm Manager
Long End - Invoke S2U2
Short PTT - PocketPlus4 Alt+Tab Switcher
Long PTT - Voice Command

I did the PTT button mappings with PP4's button enhancement instead of the lnk files mentioned above. But the other 2, which until now, have not been useable for long presses, so THANK YOU again.
3rd January 2008, 09:23 PM |#4  
Senior Member
Thanks Meter: 2
 
More
While poking around in the keyboard driver, did you see a way to assign a shortcut to sliding the keyboard out? I think a HTC Action-type app for the Kaiser is not a bad idea.

Surur
3rd January 2008, 09:28 PM |#5  
Senior Member
Flag Denver
Thanks Meter: 13
 
More
ok, I feel really dense, how do you assign the keys? I don't see them listed under buttons after copying the lnk file to my \windows directory. Can this only be done when cooking a ROM? What am I missing? (I did a soft reset after the copy)
3rd January 2008, 09:33 PM |#6  
smittyofdhs's Avatar
Senior Member
Flag Desert Hot Springs, CA
Thanks Meter: 1
 
More
Quote:
Originally Posted by Edvard_Greig

ok, I feel really dense, how do you assign the keys? I don't see them listed under buttons after copying the lnk file to my \windows directory. Can this only be done when cooking a ROM? What am I missing? (I did a soft reset after the copy)

they won't show up there. Just try the button after you copy the lnk file to windows directory.

What I did was find the shortcuts that I want to use for the send and end button. Copy those shortcuts and rename them to the above names. Then move the shortcut into windows directory. it worked right away, no reboot needed.
3rd January 2008, 09:37 PM |#7  
Senior Member
Flag Denver
Thanks Meter: 13
 
More
Ah got it! Thanks!
3rd January 2008, 10:50 PM |#8  
Senior Member
Thanks Meter: 0
 
More
OMG this is so awsome! Thank you!!

I already have the PTT button reprogrammed using the registry hack listed elsewhere. I think I will leave those as is and use this method after the next hard reset.
3rd January 2008, 11:59 PM |#9  
gullum's Avatar
Senior Member
Thanks Meter: 10
 
More
Dam this is realy good findings you just keep amazing me hma4 now I have to but the endkey back into my rom
4th January 2008, 12:15 AM |#10  
Nadavi's Avatar
Senior Member
Thanks Meter: 5
 
Donate to Me
More
Great Catch!

Thanks,
Nadavi
4th January 2008, 12:18 AM |#11  
J273's Avatar
Senior Member
Thanks Meter: 2
 
More
Would this also work with a touch dual?


Thanks
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes