Alternative 'Wake-Up' Button? - Touch Diamond2, Pure Q&A, Help & Troubleshooting

I've seached the forums for discussion of this issue but haven't found anything.
Is there an app/hack to allow me to use the 'send' key (or any other key) in addition to the power key on top to wake up the device from stand by?

http://ip208-100-42-21.static.xda-developers.com/showthread.php?t=567550

Easy!
modify registry.
HKCU->ControlPanel->Keybd->DefaultKeyLock
changing the value from 1 to 0
OVER!

Outstanding, many thanks to you both

Related

Where can I get a cab for the "end key long press" program?

I have searched the forums long and wide for it and I cannot find it. Is it simly cooked into roms as an oem package or is there an actual cab we can install for those that are using prebuilt roms?
look here
http://forum.xda-developers.com/showthread.php?t=356192
read the first post. I think you will have to create the Long_End.lnk and assigned it to EndKey.exe
this may also be of interest
http://forum.xda-developers.com/showthread.php?t=356322
i'm pretty sure you didn't try the advanced google search. Please use that next time. Searching endkey cab on there gave me a bunch of searches on this thread.
http://forum.xda-developers.com/showthread.php?t=344533
Here you go...
long press delay
is there a way to change the durations of long press?
I think it takes too long for along press end key and long press power keys to work.
I can't seem to find the registry entry where to change.
Any help is appreciated.
thanks
K
thomassster said:
i'm pretty sure you didn't try the advanced google search. Please use that next time. Searching endkey cab on there gave me a bunch of searches on this thread.
http://forum.xda-developers.com/showthread.php?t=344533
Click to expand...
Click to collapse
I actually think he wants "long press power key". That is the one that is cooked into numerous roms. If you search for long press end key, or HTC end key, you will find plenty of threads. Long press power key is a different story.
Edit: Ok I think I was wrong. Long press power key is by Schaps. He wants the long press end key mapped to the red end call button. If you install it normally, which is what you get 10000 threads on if you search, it installs it to the right soft key.
marm0lade said:
I actually think he wants "long press power key". That is the one that is cooked into numerous roms. If you search for long press end key, or HTC end key, you will find plenty of threads. Long press power key is a different story.
Click to expand...
Click to collapse
All you have to do for any of the long or short keys is change the .lnk shorcut name to Long_Power.lnk or Short_Power.lnk or Long_Send.lnk or Short_Send.lnk or Long_End.lnk or Short_End.lnk, etc. etc. etc.
If you rename or create a shortcut name as above & point it to the program you want to run & then place it in the \Windows directory it will work.
You don't need a cab, or any configuration tool.
I know something much better:
AE Button Plus http://ae.inc.ru/aebplus.php, you can give any button a long press function of even a double/triple click function.
You can use it for free.
I use the Internet buttons double click for toggling bluetooth, the Email buttons double click for toggling WiFi, the left softkeys press+hold for devicelock and the enter keys press+hold for AltTab.
You know you can do all of that without adding a few more mb's to your system & another startup app. AE Button works don't get me wrong, but it's not for me since I can accomplish everything it does already from the registry. (The keyboard driver contains all kinds of neat shortcuts you can use, you only have to disassemble it to see). It's great for a novice though.
There is another easy way to configure this. (No need to install HTC End Key)
Install Schaps Advanced Config.
Then go to Menu, Key Mapping and choose what you want for Long Press Send Key, End Key and Power Key.
johanromijn said:
There is another easy way to configure this. (No need to install HTC End Key)
Install Schaps Advanced Config.
Then go to Menu, Key Mapping and choose what you want for Long Press Send Key, End Key and Power Key.
Click to expand...
Click to collapse
I did this but everything except the first two (left and right softbuttons) are grayed out - I can't change what's there. What am I doing wrong?
Mike
same here..any solutions?
johanromijn said:
There is another easy way to configure this. (No need to install HTC End Key)
Install Schaps Advanced Config.
Then go to Menu, Key Mapping and choose what you want for Long Press Send Key, End Key and Power Key.
Click to expand...
Click to collapse
Wow - I've been using Advanced Config for ages (consider it essential) but had no idea it handled key mapping. Good to know.
I just tried it on my problem though and it's a no-go. My problem is that HTC End Key is cooked into the ROM I'm using and neither remapping through Advanced Config nor manually adding a shortcut (in this case ArkSwitch.lnk renamed as Long_End.lnk) works - the stupid HTC End Key programme just pops its ugly head up instead offering me a handful of useless options I can't change.
Any ideas? I'm using a 6.5.x ROM so HTC Task Manager doesn't work and ArkSwitch doesn't always open when clicking the title bar, due to the notification drop down, and I need quick access to a task manager.
Btw I use my phone's GPS for work a lot (in landscape mode) so Long_Send is already mapped to Rotate Screen.
Can anybody help?

