[Q] Re-mapping "short press send key" - possible? - General Questions and Answers

I currently have a Kaiser and I'm planning the following setup:
- left soft key: Dialpad (phone canvas)
- short press send key: Call History.
For the left soft key, it is quite easy, go to:
Code:
HKEY_CURRENT_USER\Software\Microsoft\Today\Keys\112\
and change "Open" to "\Windows\cprog.exe" and "Default" to "Dialpad" or whatever name. Soft reset.
Or simply delete the content of 112 key and soft reset, without it the left soft key defaults to "Phone" linked to the phone canvas.
Call history is also easy to shortcut "\Windows\LaunchMSItem.exe" CALLHISTORY_ALL_CALLS.
The issue is with the short press send key. I searched my guts out but I could not find how to remap it. Found solutions for "long press" but not for short.
I want of course to keep the ability to actually dial a number with it.
I am interested in a simple solution without aditional software, scripts etc.
Help much appreciated.
Regards - Daniel

To my knowledge you can't map the send/end keys for short press unless you start digging real hard in some system files which.. even pauldegroot didn't manage to do.. and supbro is still fighting for with iDialer..

By 'end key' if you mean the Off-hook key (the red button), then you can't remap it without using third-party apps.
In fact, it's a bit of a bother even by using third party apps.
The reason is because the dial and end keys are special keys designed almost exclusively for the purpose of using in the phone app.
For more technical info, and how to go about doing it the really hard way:
http://thefiles.macadamian.com/2008/06/detecting-phone-buttons-on-wm56.html

I use aebutton plus to remap my send and end keys - not short key though - I have them mapped for double press/ tripple press. (long press and short-presshave the old functions..)
-mark

@deXter: it was the send key, sorry for that, I corrected the first post. Your link is still valid however - thanks - it seems I have to do a lot more reading on this.
Any quick solution is still welcome

again, same problem.

Small progress
1. By editing
Code:
HKEY_LOCAL MACHINE\SOFTWARE\Microsoft\Shell\Rai\:MSCprog\1
I can assign any program to the send key.
Trouble is:
- cprog is not starting anymore with the phone, meaning no signal and no dialing.
- the newly assigned program autostarts at boot.
2. In some WM5 documentation, I learned that under
Code:
HKEY_CURRENT_USER\Software\Microsoft\Today\Keys\
you could have four keys, 112, 113, 114, 115, corresponding to the left soft, right soft, send and end keys respectively.
In WM6 only the first two seem to work.
Still searching...

Related

PTT remap/fix

Good Evening
I downloaded a PTT fix from http://www.howardforums.com/archive/topic/1054343-1.html & installed the .cab file. It created a button 5 option in my settings/buttons menu. However, when I set that option for camera instead of PTT...it still initializes the PTT vs the camera. I'm going to assume that the PTT is not button 5 on the fuze, hence why it won't work. Does anyone know which button that it might be, and how i could edit that file? or make my own work around?
Thanks
The PTT might be hard wired to the PTT hardware needed for ATT's push to talk, kinda silly really I don't see why they still push this I've yet to meet anyone on ATT who uses this feature, maybe one day ill run into a cunstruction worker who knows.
TazMan1688 said:
Good Evening
I downloaded a PTT fix from http://www.howardforums.com/archive/topic/1054343-1.html & installed the .cab file. It created a button 5 option in my settings/buttons menu. However, when I set that option for camera instead of PTT...it still initializes the PTT vs the camera. I'm going to assume that the PTT is not button 5 on the fuze, hence why it won't work. Does anyone know which button that it might be, and how i could edit that file? or make my own work around?
Thanks
Click to expand...
Click to collapse
I'd love to see a solution to this too. I tried the Tilt registry hacks that let you re-map the PTT button but all that did was disable the button completely. (Which is still an improvement because at least now I don't have the PTT message come up every time I accidentally hit that button...)
Black93300ZX said:
CONFIRMED, this is how to keep that annoying PTT message from coming up on American Touch Pro's (Fuze maybe? whatever).
Keep in mind, you can't individually map this button with this method, that may come later.
Step 1: Registry editor, remove HKLM/Services/PTT
Step 2: Create a key in HKLM/Software/Microsoft/Shell/Keys called "40C2"
Step 3: Create a string within that key, titled Name with the value being "Button 6" or whatever
Step 4: Soft reset.
From this point on you can remove 40C2, but your PTT button will simply perform with a press what your send button performs with a hold (which can be remapped easily... Settings/Buttons/Button1(Hold)).
Click to expand...
Click to collapse
10 chars..
I were to remove that string after i install the .cab, would that disable PTT,and the settings menu take over?
I realize I can do a registry hack, but I was looking for something that A) would be easy to install/uninstall B) would add an easily accessible option to the settings on the phone.
TazMan1688 said:
I were to remove that string after i install the .cab, would that disable PTT,and the settings menu take over?
I realize I can do a registry hack, but I was looking for something that A) would be easy to install/uninstall B) would add an easily accessible option to the settings on the phone.
Click to expand...
Click to collapse
Um that is the easiest way right now.
And it does as B). Just change what Button 1 (Hold) to whatever you want and that's what your PTT button will act as.
Alright, its Button 1...awesome. Now lets see if I can find that setting ;-)
In settings/personal/buttons
...there is only an option for button 5, and button 5(hold). 1-4 do not show up there. How would I go about editing button 1's action?
Thanks alot
I found a program called AE BUTTON PLUS, it allows you to map any hardware button on the device. The PTT button is not listed by default so you need to "add button" it will then ask you to press the hardware button you would like to map, after that it shows up on the list and you can map it... I have found that adjusting long press setting causes issues, but tap and double tap work fine. I have tap disabled since I always hit the key by accident, double tap is Torch. Working fine so far. I believe you can even map individual keys on the keyboard in the same way.
I tried to use AE Button Plus(registered it), and had no luck creating an action for the PTT button. So I followed the registry ediit intructions, again..with no avail.
My PTT is disabled, which as previously stated, is better than nothing.
I would like to clarify two things. Does 40C6, and 40C7 relate to PTT on all devices, or is this a phone by phone basis? 40C6 could be PTT on a tilt, but the touch may be 33D4. Noobish question, but I'm not sure how this stuff works.
Also you said its "Button 1". Again, does this refer to hardware button # 1. Or is this just a random name we give it so we know which one to edit in the buttons menu?
So if I use 40c6, and 40c7 for "Button 1", and "Button 1(hold)"...it should work?
...I also used Button 6 & Button 6 hold as in the Tilt instructions. Same function.
I appreciate the assistance gang!
any1 have any luck?
If you want to remap the PTT button using a cab file (instead of manually doing reg tweaks) just look here: http://www.fuzemobility.com/ptt-remapping-revisited-application/
pretty simple but read the 'update' at the end

