Long press to get FN+Key - Dash 3G, Snap General

Hi all, I just got my Snap after having the Dash for 3 years. The Snap is great but I have one problem...
On the Dash, when typing, long press will input the Alt+key combination, e.g. when long press on the "W" key it will input "1". The Snap can't do it and I need to press the FN key
Any way to change this?
Thanks,
Eran

[email protected] said:
Hi all, I just got my Snap after having the Dash for 3 years. The Snap is great but I have one problem...
On the Dash, when typing, long press will input the Alt+key combination, e.g. when long press on the "W" key it will input "1". The Snap can't do it and I need to press the FN key
Any way to change this?
Thanks,
Eran
Click to expand...
Click to collapse
That would be a great improvement! I had this same feature on my Diamond. I like the Snap keyboard, but you just have to push the FN key too much during some regular typing!

I'd like this too.

seems like know one know how to solve... this is really annoying on this great phone!

This depends on keyboard driver, what's always a dll library written by a manufacturer specifically for each device.
Similar problem has Touch Pro 2.
E.g. unlike Rose, where press+hold function can be simply remapped to another character/function.

OK I think I've provisionally got this sorted - you have to edit the keymap file using a text editor (either on the device using e.g. Total Commander or (probably more easy) copy the file to your PC using Activesync, edit it then copy it back to your device). On my snap the file is \Windows\eT9.Maple.wwe.kmap.txt - might be different depending on your ROM and language settings.
Before we go any further, make a backup of the file because you can get into all sorts of problems if you mess it up. It will be recoverable with a hard reset if necessary, but you probably want to avoid that...
The process is pretty self explanatory when you look at the kmap.txt file, but as an example:
Look at the entry for the R key:
{R R R 3 3 0x03}
As stated in the beginning of the kmap.txt file (on my device anyway), the third character in the above entry is "VK2 -> key to interpret when for press and hold". So simply change this to:
{R R 3 3 3 0x03}
Reboot your device and try it in messaging - when you hold the R key you will get a 3. Now you need to do this for every key! I haven't done it for the whole keymap yet - this might be the sort of thing you want to do personally, it's not THAT big a job I guess.
Cheers.

P.S. I also used this to remap the tab key, which I don't find that useful.

THANK!!!
this works beautifully!!! now the keyboard is as it should be the first place
Attached is the file for the WWE with long press supported for all keys

[email protected] said:
this works beautifully!!! now the keyboard is as it should be the first place
Attached is the file for the WWE with long press supported for all keys
Click to expand...
Click to collapse
That's brilliant!
I've modified your file to get rid of 2 small bugs (* and 0 longpress not working) and absolutely love the keyboard now!

Psmit said:
That's brilliant!
I've modified your file to get rid of 2 small bugs (* and 0 longpress not working) and absolutely love the keyboard now!
Click to expand...
Click to collapse
Could you post your modifications? Also, has anyone tried this on the Sprint Snap?

Has anyone remade the above file for the US keyboard? In other words, here is the layout for my keyboard:
Q1 W2 E3 R% T+ Y( U) I- O_ P"
A* S4 D5 F6 G~ H/ J? K$ L= ,@ (DEL)
(CAPS) Z7 X8 C9 V' B& N! M; .: (ENT)
(ALT) TAB0 SYM# (SPACE)

<strike>Sorry, dumb question but it's been a long time since I tweaked around in \Windows
It says I don't have permission. Neither locally, nor through the PC.
What to do?</strike>
Nevermind, used Total Commander to do it!

Strange thing though - a long press on "Q" locks the keypad. Yet there is no code for "locking" in kmap.txt.
That would be sweet to have on inner circle! A one-click lock. Hmmmmmm.