remap home key and ok key

Hi, I'd like to remap the hard keys as follows:
- Home key -> Start menu
- Back arrow key -> OK button
any clues about what registry entries are these two hidden under?
Telling me the button code is enough... thanks.
Maybe this one helps. Can't test it myself as i have no Diamond yet.
http://forum.xda-developers.com/showthread.php?t=400732
The OK-button might be:
HKEY_LOCAL_MACHINE\Software\Microsoft\Shell\Keys\40C2
nope, no avail - have checked 40C1 to 40C7 but the only thing that fires an event is the green phone long press (40C6), others no avail (
new info - I have found the key codes using AE Button Plus as follows:
- Home button = #00ED (+no flag)
- Back button = #405C (+Win flag)
continuing research...
( No, I simply do not want to use AE Button Plus... )
Any luck on the research?
afaik, once you run touch 3d. The home key will always overwrite by it.....
HButton
I am wondering about the hardware key's to
I use a program (Hbutton) to give more functions to a hardwere button,
only key in HKLM/Software/Microsoft/Shell/Keys called "40C6" (the call button can be used.
does anybody know how to add the rest of the hardware buttons?
- back
- ok/enter
- home
- end/ divice lock (does someone know how to change the hold time)
- up and down?
homeplayer said:
does anybody know how to add the rest of the hardware buttons?
Click to expand...
Click to collapse
I have ended up using AE Button plus. It doesn't initially list the buttons, but you can add them from the file menu.
Now I have control of all my buttons.
but jamesd256, do you know a solution without using AEBplus ? maybe just in modifying registry....

[RESOLVED] Application for Hardware Button Mapping?

Now I know that most seasoned HTC & XDA folks have already discovered what I am stating in the next five paragraphs ...
The Buttons applet in Personal -> Settings in the latest HTC 5.05.00.00 (5.05.405.1 WWE) stock ROM only provides a single button option which appears as Button 1 (Hold). The Button 1 (Hold) maps to a Long press of the Send hardware key. Snooping the HKLM\Software\Microsoft\Shell\Keys, one finds a sub-key of 40C6 which corresponds to Long Send from what I can gather.
Additionally, some hardware keys are being intercepted by services/applications that come bundled as part of the stock ROM - these are:
- Long Press End Key: invoked when one performs a Long press of the End hardware key
- Volume Up/Down: launches the HTC Volume (System/Ring) applet
- Home: which returns to TF3D Home (or Today) on a Short hardware key press
- Back: which issues a return/cancel on a Short hardware key press
- Send: which launches the Phone applet/initiates a call
- End: which return to TF3D Home (or Today)/ends a call
- Button: which issues OK/Select
Some further searching on the XDA site gives us the XCSdM Fuze PP Mod gem from XCSdM (http://forum.xda-developers.com/showpost.php?p=3127272&postcount=126).
There's also the short_XXXXX.lnk shortcuts that can be placed in the Windows folder.
And lastly, there are numerous other 3rd party applications which perform hardware and softkey button mapping - some free, most aren't, and come at the cost of some overhead.
I had figured it might be a simple matter of adding the missing sub-keys (for long & short press) to the HKLM\Software\Microsoft\Shell\Keys so that I could change the assignments of desired hardware/softkey buttons via the Buttons applet in Personal -> Settings ... apparently not.
So my question(s) ... finally
The Ideal Answer
1) Are there other sub-key entries that map to the hardware buttons (ex: 40C6); if so, can some kind soul point me in that direction?
Cause Nothing Seems As Simple As I Thought
1) As I suspect that this would have to be a fairly low-level running process; does anyone know of a program that leverages the LNK files in the Windows folder and the HKLM\Software\Microsoft\Shell\Keys registry key?
XCSdM's CAB provides this type of functionality (see Post) for the PTT button; it would be nice to have similar applet(s) for the remaining hardware keys.
As usual, insight from the fine folks in this community would be greatly appreciated. I've only been part of this community for a few weeks and have to say that I really appreciate the willingness to share experiences and knowledge; it has made the learning curve less steep than it would have been ... hopefully one day I can return the same to others.
* EDIT *
Solution: XCSdM PTTMod for the Raphael solves the problem.
[REF][04/21/09]Raphael OEM Package Repository
http://forum.xda-developers.com/showthread.php?t=482173
Do a search on AEBPlus. I use it and it offers pretty much complete button remapping. No registry entries to work with and VERY customizable.
Hi BoldFace,
Appreciate the response; had a look at it ... very nice application - problem is it's not free and I'm looking to eventually do some ROM cooking so I figure they may get a little annoyed if I add that to the ROM image.
Cheers,
Hi,
have you found a way to remap the volume buttons?
greetings, stan
Not as of yet,
Still trying to get the original items from the post working ... tracking down someone who'd be willing (and has time) to code this up has been a challenge.
* EDIT *
Volume keys are intercepted by the Manila volume control libraries.
Cheers,

[Q] Can the hardware keys be redefined on the Droid 3?

After downloading and playing with a basic vt100 terminal emulator I soon noticed that there is no ctrl key on the hardware keyboard. In order to get a ctrl-c, for example, I have to press and release the volume lowering button to get "ctrl" and then the "c". This is very awkard. Especially with the keyboard fully extended! I later downloaded the hackers keyboard which has a ctrl key but it was not working at the time and I have reported it as a bug. Regardless, I would like the option to use the hwkb to do this. Perhaps this is premature as we don't have root yet, but is there a way to define say alt-shift, or the "ok" key or what ever to be ctrl. Also, while it is nice to have a fifth row of keys with numbers, I would think that these keys should have other functions too. Whatever one likes, i.e. alt 1 for F1 and so forth.
It is possible, there are apps in the Market, or you could hard code it into a ROM, but all of this requires root to my best knowledge, unless we have that I do not believe it is possible, but would be great if root wasn't needed, so if someone knows more hopefully they can let you know, but that's what I know.
search for Button Remapper, it is also on XDA: http://forum.xda-developers.com/showthread.php?t=850464
mscion said:
After downloading and playing with a basic vt100 terminal emulator I soon noticed that there is no ctrl key on the hardware keyboard. In order to get a ctrl-c, for example, I have to press and release the volume lowering button to get "ctrl" and then the "c". This is very awkard. Especially with the keyboard fully extended! I later downloaded the hackers keyboard which has a ctrl key but it was not working at the time and I have reported it as a bug. Regardless, I would like the option to use the hwkb to do this. Perhaps this is premature as we don't have root yet, but is there a way to define say alt-shift, or the "ok" key or what ever to be ctrl. Also, while it is nice to have a fifth row of keys with numbers, I would think that these keys should have other functions too. Whatever one likes, i.e. alt 1 for F1 and for forth.
Click to expand...
Click to collapse

Disabling home button wake without Xposed

I brought this up in another thread, but haven't found a working solution. Searches have told me that editing the gpio-keys.kl file under system/user/keylayout would allow me to disable the home button waking the phone, but it has had no effect. Before editing, it reads:
KEY 172 HOME WAKE_DROPPED
With the folder mounted r/w, I have tried deleting parts of the line, all of it, and canceling it out with #, but there seems to be no effect upon reboot. Due to the large amount of guides following this method that have shown up in my searches, I wonder if it has to do with a different folder organization due to the 5.0 upgrade that this trick no longer works.
Has anybody here been able to do this successfully?
Thanks.
Hey have you found a solution to this yet? Since I updated to lollipop I cant find any way to do this. I also tried editing the 172 key, but to no avail,,
I've spent several hours looking into this. There's a comment in Generic.kl that says "#input_fw added wake attribute for home." You can completely disable the home key by commenting it out in Generic.kl, but, obviously, that's a poor solution. I'm not a developer, but from what I can tell, it appears that this will need someone competent to edit in system/framework of a rooted phone to modify the interceptKeyBeforeQueueing method in PhoneWindowManager class. Here's two links with some pertinent discussion:
https://source.android.com/devices/input/key-layout-files.html
https://groups.google.com/forum/#!topic/android-platform/FhcVipMFZF4
Anyone competent and willing to take this on?
Swap 'em
I switched keys 172 and 254 keys in both the Generic.kl and gpio-keys.kl files. Now, key 254 (Recent Apps/Menu) takes me to my Home screen but does nothing unless the phone is awake. Key 172 (the protruding Home) activates my settings menu, but again, only when the phone is awake since the MENU action does not carry the wake attribute like the HOME action does. So, change them to: key 172 MENU and key 254 HOME. The Recent Apps can be accessed by swiping from the bottom corner in Android 5.

Categories

Resources