Long End Key remap

Hi. Suppose I just want to remap the long end key press button to something other than the HTC dafault. Do I need AEBPlus for that? I assume that would be a overkill for remapping just one button. The HTC interal app only allows to either display the quick list or make 4 other actions. I was wondering if I can change that to something else without using the AEBPlus app. I just wanted to run the comm manager rather than the htc options
Thanks
Don't get your hopes up about AE Button cause it don't work if your using touch gl. Apparently touch fl keeps regrabning the keys so sometimes they work snd sometimes they dont. I gave up. i think ot might work better with the hold button but like i said i got frustrated snd gaveup when thr suthor told mr there was nothing he could do..
craigwillie said:
Don't get your hopes up about AE Button cause it don't work if your using touch gl. Apparently touch fl keeps regrabning the keys so sometimes they work snd sometimes they dont. I gave up. i think ot might work better with the hold button but like i said i got frustrated snd gaveup when thr suthor told mr there was nothing he could do..
Click to expand...
Click to collapse
Actually I don't need it working with the TouchFlo, as I don't use TF. I only want to remap the long end press button to the comm manager. Of course it would have been great to also map a long press on the Home button or the Back button but I think I read that's not possible even without TouchFlo ?
what no one answered ? wow i thought that's easy,a metter of registry or link change. quite disappointing.
I am also looking for a way to change the back button to run some other program...
How to assign a shortcut to EndKey, SendKey ....
Not tried myself on TP, but maybe it's useful:
http://forum.xda-developers.com/showthread.php?t=356322
Create a shortcut in your windows directory called long_end.lnk
whatever the shortcut points to will run when you long press the end key.
There are a few of these hard press shortcuts
long_end.lnk
long_send.lnk
long_power.lnk
long_ptt.lnk
short_power.lnk
short_ptt.lnk
I can remap all the buttons except the Long End. Somehow the Long End button is mapped to the phone Lock. Where can I disable that and allow for my own?
Start, settings, system tab, long press end key
if you don't see what you want there ... we might have to figure out how to disable the long press htc software
I cooked my own rom and I didn't put in long press end key. I assumed it wouldn't have installed any reg settings for it, guess I'll have to check. Thanks!
For some reason if you don't add HTC Long End to the ROM, it will stick on one setting and can't be changed. Weird, but fixable. If you install HTC End Key (the cab is somewhere on here) it will override the previous setting and then you can either select your preference from within the program or create a custom link. Not sure about the second idea working, since I haven't tried it myself, but I've been able to override HTC End Key when it was installed on previous phones. You could also consider un-installing it after installing it if all else fails.
baub said:
For some reason if you don't add HTC Long End to the ROM, it will stick on one setting and can't be changed. Weird, but fixable. If you install HTC End Key (the cab is somewhere on here) it will override the previous setting and then you can either select your preference from within the program or create a custom link. Not sure about the second idea working, since I haven't tried it myself, but I've been able to override HTC End Key when it was installed on previous phones. You could also consider un-installing it after installing it if all else fails.
Click to expand...
Click to collapse
Yeah, I recooked the Long End Key Press in, but there isn't a custom selection part of it so that must be a different version of End Key software. It's ok not too important.
AEB
Just for those who wonder, AEButton can remap everything (single, double, triple, long presses) on all keys except two: Long Green and Long Red.
You either need to disable Long End Key software or find some other way to hard map these.
Using my HTC Touch Pro. I am still unablet to map the Long press End Key to something other than the limited options that the HTC Long Press End Key program settings offer.
I simply wish to map the long press end key to run a different program. I tried the suggestion offered on this post (http://forum.xda-developers.com/showthread.php?p=1783616#post1783616) but it doesn't work. I put a file called Long_End.lnk in the windows directory, soft reset the device and still it doesn't map to that. Only displays the HTC 'quick list'.
I am not running TF3D.
Anyhelp ? To map to any program I choose ?
Thanks
So no buddy managed to map the End button long press to some other program than the options that the HTC's prg in the settings allow ?
I want to remap the End key to open Phone Weaver Profiles which is much more useful than what the HTC Long End Pressapp offers.
nik3r said:
Just for those who wonder, AEButton can remap everything (single, double, triple, long presses) on all keys except two: Long Green and Long Red.
You either need to disable Long End Key software or find some other way to hard map these.
Click to expand...
Click to collapse
That's not the full story ....
on ex: HTC HD
there are buttons:
"Green Key", -> mapping possible but without Long Press
"Home Key" -> nothing possible !!!
"Back Key" -> not really mapable (mapping possible, but always send to wanted mapping ~backspace and jump back to Homescreen and then the mapped button will execute - little bit strange ..)
Longpress also doesn't work
"Red Key", -> mapping possible but without Long Press
tried with aebutton also (last version)
some additional ideas ?
cu camel
Proto732 said:
Start, settings, system tab, long press end key
if you don't see what you want there ... we might have to figure out how to disable the long press htc software
Click to expand...
Click to collapse
HI!
I'm another one that tried everything to remap the long end key without that HTC app and no solutions.
What we really need is to know how to disable that app from the system.
Anyone help us!

Mapping SIP Key

Ok, I searched around for about an hour, and must not be using the right search term or something. Anyway,
I have an HTC HD2, and i'm trying to run gotomypc with it (and pandora). I can run both, but i have to map the hardware button to my input panel in order for it to come up in either application. Thats all well and fine, except i also like the default long press key option that brings up my voice command. (And for those that don't have an HD2, there is only 1 mappable hardware key). So i have to jump back and forth on button assignments to use applications.
So point is, i installed AE Button Plus, and it appears to be able to do the trick, yet i can't find what file to point the assigned long press button too. Where is "input panel"/aka SIP located at/what directory?
Or does someone have an easier suggestion for mapping a previously unassignable hardware key to the SIP?
Thanks in advance!