qwerty017 said:
Could you post your modifications? Also, has anyone tried this on the Sprint Snap?
Click to expand...
Click to collapse
Hi,
I upload the corect one, with Q(*), TAB (#) and SYM (0) modificated.

Taking control of the damn file
Hi folks. Can anyone help me out on how to get control of the .txt file?
greg530 has clearly done it using Total Commander but I can't get it it work at all, either on the PC or the device itself. Refuses to be edited or deleted or have it's permissions changed.
tia

did u try resco explorer?

Greg530 said:
Strange thing though - a long press on "Q" locks the keypad. Yet there is no code for "locking" in kmap.txt.
That would be sweet to have on inner circle! A one-click lock. Hmmmmmm.
Click to expand...
Click to collapse
You can assign a single press lock to the Windows Live Messenger button if you like - use VJDeviceLock and the instructions here.

[email protected] said:
did u try resco explorer?
Click to expand...
Click to collapse
Thanks, but I tried that with no luck. The file is in the ROM so I can't see how I can change it without reflashing.

Psmit said:
That would be a great improvement! I had this same feature on my Diamond. I like the Snap keyboard, but you just have to push the FN key too much during some regular typing!
Click to expand...
Click to collapse
Is this just the Snap? My T-Mobile Dash 3G has these baked in already.

Is there a key code to launch PIE?
I don't need the Messenger shortcut and I'd like to replace it:
{0xE4 0x96 0x8D 0x8D 0x00 0xff} // VK_IME_APP_CAMERA 0x8D, 0x96 = IM

Related

SmartSKey Remapping

Hey everyone, sorry to start a new thread on this but the existing thread on SmartSKey is WAY too long and quite honestly I just have a simple question.
Can the OKKEY=1 command be used with the Cingular 8125? It doesn't seem to be working for me. The program is absolutely fantastic, but I wouldn't mind having the ability to close programs with the OK Key .. which so far seems to only work on the Prophet. Is the Wizard supported as well?
One more question about this program.
Is it possible to remap the LSKEY and RSKEY to open programs other than "Calendar" and "Contacts"? I wouldn't reprogramming those to something else, but there doesn't seem to be a way to do it with WM alone. Can SmartSKey make this possible?
Thank you all for any/all help!!
yes and yes.
google 'soft key remap control panel' or words to that effect, also go to ppcfreewares.com
Awesome .. found it here.
I still can't get the OKKEY=1 thing to work out tho .. it always just hides the app and doesn't actually close it. Anyone have any advice? Thanks.
i may have misunderstood your first question, the default setting is to minimise, if there are other options such as close, i don't know of them or how to edit. sorry
bbobeckyj said:
i may have misunderstood your first question, the default setting is to minimise, if there are other options such as close, i don't know of them or how to edit. sorry
Click to expand...
Click to collapse
Ahh .. I see. Well if the default is to mimize then that's fine as well, it's just that the ReadMe file that comes with the software says to use the OKKEY=1 command with the CLOSEAPP=1 command so that kind of threw me off into thinking that the OK Key can be used to close an application as opposed to minimize/hide it.
The ReadMe file says:
"OKKEY=1 (0 or 1)
Set OKKEY to 1 allows phone with OK button (e.g. Prophet) to do force close function (use with CLOSEAPP, EXCEPTIONLIST)
CLOSEAPP=1 (0 or 1)
Set CLOSEAPP to 1 if you want to close app instead of hiding it using the left soft key. (DEFAULT 0)"
So that leads me to believe that using the CLOSEAPP and OKKEY commands together will allow the OKKEY to do the same as the LSKEY .. which is to force close the app instead of minimizing. Am I misreading this or is it still possible to do that?
i always have had it in a rom, never bothered to dl the app itself until now to look at the read me file. i don't really understand the instruction, maybe it's for devices with a dedicated ok button to actually close, because the left soft key hold opens the start menu, changing 0 or 1 will only turn it off or on not add another function.

Speed Dial... no shortcut

I've found that theres no speed dial shortcut.
On the Touch you simply press the Green Call key, press button down on the thumb pad and all the speed dials are there.. this isn't so on the dual.
has anyone found a easy wasy to find them with less than 5 clicks?
If not, does anyone know what .exe runs the speed dial, so I can create a shortcut on the Start menu.
Tnx
Steve
gumballsteve said:
I've found that theres no speed dial shortcut.
On the Touch you simply press the Green Call key, press button down on the thumb pad and all the speed dials are there.. this isn't so on the dual.
has anyone found a easy wasy to find them with less than 5 clicks?
If not, does anyone know what .exe runs the speed dial, so I can create a shortcut on the Start menu.
Tnx
Steve
Click to expand...
Click to collapse
I personally find smart dialing to be a breeze... Just start keying in the first couple of letters and you'll get the matches... I have over 400 contacts and I find it a very efficient way to dial
Aaaaaaww what a great tip! Have had my Touch Dual for a week and had not discovered this gem. Thanks
pobrien said:
Aaaaaaww what a great tip! Have had my Touch Dual for a week and had not discovered this gem. Thanks
Click to expand...
Click to collapse
What about assigning the contact tiles in the Touch Flo as you speed dials? Then you can have pictures of your contacts too?
my "workaround" for your reference:
1. add a shortcut to HTCActionScreen.exe (i.e. the action screen we get when sliding down the keypad) to Windows\Start Menu\Program Files\
2. now should be able to add HTCActionScreen.exe to the HTC Home Launcher tab
usage:
(click 1) launcher tab -> (click 2) launch action screen -> key in whatever you like with the hardware keypad to enjoy the quickdial feature
just for exp sharing.
But why do you need a shortcut for that?
I you anyway use the hardware keyboard to use quickdial,
why not simply start actionscreen by sliding out the keyboard?
Thyraz said:
But why do you need a shortcut for that?
I you anyway use the hardware keyboard to use quickdial,
why not simply start actionscreen by sliding out the keyboard?
Click to expand...
Click to collapse
1. when i'm so stupid that i can't press the first key before the action screen timeout and disappear. in this case, i don't want to slide the keypad back and out again.
2. when i want to use the other shortcuts on the action screen.
Hehe, ok
But one hint: u don't need to close and reopen the slider.
The sensor is on the last 5mm.
Just pull it a little bit back and release.
Thyraz said:
Hehe, ok
But one hint: u don't need to close and reopen the slider.
The sensor is on the last 5mm.
Just pull it a little bit back and release.
Click to expand...
Click to collapse
Tricking the keypad sensor! Nice "Touch" hahahahahaha
Thyraz said:
Hehe, ok
But one hint: u don't need to close and reopen the slider.
The sensor is on the last 5mm.
Just pull it a little bit back and release.
Click to expand...
Click to collapse
hehe... i really did this previously.
the shortcut was added later when i found that sometimes (though not frequent at all) i may want to access the shortcuts on the action screen without opening the keypad.

X1ButtonMapper - Extends the keyboard and other buttons

Hey guys,
I developed a small application which adds functionality to the X1 keys and keyboard. The reason why I made this program is, that I can't find a decent button mapping tool out there that does what I want - that is:
Extend the normal keys with long press and assign programs/functions to it
Extend the keyboard with a Control key (Tab key is reassigned to control key)
Assign missing FN+Key combination with additional special character or applications
Assign the ok button with really closing an application, depending on your task manager
To achieve this, I was writing this small app which itself checks for specific key events and starts mort script files in case such an event happens. I chose Mortscript because it easily allows everyone to define about almost everything that is possible and the application doesn't need a fancy UI to configure the key events.
You can find a readme within the archive which describes the program in more detail and you can also find some example script files for MortScript as a starting point.
For installation, you have to copy the X1ButtonMapperScripts folder of the archive to your root (\) directory of the device. You also need to install MortScript which you can find at Mort's homepage (mort.sto-helit.de). MortScript is a small and powerful application which is often used and mature. After that, you have to start X1ButtonMapper.exe and then the specific key presses will cause the calling of the script files. When you did not encounter any problems (software is still in testing phase), you can copy a link to the X1ButtonMapper.exe into your \Windows\Autostart folder for automatic loading at reset.
My current configuration, just for example, is as follows:
Ok short press closes an application, Ok long press (~500 ms) causes an app to minimize
Long press of left softkey opens start menu
Long press of right softkey opens MortButtons
Long press of volume up opens comm manager
Long press of volume down opens SPB task manager (Alt+Tab)
FN+a/s/d/f writes special characters I miss on the keyboard (%_\€)
FN+y/x opens Wifi network selection and resco explorer (FN+C/V are unused)
I would appreciate to get any feedback about this software, if it works, what you like, don't like and desperately miss.
Please be aware that this software is free and you are allowed to redistribute it, but please don't change it and always distribute the whole zip archive and not the extracted files!
Please be also aware that this software is in a testing phase and may hang up your device and may even cause data loss (not happened to me yet but theoratically possible). So please backup your data and be aware that I can't be held responsible in case this happens!
Update: V. 1.2 now allows to keep the original OK button function without change and to use Fn+Tab for sending the original Tab key!
i havent used your program but when i was looking for one such as yours, i came across ae button plus. im not familiar with scripts and programing and so i find ae button plus a good program. its not free but for $8, i think its worth it.
otherwise, keep up the good work. we need people like you to get the most of of our phones.
Would it not make more sense to remap the au key rather then tab key to ctrl? I use my tab key for form entry.
AE Buttons plus cannot do what this program does, that's why I did the hassle to develop it. Also PQz2 doesn't do what I need. For example you can't assign FN+x combinations with AE buttons plus and you can't remap the ok button (at least it didn't work for me).
Regarding the tab key, I tried to make FN+Tab to send the tab key, but that didn't really work. Maybe in some next release it will work, but I still think that the Tab key is dispensible.
Regarding the scripts, it's really easy and you can find ready scripts for almost any task. Also I did include some examples as a starting point. The scripts offer a lot more flexibility than any of the button mapping tools existing, so, take the challenge, it's worth it!
Pyrojester said:
Would it not make more sense to remap the au key rather then tab key to ctrl? I use my tab key for form entry.
Click to expand...
Click to collapse
Did I miss something or does this remap ctrl to tab? That would be a HUGE thing in my opinion... And no, the au button is used here a lot...
Yes, remapping Tab to Ctrl is one of the fixed mappings it does. One of the most powerful things and something I really missed with AEButtons.
With Ctrl on the keyboard you get copy and paste, wordwise navigation with the cursor, Undo/Redo and wordwise delete/backspace. Check the readme in the Zip File for more details.
I also added Fn+DPad for PageUp/Down and Home/End - also something I really missed before.
Dandie said:
Yes, remapping Tab to Ctrl is one of the fixed mappings it does. One of the most powerful things and something I really missed with AEButtons.
With Ctrl on the keyboard you get copy and paste, wordwise navigation with the cursor, Undo/Redo and wordwise delete/backspace. Check the readme in the Zip File for more details.
I also added Fn+DPad for PageUp/Down and Home/End - also something I really missed before.
Click to expand...
Click to collapse
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Will instal later today...!!!!
Dandie said:
[*]Extend the keyboard with a Control key (Tab key is reassigned to control key)
Click to expand...
Click to collapse
and I am officially blind...
Can this program work alongside aebutton plus? That would be great as they both have big advantages. I know this version of the CE core of WM only supports one key hook and I am pretty sure aebp uses a key hook. Are you using a key hook here? Is anyone using both? Great work!
Actually I uninstalled AEButtonsPlus before I was starting the development of this application. There is indeed a limitation about keyboard hooks in WinCE and my program uses them - don't know about AEButtonPlus.
There is a software available which claims to remove this limitation of windows mobile - it is called HookMgr and you can download it for free - check Google. I did not test it nor would I recommend to install several applications using keyboard hooks - they will most likely interfere with each other.
What is it that AEButtonsPlus has that you miss with my application?
Dandie said:
Actually I uninstalled AEButtonsPlus before I was starting the development of this application. There is indeed a limitation about keyboard hooks in WinCE and my program uses them - don't know about AEButtonPlus.
There is a software available which claims to remove this limitation of windows mobile - it is called HookMgr and you can download it for free - check Google. I did not test it nor would I recommend to install several applications using keyboard hooks - they will most likely interfere with each other.
What is it that AEButtonsPlus has that you miss with my application?
Click to expand...
Click to collapse
I did not know about that HookMgr software. Interesting.
I have not yet had the chance to try AEButtonPlus, but I believe it allows programming the short press and also double press of all the keys (was not aware of the ok key limitation). Is there a reason why you only provide long press options? Double press is not really necessary, but I would like to change the short press options. IIRC (I should probably stop making comments before my X1 even arrives but can't help it. so exciting) out of the box, only the short press of the soft keys is configurable. It would still be nice if you grabbed these so that I could configure all my buttons in the same place. Also, it doesn't seem that you provide a way to program the short or long press of the panel key. Would this be possible? Lastly, it might be good to make changing tab to ctrl optional and or offer another key to change. The addition of a ctrl key is great, but tab is also useful. The original renderings of the X1 back in January showed a ctrl key on the keyboard. Dont know who's idea it was to delete it.
I would love to help out. I could write a settings application for you that would store the options in the registry. Rather than running the scripts, it could look in the registry for what to execute. By default the registry values would just be the scripts, but users could change it to run an exe directly. I could also make a cab for it. The settings app would be in .NET. Let me know if this sounds good.
BTW, I think the ok and win keys would make good ctrl keys btw, as they are redundant to the keys on the front; ok button being my choice.
JKingDev said:
Is there a reason why you only provide long press options? Double press is not really necessary, but I would like to change the short press options.
Click to expand...
Click to collapse
I only provide the long press option because detecting double or even triple clicks would delay every button click and therefore reaction time, that's why I didn't realize it. I kept the short press of the keys (except OK) because they all make sense to me. You need the Softkeys, so their short press needs to be kept and the loudness up/down is essential in my opinion.
I also decided not to allow to remap the camera button because its handling is a bit difficult (two press levels) and I think the camera button is necessary when you really consider using the camera.
I also left the hang up and pick up buttons untouched because they already have short and long press actions (devicelock and handsfree) and I did not want to touch functions which are installed pretty deep into the system. I also like the function the way it is.
JKingDev said:
Also, it doesn't seem that you provide a way to program the short or long press of the panel key. Would this be possible?
Click to expand...
Click to collapse
Sure I did - actually I wanted to map it with opening the start menu but it can't be suppressed, not even by a keyboard hook! By the way, this is also the case with the symbol key - can't be remapped!
JKingDev said:
Lastly, it might be good to make changing tab to ctrl optional and or offer another key to change. The addition of a ctrl key is great, but tab is also useful. The original renderings of the X1 back in January showed a ctrl key on the keyboard. Dont know who's idea it was to delete it.
Click to expand...
Click to collapse
Yeah, the ctrl button was one of the main reasons why I wrote this application. Also that the X1 keyboard leaves many Fn+Letter combinations unused which is just stupid. As I said, I wanted FN+Tab to send the tab key but that didn't work for some reason. Also I think that Tab is disturbing when writing because when touching it for accident you get holes in your text :/
JKingDev said:
I would love to help out. I could write a settings application for you that would store the options in the registry. Rather than running the scripts, it could look in the registry for what to execute. By default the registry values would just be the scripts, but users could change it to run an exe directly. I could also make a cab for it. The settings app would be in .NET. Let me know if this sounds good.
Click to expand...
Click to collapse
Actually I don't see any problem with the scripts. They offer a lot more flexibility that a UI can ever give and for newbies the experienced could offer a set of reasonable scripts, so I don't see any issue with this. MortScript is easy to use and way more powerful than any button mapper UI on the market - why do people always want GUIs?
JKingDev said:
BTW, I think the ok and win keys would make good ctrl keys btw, as they are redundant to the keys on the front; ok button being my choice.
Click to expand...
Click to collapse
First of all, you can't separate between the ok key of the keyboard and the ok key on the front on the level of the keyboard hook, so it would be impossible to remap the one without the other. The win key is not redundant and therefore I decided to keep it because I find it very useful.
Dandie said:
First of all, you can't separate between the ok key of the keyboard and the ok key on the front on the level of the keyboard hook, so it would be impossible to remap the one without the other. The win key is not redundant and therefore I decided to keep it because I find it very useful.
Click to expand...
Click to collapse
Ah. That stinks about the ok key.
Dandie said:
I only provide the long press option because detecting double or even triple clicks would delay every button click and therefore reaction time, that's why I didn't realize it. I kept the short press of the keys (except OK) because they all make sense to me. You need the Softkeys, so their short press needs to be kept and the loudness up/down is essential in my opinion.
Click to expand...
Click to collapse
True. I wasn't really interested in double and triple. Just really the short. About the softkeys, normally I would not remap soft keys, but the X1 has a shortage of customizable buttons so I would like to change them.
Dandie said:
I also decided not to allow to remap the camera button because its handling is a bit difficult (two press levels) and I think the camera button is necessary when you really consider using the camera.
Click to expand...
Click to collapse
Interesting. On my tilt, I had short press opens camera album and long press opens the camera. Something similar would be interesting. Not a big thing though.
Dandie said:
Sure I did - actually I wanted to map it with opening the start menu but it can't be suppressed, not even by a keyboard hook! By the way, this is also the case with the symbol key - can't be remapped!
Click to expand...
Click to collapse
That stinks! Why do they insist on forcing panels on us? I do believe there is a registry key that can change what the panel button does though. You should look into that if you dont use the panels or just dont want a dedicated key. I am trying to find that info.
Dandie said:
Actually I don't see any problem with the scripts. They offer a lot more flexibility that a UI can ever give and for newbies the experienced could offer a set of reasonable scripts, so I don't see any issue with this. MortScript is easy to use and way more powerful than any button mapper UI on the market - why do people always want GUIs?
Click to expand...
Click to collapse
Lol. I guess its not necessarily a GUI but just options that would be good. You are right, the scripts are very flexible so no point in changing that. The only options I would really like is a choice about the ctrl key (possibly make the win key an option) and an option of whether or not to capture the short press soft keys.
Thanks for takin the time to explain all of your decisions. This is really great software! Hope I dont seem like I am asking a lot. Just some suggestions. Thanks!
JKingDev said:
About the softkeys, normally I would not remap soft keys, but the X1 has a shortage of customizable buttons so I would like to change them.
Click to expand...
Click to collapse
You can remap the Softkeys already in the button configuration of Win Mobile, but I personally wouldn't do it. Better to remap them for the today screen via registry and using the long press events from my software for additonal functionality. This way it doesn't interfere with the sytem at all.
JKingDev said:
That stinks! Why do they insist on forcing panels on us? I do believe there is a registry key that can change what the panel button does though. You should look into that if you dont use the panels or just dont want a dedicated key. I am trying to find that info.
Click to expand...
Click to collapse
Well, I think that's just the way it is integrated into the system. Maybe by some kind of driver or something. The "sym" key behaves the same way. We have to live with that fact.
JKingDev said:
The only options I would really like is a choice about the ctrl key (possibly make the win key an option) and an option of whether or not to capture the short press soft keys.
Click to expand...
Click to collapse
The softkey can originally already be remapped and for the tab key the best solution would be FN+Tab = Tab. I will have a look into this again.
JKingDev said:
Thanks for takin the time to explain all of your decisions. This is really great software! Hope I dont seem like I am asking a lot. Just some suggestions. Thanks!
Click to expand...
Click to collapse
Yeah, that's fine. I would actually like some feedback from people who tried the software. Anyone?
Here it is for those who want to know:
http://forum.xda-developers.com/showthread.php?t=448067
(Remap panel key)
I finally installed this today and it reminded me the about the good things the Touch Pro has that I previously owned. It truly amazes me that HTC does not put the ctrl key to their HW keyboards, it makes no sense to me.
I started to think that maybe it would be better to use the win key for this, win key kinda is there on top of the screen?
EDIT: and now I bothered to read posts above... fn+tab=tab could also be a good option.. After all tab is not used that often...
Great work on this, one of the best things made to X1 by XDA member so far...
At least someone having the guts to try my software - thank you for the positive feedback!
Regarding the Win-key, I wouldn't remap it because:
1. I'm using it often
2. The win key is often sent in combination with other keys and it will cause some side effects to remap it - that's why I gave up on this idea
When there's more feedback and some problems discovered that are necessary to change, I will have another look into this FN+Tab issue.
By the way, having Tab remapped to Ctrl also has a good benefit - accidental clicks on tab don't happen anymore.
Hmmmm MortScript messed up my OK button.

Turn off light with another button?

Does anybody know if it's possible to turn off the phonelight with the button to the right?
You usually use the on-button on the top of the phone but I think it would've been easier to use the button you hang up a conversation with. (just as you are with HTC HD2).
Hoping on a .cab or a positive answer
VistaX said:
Does anybody know if it's possible to turn off the phonelight with the button to the right?
You usually use the on-button on the top of the phone but I think it would've been easier to use the button you hang up a conversation with. (just as you are with HTC HD2).
Hoping on a .cab or a positive answer
Click to expand...
Click to collapse
You can use TD2 Tools that has program called boot manager and assign to a key with Keyboard controller.
Bruce Inman said:
You can use TD2 Tools that has program called boot manager and assign to a key with Keyboard controller.
Click to expand...
Click to collapse
Thanks for a quick answer, Bruce Inman Do you know where to find a description on how to do it?
Is this what you meant; http://forum.xda-developers.com/showthread.php?t=536410 ?
VistaX said:
Thanks for a quick answer, Bruce Inman Do you know where to find a description on how to do it?
Is this what you meant; http://forum.xda-developers.com/showthread.php?t=536410 ?
Click to expand...
Click to collapse
Yes, that is the TD2 Tool to install.
Then install the enclosed Kbd controll program. Its pretty intuitive, just keep short press as default and set your long or double press to Boot manager.
or..... you can use SSMaHo to map a shortcut from manila home screen.
As far as instructions, you'll have to read as it is too hard to explain in brief.
One thing you will find is that the left soft key is locked for editing in most ROMs.
You can also set it to a softkey in the registry in HKLM\Software\HTC\Manila;
LSK, RSK (left and right soft key path and text)

[Q] Possible to programmatically swap the mapping of Emotion key and the "@" key?

[Q] Possible to programmatically swap the mapping of Emotion key and the "@" key?
I am just curious since I believe a lot of folks would love this. I use the "@" key so much more often and almost never use the emotion icon.
Thanks.
I'd rather have the emoticon button swapped into a speech to text button like the Droid 2 has. I am fine with the @ key the way it is personally. Its like that on my Moment, my laptop and my sister's laptop.
I use the speech to text input button alot and would love to have it on the hard keyboard like the Droid 2 has it
huoyjii said:
I am just curious since I believe a lot of folks would love this. I use the "@" key so much more often and almost never use the emotion icon.
Thanks.
Click to expand...
Click to collapse
it can be done with a text editor
Very Simple edits to " s3c-keypad.kl " & "qwerty.kl" files will provide what your looking for
Eazail70x7 said:
I'd rather have the emoticon button swapped into a speech to text button like the Droid 2 has...
Click to expand...
Click to collapse
Would this also only require simple text editing?
How do you do the "text editing" in order to swap the buttons? (I'm noob)
Eazail70x7 said:
I'd rather have the emoticon button swapped into a speech to text button like the Droid 2 has. I am fine with the @ key the way it is personally. Its like that on my Moment, my laptop and my sister's laptop.
I use the speech to text input button alot and would love to have it on the hard keyboard like the Droid 2 has it
Click to expand...
Click to collapse
THISTHISTHIS
I never use my @ key (or when I do, I use Alt+2), but I love the speech to text. I should take a look at a Droid 2 dump and see the feasibility of this.
EDIT: Just checked one out, and it seems fairly simple:
key 167 VOICE WAKE_DROPPED
Click to expand...
Click to collapse
Dunno how this'll work out on the Epic, whether it's MotoBlur-relevant, etc., but the first easy step would just be changing the emoticon's key from whatever it is now (haven't downloaded an Epic dump) to VOICE. Out of curiosity, I'm gonna try the edit on my G1 (replacing the @ key for now) to see if it'll work without MotoBlur.
Edit 2: No-go on my G1 running Android 2.2. I'll have to wait and see how the Droid 2 devs handle it once they have working stock ROMs running. I think it is possible, but this makes it much less easy. I think we need the Droid 2's "Voice Command" application, but that might require frameworks from Motoblur, and I'm not really a skilled enough dev to get any further.
Eazail70x7 said:
How do you do the "text editing" in order to swap the buttons? (I'm noob)
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=551344
Should work on the Epic and any other Android phone as well.
Thanks for the response ^^
I really hope it can be done. That would be terrific. Btw, with the Droid 2 voice button, I think you have to be inside a text field for it to work, not 100% sure. Once you're in the text field, you can hit the button and the words are written there.
I didnt get a chance to try that button outside of a text field...
solution to remapping keys
I have remapped my physical MENU and HOME keys (the ones on the qwerty keyboard). pdk.android.com/online-pdk/guide/keymaps_keyboard_input.html (I've had an account for a while, but I was not allowed to post this as a link) should help for reference, in case you want to make different changes from what I have made. For example, "AT" should be the keycode for the "@" symbol.
In the attached keylayout file, I have changed the physical "MENU" key to "TAB" and the physical "HOME" key to "DPAD_CENTER". The reason I have set "HOME" to "DPAD_CENTER" is so that I can use that key plus "1" in Terminal Emulator to send "Escape" in vi.
I apologize in advance, but I probably will not have time to answer questions that are answered elsewhere on XDA, like how to root or how to use vi. I am not responsible for your actions. Be sure to backup your s3c-keypad.kl before making any changes.
You will need root and busybox (I used the busybox from Titanium Backup and set up symbolic links in /system/sbin, since there was nothing else there) for this to work. After you have root and busybox set up, run the following commands in Terminal Emulator.
Get superuser permissions:
Code:
su
Get a better shell that has autocomplete and command history:
Code:
ash
Remount /system in read/write:
Code:
mount -o rw,remount -t rfs /dev/block/stl9 /system
Now, if you want to make modifications yourself:
Code:
vi /system/usr/keylayout/s3c-keypad.kl
If you manually make these changes, it is a bit tricky, because you have to use "r" to replace individual characters. You cannot use "a" to append or "i" to insert, because you have no way of pressing "Escape." I had to put "DPAD_CENTER" on the "VOLUME_DOWN" key initially, so that I had enough characters to replace and moved it after I rebooted.
If you would rather use my keylayout, make a backup of your s3c-keypad.kl, download the attached file, and "cp" it to /system/usr/keylayout/s3c-keypad.kl
Any changes to this file require a reboot to take effect. If you do something wrong, all of the keys after the one that is incorrect will be unusable. If that happens, just "cp" your backup over your bad file. Fortunately, the keys you will likely want to change are pretty close to the end of the file.
Good luck, & have fun!
EDIT: I can confirm that "AT" does work on the "SMILY" key for the "@" symbol.
Rtalian said:
Good luck, & have fun!
EDIT: I can confirm that "AT" does work on the "SMILY" key for the "@" symbol.
Click to expand...
Click to collapse
Thanks a million for the great guide! I can confirm "AT" for "SMILY" does work, although my other attempts at key adding didn't go quite as well. (I have .screenrc on my server set to remap @ as escape from using my Pixi.)
I might try changing things around again if I can figure out how to get the fn+key options working -- but for now, this is awesome. SYM is next to go...
I am more and more tempted by your menu key mod... although I actually use that one, it is just in the perfect position. I could swap it over to the right for Search, which I never use, but then we're just getting really crazy with labels not matching.
Can someone make an app that can swap the smiley and @ buttons for those of us who don't know how to use commands?
ldrn said:
Thanks a million for the great guide! I can confirm "AT" for "SMILY" does work, although my other attempts at key adding didn't go quite as well.
Click to expand...
Click to collapse
Hey, no problem! I'm glad I could help. I tried getting the Fn+ keys to work, too, but it looks like editing the compiled keychar files would be needed for that.
I could swap it over to the right for Search, which I never use, but then we're just getting really crazy with labels not matching.
Click to expand...
Click to collapse
I have keyboard shortcuts and you have to hold seach plus press a key, pretty nice imo. I will b switching the smiley key to @, and sym to .com

Categories

Resources