Related
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.
=======================================================================
New version 1.2 available here
=======================================================================
=======================================================================
Reviewed on gadgetmix.com: See the article
=======================================================================
If you have tried to play a game needing left and right key on an HTC Touch Diamond, you noticed that they are 2mm wide and if you click next to it, you get back to home page or to dialing menu etc...
So I've written a prog allowing you to lock these 4 keys actions and replace it by classical key event (VK_LEFT, VK_RIGHT, ...).
In that way you can play tetris, and use "Pick-Up" and "Hang-Up" keys for going left and right.
Link ->: DredSensor
To use it, you need:
1) An HTC Touch Diamond (it's the only one i have so i can't test it on other models)
2) Install the .cab
3) Reboot your HTC
4) Run a game (or app or ...)
5) Get your stylus out and back-in, in less than 1 second
6) Click "Yes"
----- A config window opens:
7) Check that Type = "HardKeySimul"
8) Click "Ok"
Now you can use (and eventually assign) your 'Home', 'Back', 'Pick-Up' and 'Hang-Up' keys in that game/app.
Actually, the 'Pick-Up' and 'Hang-Up' keys are always defined as Left and Right events.
Have fun.
Ps:
For people interested, the other "Type" in the config window are:
- "Launcher": allow you to quicklaunch 4 app (that you define in the config wnd) when you double tap (not click, just tap) on one of those 4 keyz
- "Scroll": allow you to scroll the current window by tapping those 4 keyz panel
- "KeySimul": allow you to send left/right/up/down events by tapping those 4 keyz panel
Sounds Great, will give a try....
If you can make this buttons to be assinged to other apps the whole time you'll be a hero
palmbluetooth said:
Sounds Great, will give a try....
If you can make this buttons to be assinged to other apps the whole time you'll be a hero
Click to expand...
Click to collapse
In fact if you launch /Program Files/DredSensor/DredSensorCfg.exe, you can edit the "Default" config that applies every time no other config matches...
So if you set the Default config in "Launcher" mode, you can quicklaunch app from everywhere...
Actually, the Launcher mode works with "double tap" rather than click. But i can update it quite easyly to make it work on click if you want.
Dredger, can't wait to try this. This is my biggest gripe when playing games, and I didn't even think to post on here to see if someone could come up with something. I'll test today and let you know how it works!
Very Nice App, really works well.
The only thing is that I don't know how to add 'start', 'ok', answer and hang up to the buttons, do you have any suggestions?
Thanks, I'm loving it.
not able to download. all it gives me is a lot of squares and nothing else.
clever idea, finally i can play racing game on my diamond, thanks!
A very nice and welcome idea. Unfortunately, it doesn't work with my Raphael. Tried it with Kevtris: succesfully installed, soft-reset, started the game, and configured DredSensor for the game, but when I push e.g. the phone up key, it still brings up the phone application. I didn't change any of the settings in the DredSensor config screen (I did check that "HardKeySimul" was selected).
Hope you can make it work for Raphael too, it is so annoying trying to play games with the d-pad, when you accidentally press the home/phone/etc. keys all the time.
Work perfect on Diamond but... it doesn't work on Touch HD... (error.. Unable to load HTC API DLL)
aBE-One said:
A very nice and welcome idea. Unfortunately, it doesn't work with my Raphael. Tried it with Kevtris: succesfully installed, soft-reset, started the game, and configured DredSensor for the game, but when I push e.g. the phone up key, it still brings up the phone application. I didn't change any of the settings in the DredSensor config screen (I did check that "HardKeySimul" was selected).
Hope you can make it work for Raphael too, it is so annoying trying to play games with the d-pad, when you accidentally press the home/phone/etc. keys all the time.
Click to expand...
Click to collapse
pinele said:
Work perfect on Diamond but... it doesn't work on Touch HD... (error.. Unable to load HTC API DLL)
Click to expand...
Click to collapse
Sorry, i only have an HTC Diamond so unless you offer me a Raphael or HD, it's quite hard for me to check anything.
For the touch HD, maybe you should download HTCAPI.DLL somewhere, put it in /Windows and try again.
For the Raphael, on the related article on gadgetmix.com (see 1st post for the link), it seems it works on HTC Touch Pro so it should work on yours.
palmbluetooth said:
Very Nice App, really works well.
The only thing is that I don't know how to add 'start', 'ok', answer and hang up to the buttons, do you have any suggestions?
Thanks, I'm loving it.
Click to expand...
Click to collapse
Sorry, i think i don't understand exactly what you would like to do...
Start, Ok etc are default functions on that buttons so you have nothing to do to get them doing that...
Thank You
Hey! This looks like a really good program idea. Its not all that simple to figure out. I'm also not too sure there is an alternative way to customize the program.
Once I had it figured out, it works really well. Kudos for the update. My Diamond is getting much more reading use now. I just found that the d-pad was pretty much useless until now.
Also kudos on the stylus idea. Pretty nifty way to activate the menu.
Two thumbs up. I'm looking forward to any updates in the future.
Dredger97 said:
For the Raphael, on the related article on gadgetmix.com (see 1st post for the link), it seems it works on HTC Touch Pro so it should work on yours.
Click to expand...
Click to collapse
Well, maybe they're using another ROM or something. Are you sure they tested it with a Raphael? Maybe they just tested it with a Diamond and presumed it would work on a Raphael (I'm not familiar with the site, so I don't know what devices they're using).
Anyhow, after some more testing, it is actually partly working. That is, sometimes the phone/hang up buttons work as left/right, sometimes they don't. With the phone button it's about 50 % working, 50 % not (in Kevtris). For some reason the hang up button is working more frequently, something like 80 % working, 20 % not.
Also tried it with another game - Marble Worlds 2 demo - again only a part of the key presses are registered correctly.
I understand it's hard for you to test anything when you don't have a Raphael, but if I can do anything to help (apart from donating my Raphael to you ), just ask.
aBE-One said:
Well, maybe they're using another ROM or something. Are you sure they tested it with a Raphael? Maybe they just tested it with a Diamond and presumed it would work on a Raphael (I'm not familiar with the site, so I don't know what devices they're using).
Anyhow, after some more testing, it is actually partly working. That is, sometimes the phone/hang up buttons work as left/right, sometimes they don't. With the phone button it's about 50 % working, 50 % not (in Kevtris). For some reason the hang up button is working more frequently, something like 80 % working, 20 % not.
Also tried it with another game - Marble Worlds 2 demo - again only a part of the key presses are registered correctly.
I understand it's hard for you to test anything when you don't have a Raphael, but if I can do anything to help (apart from donating my Raphael to you ), just ask.
Click to expand...
Click to collapse
You probably run another program that uses the same sensor API and that conflict with DredSensor.
Don't you have G-Scroll or something similar installed?
Is it possible to assign the home and back hardware button to make left and right soft keys?
aBE-One said:
A very nice and welcome idea. Unfortunately, it doesn't work with my Raphael. Tried it with Kevtris: succesfully installed, soft-reset, started the game, and configured DredSensor for the game, but when I push e.g. the phone up key, it still brings up the phone application. I didn't change any of the settings in the DredSensor config screen (I did check that "HardKeySimul" was selected).
Hope you can make it work for Raphael too, it is so annoying trying to play games with the d-pad, when you accidentally press the home/phone/etc. keys all the time.
Click to expand...
Click to collapse
On my Raphael program works perfectly. My ROM is PROven ROM 1.09 PLK.
Claus72 said:
Is it possible to assign the home and back hardware button to make left and right soft keys?
Click to expand...
Click to collapse
Not in that first version but as it seems people find it usefull, i'll probably update it to let you choose which key or app-launch you affect to each button.
Dredger97 said:
Not in that first version but as it seems people find it usefull, i'll probably update it to let you choose which key or app-launch you affect to each button.
Click to expand...
Click to collapse
When you do that, can you consider left and right softkeys? That'd be a significant advantage, as I find the lack of the two keys annoying in some apps (esp java ones).
On a side note, does the software poll for input? While I doubt it would affect the battery that much, I'll probably limit my usage to be on the safe side.
Great app!
g2tl said:
When you do that, can you consider left and right softkeys? That'd be a significant advantage, as I find the lack of the two keys annoying in some apps (esp java ones).
On a side note, does the software poll for input? While I doubt it would affect the battery that much, I'll probably limit my usage to be on the safe side.
Great app!
Click to expand...
Click to collapse
So if I understand, you'd like the possibility to simul left or right softkey by clicking on 'Home' and 'Back' for example?
On the side note, it doesn't poll for input, but it polls every second to check which app is on the foreground. The input job is event based.
Dredger97 said:
So if I understand, you'd like the possibility to simul left or right softkey by clicking on 'Home' and 'Back' for example?
Click to expand...
Click to collapse
correct
On the side note, it doesn't poll for input, but it polls every second to check which app is on the foreground. The input job is event based.
Click to expand...
Click to collapse
Which I'm assuming is not happening when the screen is off (through power button)?
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
I am trying to find a way to mess with
HKLM/Software/HTC/SmartTouch/ key in registry, which is supposed to control the zoom bar.
I did some research in several threads in this forum, but all I found was some info (mainly on TD1 threads) on how to make the zoom bar (or scroll wheel in TD1) produce scrolling in apps.
However, what I am interesting in, is ZOOMING within any kind of application. Any idea on how to achieve this? The aforementioned key contains values such as ClassName (which is the app's class, something that is not easy to figure out; any tool on finding out an app's class would be appreciated), WheelCount (which probably is sensitivity), and Mode (which I have no idea what it is).
Anyone could help with this?
I could imagine a few nice things to do with the Zoombar. As I'm missing the arrow keys, it would be great to define a few gestures to use up / down / left / right keys with the zoombar.
e.g.
slide to the right -> right key
slide to the left -> left key
tap on '+' -> up key
tap on '-' -> down key
jcan said:
I am trying to find a way to mess with
HKLM/Software/HTC/SmartTouch/ key in registry, which is supposed to control the zoom bar.
I did some research in several threads in this forum, but all I found was some info (mainly on TD1 threads) on how to make the zoom bar (or scroll wheel in TD1) produce scrolling in apps.
However, what I am interesting in, is ZOOMING within any kind of application. Any idea on how to achieve this? The aforementioned key contains values such as ClassName (which is the app's class, something that is not easy to figure out; any tool on finding out an app's class would be appreciated), WheelCount (which probably is sensitivity), and Mode (which I have no idea what it is).
Anyone could help with this?
Click to expand...
Click to collapse
Hi jcan,
Did you manage to find ways to resolve your question? Kindly share with me please!
Try here:
http://forum.xda-developers.com/showthread.php?t=512614&page=5
Thanks for the link mattan, but I had already tried the Advanced Config solution... It is true that you can add Smartouch capability in active apps from there, but the problem is that I tried some (e.g. GSFinder+), and it worked as a scroll device.
What I am trying to find is a way to make the zoom bar work universally as its name says, i.e. zoom. It would be very nice to be able to zoom in anywhere in the device, like having a magnifying glass. Unfortunately, I haven't found anything yet but I know that the solution is hidden somewhere in the Smartouch reg key... Let's hope some fellow xda member will enlighten us!
and it worked as a scroll device.
Click to expand...
Click to collapse
Actually it's not, it's work like hardware Up/down key. In some case you can redefine action on it (In program settings), for example CorePlayer, or some games.
I think biotouch must be modified for this
jcan said:
Thanks for the link mattan, but I had already tried the Advanced Config solution... It is true that you can add Smartouch capability in active apps from there, but the problem is that I tried some (e.g. GSFinder+), and it worked as a scroll device.
What I am trying to find is a way to make the zoom bar work universally as its name says, i.e. zoom. It would be very nice to be able to zoom in anywhere in the device, like having a magnifying glass. Unfortunately, I haven't found anything yet but I know that the solution is hidden somewhere in the Smartouch reg key... Let's hope some fellow xda member will enlighten us!
Click to expand...
Click to collapse
What you would need to do it actually write an application that zooms the screen in hardware (similar to ctrl + mouse wheel zooming in Mac OSX) and control it with the zoom bar in applications that don't work with the zoom bar at present. I haven't actually used GSFinder+ but if doesn't have some sort of zoom level available to it through a menu function or on screen button then there is no way the zoombar will magically give it (or any other non-zooming program) one.
OK, I get it then... So, if an application does not support zooming, then the zoombar can only be used as a scroll device (or up-down key)...
I guess we will have to settle with that type of use then, until a screen zoom application comes up.
jcan said:
OK, I get it then... So, if an application does not support zooming, then the zoombar can only be used as a scroll device (or up-down key)...
I guess we will have to settle with that type of use then, until a screen zoom application comes up.
Click to expand...
Click to collapse
this is what u want :
criszz said:
this is what u want :
Click to expand...
Click to collapse
What does this cab exactly do, mate?
Read and download here:
http://forum.xda-developers.com/showthread.php?t=406206
X1BH beta
X1 Button Hook
Jan 3, 2010
By Jonathan King
GUI/Updater by DOCIOHN
Special thanks to DOCIOHN who not only created the settings GUI and updater, he is providing the server space to make updating possible.
Description
X1BH is a successor of X1BC and the (kinda) released X1BC2. The program gives you the capability to assign different functions to the panel, ok, soft, and volume keys. Another feature is the capability to disable screen rotate when the keyboard slides. You can assign a button to toggle this feature. X1BC also supported adding fn functions to the keys on the keyboard that had none as well as making 'tab' or 'win' a ctrl key. This feature is not yet added to X1BH but will be in future versions. A new feature not seen in any previous program is a fix for the X1 keyboard repeat problem. While this is a hardware problem, X1BH can prevent key repeats that appear too rapid. Credit for the idea for this feature goes to J-Pro. Unlike the previous programs, X1BH runs as a service therefore not counting toward the 32 process limit. This was something suggested by Dandie.
Download
See the second post for the current version.
Background
You may have noticed that my enthusiasm for the X1BC and X1BC2 projects dropped for a while. The reason for this is that I was frustrated with the methods for trapping the keys. X1BC used SetWindowsHook to set a low level keyboard hook. The problem with this method is that many programs like to use this function as a means for trapping keys and only one program is allowed to have a low level keyboard hook at a time. Having X1BC running in the background all the time prevented some applications from working and just annoyed others. Most importantly, I found that it was not possible to send volume up/down keys. Next came X1BC2. Instead of a hook I used hotkeys. There were some things better but some things worse. The biggest problem was that 3rd party programs liked to use hotkeys too. And when they did, they robbed X1BC2 of its hotkeys. There was no way I know of to detect my hotkeys were taken. The only way to restore would be to restart the program.
Enter X1BH. It started by me thinking what would it take to rewrite the button driver. I disovered keypad.dll. It runs a service responsible for detecting keyboard interrupts and broadcasting the key event using keybd_event(). It seemed that keypad.dll had much responsibility though. I could not feasibly rewrite it. So I had a better idea. Leave keypad.dll to do all the grunt work and just hook the keybd_event() routine. By modifying the import address table at runtime I redirect keybd_event() calls to my own routine that gets to decide what really gets sent out. The result is total and exclusive access to keys before everything else. The possibilities are wide. While I do not modify keypad.dll in any way, I will probably release a CAB installer that includes it just because my hooking routine will only work with a certain version of the dll.
Download Current Version
More details will be added later. To use, install the CAB and soft reset. Use the settings program to change options.
Current issues/work needed:
- Capturing the panel button will not prevent the panel manager from opening. To stop this you must delete the panel manager reg key
- Ctrl key still to be added
Could use this one too.
Sounds great - I'd love to have any easy way to do all these things + CTRL is extremely useful imho and being able to decide which key to make CTRL would be awesome
Thanks,
Peter
Lovely, JKingDev.
I just hope put ctrl/tab alloc functions on the first priority to-do of X1BH release
I agree - I was considering installing another app that would add CTRL functionality, but that one was hard coded to the TAB key, but I use that for other functions, such as filling in forms - being able to set the Windows key for CTRL though would be perfect since I already have that duped as my XPanel key. So being able to decide which you want to make Ctrl, either TAB or Windows Key or something else would be great
Peter
Ctrl key is next on the todo list. It will support tab or win key. Maybe even sym or "au". The original functionality of the key can be preserved though. It can be something like if you hold the key while pressing a letter it is ctrl. If you just press it, it acts normal.
Quite nice work, JKingDev! Thanks for doing that!
P.S.: Thanks for the credit
Who will get to try this? I'd be glad to do it
LazyFunker said:
Who will get to try this? I'd be glad to do it
Click to expand...
Click to collapse
Sure, just send me a PM with your email address. Though one tester has already indicated that they have not have any problems, so perhaps a public release is very soon.
JKingDev said:
Ctrl key is next on the todo list. It will support tab or win key. Maybe even sym or "au". The original functionality of the key can be preserved though. It can be something like if you hold the key while pressing a letter it is ctrl. If you just press it, it acts normal.
Click to expand...
Click to collapse
Sounds great - I use the Tab and Win keys daily, the Sym key weekly - and the au key never. So I'd be quite happy making that a permanent CTRL key, even if I lost all the au functionality. I'd be happy if I had to hit a key with the au to make it do it's original function, rather than having to hit a key with the au to make it CTRL .
If you have even some of these options that would make this program awesome imho .
Thank you,
Peter
pdamouse said:
Sounds great - I use the Tab and Win keys daily, the Sym key weekly - and the au key never. So I'd be quite happy making that a permanent CTRL key, even if I lost all the au functionality. I'd be happy if I had to hit a key with the au to make it do it's original function, rather than having to hit a key with the au to make it CTRL .
If you have even some of these options that would make this program awesome imho .
Thank you,
Peter
Click to expand...
Click to collapse
Hmm. How about au key is ctrl. Fn+au is regular au. There are so many possibilities. Should I really make all these options or maybe just the best 3 so that it doesnt become confusing.
JKingDev said:
Hmm. How about au key is ctrl. Fn+au is regular au. There are so many possibilities. Should I really make all these options or maybe just the best 3 so that it doesnt become confusing.
Click to expand...
Click to collapse
That option, Fn+au for au would be perfect imho - It's up to you though how many options you put in, maybe you could have an advanced mode and a simple mode - with the 3 basic options in simple and then the option for users to set more advanced functions elsewhere.
My problem with the other software was that it was hard coded and had no other option - no matter what other options you selected in that program, TAB was always CTRL and that just didn't work for me. Having 3 options already puts you ahead of the game - allowing people to customize is great, but if you are making multiple releases I'd say stick with the options you've mentioned for now and add others as they are requested.
To me I can't think of any better combo than au = Fn+au & Ctrl = au
Peter
I am very pleased that the investigation of Keyboard System DLL has brought such results ... Can not wait for the official version, which will be need to compliment any Xperia X1
Wooooo! I've been waiting so long for this Jking! Finally! PM'ing right away.
Hey, I copy keypad.dll to Windows and I lost control of all buttons
I've just figured out the reason. I don't have keypad.dll in windows folder. I use Untamed 1.1 Rom (MrRush)
Sorry for the lack of updates in the past few days. PMs are being answered. I am on the Hybrid Electric Vehicle Team at Virginia Tech. We are participating in the EcoCAR Challenge (add us on facebook/follow on twitter!) and this past week I have been in Daytona Florida participating in the Winter Workshop event. It has been hard work and I had to take a break from X1BH but I think we did well.
Some new developments, there will be a UI setting app. Thats one reason I am holding back the release. Another XDA member is writing the program. They have chosen to remain anonymous. It will even have an updater built in. That same user is graciously granting some server space. I am very grateful for their effort and contribution. Version 1 will come soon.
It is great to hear that you are contributing to the earth! Looking forward to the release of X1BH~
great job!!!
great job man!!! greetengs to you and to Dandie! i must say i enjoyed reading posts and threads written one year ago. it is amazing how much passion you guys put in solving these problems. small problems for geeks but big problems for humanity can't wait to try cab. once again, big thanks!!!
P.S. If only Tesla was alive today we all wouldn't need petrol cars. sorry for offtopic.
x1bh
looks very compromsing and a very nice idea to hook keypad.dll directly ..
x1bc is still a great program to customize xperia keys but x1bh looks even better ... i would appreciate, if there was an easy way to create oem like using no hardcoded paths or paths read out from registry ..
i use x1bc and cook it into my roms .. btw, x1bc is great as it does not work only for x1