Re-mapping keys / Creating or re-assigning keyevent

OK, I've looked around but can't find an answer. Or at least an answer that I can understand. Basically what I'm trying to do is add the ability to quit/exit an app. I've read all about the differing opinions on quitting an app versus pressing back. However, just for my own self-teaching purposes, I want to learn how to do this. I'd like to be able to long-press or double tap a key to either immediately exit an app, or bring up an alternate pop-up menu that allows you to choose an action.
I am thinking specifically in relation to the Browser. The quit option was more necessary pre-CM6 because often times, it would take forever to load the home screen after pressing "home" in order to stop using the browser. A simple exit/quit option that some apps have, usually acts much quicker. Everyone knows that if you've been browsing through a bunch of webpages, hitting the back button repeatedly is a pain in the ass. The other option is to hit menu-->windows-->then close all the open windows-->then hitting the back button once the new window pops up because browser automatically opens a new page once all open windows have been closed.
Another annoyance is not being able to quickly get to your home page. Is there a way to remap/reassign/whatever, keys so that on long-press or double-tap of say, menu, or trackball, a menu pops up which has a "exit/quit" option and a "home page" option?
Another option is to add to the menu (when you hit menu), a "quit/exit" or "homepage" option.
Any help would be appreciated.
So much for a "supporting community". Way to help each other out.
What your trying to do should be located in the /system/usr folder. It has the key information you are trying to edit.
bubonik said:
So much for a "supporting community". Way to help each other out.
What your trying to do should be located in the /system/usr folder. It has the key information you are trying to edit.
Click to expand...
Click to collapse
Yeah, most people are probably trying to figure out a way to tell me I posted in the wrong section or that I need to use the search function. Thanks for your answer but I am familiar with the /system/usr files...I don't see anything in there relating to an action that quits/exits an app. Is there a specific action that is called when someone presses menu while using an app, and the menu brings up options including quit/exit?
Really? Nobody?
The keymap files are stored in /system/usr/keylayout, open them up and have a look at the things you can assign to keys.
Pull-edit-push the correct version for your handset hardware and reboot, changes will take effect. Obviously Magics are sapphire-keypad.kl and G1s are one of the trout files. Most G1s are trout-keypad-v3.kl though you can confirm your specific hardware version with getprop.
Have a search for "keymap" and "keylayout", you'll find there's already a bit of work been done of this, for example this auto key-changer.
I appreciate the help but I guess I'm not explaining myself properly. I have looked at the files in /system/usr/. I know how to remap a key so that, say...volume down = pause music, or change the menu key to have it end a call if I wanted...I know I'm not using the correct terminology all the time but when looking at the various .kl files, there are various "actions" that can be attributed to a particular key. For instance, keys 107 & 62 = Endcall, key 158 = Back, key 10 = the number 9.
In the column next to the numerical keycode in each of the .kl files, there is an "action" that results from pressing the particular key. The action I am looking for is a "quit" and/or "exit" action to apply to a particular key. Let's say I wanted to have key 231 in the sapphire keypad, kill the app I am using. Right now, pressing key 231 = CALL button. Is there a keyevent such as Kill_app or something to that affect that I could put in place of the CALL action so that key 231 = Kill app?

