[Q] The 'Smiley' Button? - Epic 4G General

Hi, like most of you, I have never used the little smiley button on the keyboard, and probably never will. I would much rather have that button go to messages, or something like that. Quick Launch, under the settings, does not let me assign any applications to any keys that are not alphanumerical. Would there be a way to remap that key, and bind it so that if i press it, it would take me right to messages?

qwerty.kl
in /system/etc/keyboards there is a file called qwerty.kl you can adb pull it and then edit it in a plain text editor. change the key # (whatever number for SMILEY) from SMILEY to Whatever ( I have mine set to work as the @ key.)
dont forget to adb push it back change wont take effect till you restart

Hmmm...There is no way to bind a specific key to open an application in android?

smeyerhuky said:
in /system/etc/keyboards there is a file called qwerty.kl you can adb pull it and then edit it in a plain text editor. change the key # (whatever number for SMILEY) from SMILEY to Whatever ( I have mine set to work as the @ key.)
dont forget to adb push it back change wont take effect till you restart
Click to expand...
Click to collapse
can you post a how to for this

sure but it will have to be a bit later... I'm on the road
ps this works using a different .kl for the bottom 4 buttons too... I have my rarely used search button as the end call button
Sent from my SPH-D700 using XDA App

Yeah, I would like to make that change too. Does anyone actually use the smiley button? Are smiley buttons standard in Korea or something?

smeyerhuky said:
in /system/etc/keyboards there is a file called qwerty.kl you can adb pull it and then edit it in a plain text editor. change the key # (whatever number for SMILEY) from SMILEY to Whatever ( I have mine set to work as the @ key.)
dont forget to adb push it back change wont take effect till you restart
RTbar said:
can you post a how to for this
Click to expand...
Click to collapse
Click to expand...
Click to collapse
+1 Feel free to really "dumb it down" so a noob like me can do it. I've asked about this repeatedly and you are the first person with an answer.

updated
smeyerhuky said:
in /system/etc/keyboards there is a file called qwerty.kl you can adb pull it and then edit it in a plain text editor. change the key # (whatever number for SMILEY) from SMILEY to Whatever ( I have mine set to work as the @ key.)
dont forget to adb push it back change wont take effect till you restart
Click to expand...
Click to collapse
Created a thread for it. Please ask questions there in the future...
http://forum.xda-developers.com/showthread.php?p=8445256#post8445256

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.

Mail shortcut Inbox : change possible?

On the WM6.5 Today screen, the e-mail "tab" has 2 soft buttons " Contacts" and "View". I was wondering if it is possblie (via a registry tweak or additional cab file) to change one of those buttons to "Send/receive" ? Thanks in advance.
Anyone? I can't imagine it not being possible to change those buttons....
It is possible using CHomeEditor. But you will have to write the path of the app that runs when you press the button by yourself.
Just look for CHomeEditor and read the documentation.
lorin.bute said:
It is possible using CHomeEditor. But you will have to write the path of the app that runs when you press the button by yourself.
Just look for CHomeEditor and read the documentation.
Click to expand...
Click to collapse
Thanks. Seems a little complicated, but I'll try it.

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.

VJ KeyPress - Send a '1' to the phone.