[Q] Non-Touch compactible rom?

Hi guys,
My digitizer has died, and till the new one comes I was thinking of how I could use my T7272, I can write the SMS fine, but I can't send them out, cause the button is on the screen itself... is there a rom I could use freely w/o using the touchscreen?
P.S.
Is the digitizer hard to replace?
You could check out AE Button; it has some options like button presses that will activate soft buttons. I suspect you could send sms's using it. You could also try using mortscripts with AE button that will do stuff you need. There are some pretty simple scripts that will simulate screen taps, and you could assign them to a button push. I'd rather have a working touchscreen, though.
Here are some of the commands:
# 91: startmenu (on some devices it might be home button)
# 92: back key (not the backspace key but back key for closing applications which is available on some devices such as diamnd or blackstone)
# 93: menu key
#112: left softkey
#113: right softkey
#114: accept call (green button)
#115: hang up (red button)
#117: volume up
#118: volume down
#126: data disconnect
#127: toggle speaker
#133: devicelock
#223: power off
I use one to lock the device. Basically, you just put this:
Code:
sendspecial(133)
in a .txt file, and change the extension to .mscr. I call it Lock.mscr, and I have it assigned to a few different actions (like when a call comes in, a script locks the phone). So, sendspecial(112) and sendspecial(113) might help you out. There's also one for hitting 'Ok' in popups, which would probably work for you. I can't find it, though (google 'sendspecial' and you'll find it, it's all on msdn).
Anyway, if you install mortscript (maybe you already have it) as well as AE Button, you could assign button pushes to carry out those actions. Just stick the scripts somewhere easy, like the start menu, and it will be easy to set up.
If you want to get more complicated, there are also mortscript commands that simulate button pushes on the screen. You could set one up that would do just about anything. Also, SK Schema does similar stuff. You can write fairly simple sequences of button pushes that will do just about anything. This is one that I use that runs SK Tools Pim backup (I have it scheduled to run every night in the middle of the night).
#r(\windows\sktstart.exe) #p(STH:20)
#tap(146;602) #sleep(15000)
#tap(110;533) #sleep(500)
#tap(339;455) #sleep(500)
#tap(126;604) #sleep(500)
#tap(114;84) #sleep(500)
#tap(146;99) #sleep(5000)
#tap(310;254) #sleep(90000)
#tap(433;602) #sleep(10000)
#pwr() #sleep(10000)
Click to expand...
Click to collapse
Basically, the backup tool gets launched in line 1, then there are a bunch of screen taps (w/ delays, to make sure everything is ready) in the menus to get the right options selected, followed by turning the device off.
I`m not sure... But i saw somewhere app that emulate a mouse (cursor) and you will be able to control this mouse with your D-pad... But I can be wrong...
I can't install that mortscript w/o the touchscreen though..damn it..: )..
Get MyMobiler, and use it to run your device off of a pc. You should be able to get that working.

Categories

Resources