Okay, so I'm using Google Voice with call presentation on, and I want to setup a shortcut to send a '1' to the phone to accept an incoming call. I just got a bluetooth watch and I want to be able to have the watch send the key so I don't need to dig out my phone when I'm in the car.
So, to test this a little bit I installed KeyPress and I setup that if I double press my start button in AE Buttons, it runs KeyPress with the parameter of 97. This works perfectly. No issues at all.
But when I try to create a short cut, everything fails. If I just press tap VJKeyPress, I get the little "help" screen. If I create a shortcut, and tap it, I also get the help screen. But when I try to modify the shortcut to pass the '97', then it fails.
I'm guessing that I'm missing something in the syntax, but I can't figure it out.
I have the path, in quotes:
"\P F\vijay555\VJKeyPress\VJKeyPress.exe"
Then I've put 97 at the end just plain, in quotes, in <>, I've put in right behind the .exe inside the quotes... Nothing seems to work at all. I'm at a total loss.
Anyone have a suggestion?
Hi,
Could you send me a screenshot of the configuration screen in AE Buttons.
I can't think why it wouldn't work, but what you could do is create a normal shortcut that launches VJKeypress with the required parameters, and then use AE Button to launch that .lnk shortcut itself, rather than VJKeyPress.exe
Should you get really stuck, VJBrisk might be able to help you, but I think the above should be adequate.
Drop me a PM (and post in the thread) again if you get stuck.
V
Oops... I didn't think I explained myself properly.
The AE Buttons is WORKING. It's the normal shortcut link that I can't get to work... and that's the thing I really need to get working.
Sorry, my bad, didn't read it properly.
I normally put example shortcuts in my cabs, but curiously I've got none in the cab on my phone. Can't believe the app is nearly 5 years old! Wow.
Anyway, I just tried making a shortcut.
If you paste the following:
Code:
55#"\Program Files\Vijay555\VJKeyPress\VJKeyPress.exe" 133
into a text document, and rename it Test.lnk, and copy that over to your phone, it should create a shortcut that locks your phone.
If that works, just change the parameter to do what you want.
What app are you using to create shortcuts?
And what's the significance of the \p\f in your first post?
V
A bit more information...
I tried to write a simple MortScript to run this as well. According to the MortScript manual, to run an app, you use this command:
Run ( "\path\AppName" [,"Parameter"] )
In other words, the path and the command first, and then put in the optional parameter. When I put in just the app name:
Run( "\Program Files\vijay555\VJKeyPress\VJKeyPress.exe" )
And run the script, I get the little help popup as I would expect. When I put in the parameter:
Run( "\Program Files\vijay555\VJKeyPress\VJKeyPress.exe" , "97" )
Nothing happens.
vijay555 said:
If you paste the following:
Code:
55#"\Program Files\Vijay555\VJKeyPress\VJKeyPress.exe" 133
into a text document, and rename it Test.lnk, and copy that over to your phone, it should create a shortcut that locks your phone.
Click to expand...
Click to collapse
Okay... well that locked the phone fine.
If that works, just change the parameter to do what you want.
Click to expand...
Click to collapse
I'm using both the text editor on Windows and Word on my PPC (not saving it in Word Format when prompted).
What app are you using to create shortcuts?
Click to expand...
Click to collapse
Just Copy the original file and then paste as shortcut.
And what's the significance of the \p\f in your first post?
Click to expand...
Click to collapse
Didn't feel like typing out \Program Files\.
Okay, so using the '133' definitely worked, but when I change it to 97 (the code to send NumPad1), it doesn't work.
But it DOES work when I tell AE Buttons to run VJKeyPress with the parameter of 97. Ugh... very odd.
Just for the fun of it, I also tried setting up a button in AE Buttons to run the shortcut that has '97' in it. That didn't work. I'm at a complete loss to figure out what's going on.
It may be that the keypress is occurring, but it's being fed into AE Buttons rather than the Phone Dialler, ie if when you press the required button, AE Button becomes active, which launches VJKeyPress, which presses 1 <b>within</b> AE Button, not the phone dialler.
You could test this by trying other keys and seeing what happens.
Also try activating Word or something else on your phone and launch the shortcut - see if the desired key gets pressed.
Also, you said NumPad1 - this is the number pad on a pc keyboard.
Try 49, which is just key 1.
V

[MOD][TUT][ROOT]Completely disable hardware buttons

Hey!
So, I've seen people who want their device to be more nexus, or even m8 like. The main difference between the devices, user interface wise, is the navigational buttons.
Most won't like using this, as it takes up valuable screen space, but I find it nice to have on-screen buttons and dislike having the hardware buttons (logo2menu is not my slice of pie)
So, first of all, you'll need a root explorer (which means you'll need root) I personally use ES File Explorer.
Navigate to /system and open build.prop in a text editor with root (ES Note Editor is included in ES File Explorer and has root access if you've given ES FE root)
Add this line, making sure to have a blank line afterwards (just as it was before you add this line)
Code:
qemu.hw.mainkeys=0
Note: autocorrect likes to make that "hw" a "he"
Save the file and exit back to /system
Our device is awesome and has the physical buttons in its own keylayout file. Normally you'd have to search through hundreds of lines to do this, but we get to look at two.
Get to /system/use/keylayout/ and open synaptics-rmi-touchscreen.kl with a root text editor
Put a # behind both(/all if you have a custom kernel and want to disable logo2menu) lines
So, you'll go from
Code:
key 102 HOME
key 158 BACK
to
Code:
# key 102 HOME
# key 158 BACK
Save, exit, and reboot! Magic!
Some ROMs also have control of the button backlight (CM and PA have it under Buttons > Button Backlight) just set it to 0 seconds on the timeout.
I'm not aware of a way to disable the light on Google Play Edition Roms, although Sense ROMs (specifically Viper) usually have this control somewhere in their custom toolbox.
If anyone knows where this is in the system files, I'll be glad to add it in the OP
this is what I've been waiting for.. thanks for the tutorial! yeah I was thinking how to turn off the light on gpe rom
Griffiths_Anna said:
this is what I've been waiting for.. thanks for the tutorial! yeah I was thinking how to turn off the light on gpe rom
Click to expand...
Click to collapse
I actually don't know how to disable the light in GPE
I was waiting for a 4.4.4 port to actually go and look into it

Categories

Resources