Stop selection when dragging??? - Touch Cruise ROM Development

Is there a way to stop selection at the beginning and end of drag? Makes this feature really awful to use. Any reg entry to teak?

Related

How to Change XT9/ABC default settings?

I have the 20 Key Touch Dual (nike) and XT9 works great, but depending on what program you are using some applications start in "abc" mode by default. This seems dependant on what feild you are in; Subject feilds like a new calendar item always starts in "abc" mode, where notes and message feilds start in XT9. If you change the settings it will default back next time you open that application. Is there a way to change the default keypress settings to always start in XT9 for all feilds or a way to remember your preference inside each feild.
Anyone have a suggestions/tweak/fix?
Thanks-
Jcostanza4
i also need to fix this it is really annoying
I think you are right and that it's determined by the field or the application. I've noticed that it defaults to "abc" in fields and applications where non-standard (unusual) language is often used; i.e. calendar entries, phone book, connections settings fields, etc.
There must be a workaround though...
Does anyone found a solution to this??
It's really annonying to have to change everytime for having the xt9 enable. I found a sort of shortcut: long press on the button "*/xt9" and then press "1" but you have to do it each time...
Don't we have a good programmer who knows how to make cab to get rid of this??
i tried this, you can change the keyboard to the normal one, non new htc, this it will be of.
Guys it's simple use file explorer and go to Window\xT9Settings and click to launch settings menu there you can check on/off the following:
-Spell Correction
-Next Word Prediction
-Auto Substitution
-Word Completion
-Multitap Word Completion
Don't know why HTC have hidden it in the windows directory!! it should have been placed in the systems menu in any case you can always create shortcut for it in the programs menu.
gfreek said:
Guys it's simple use file explorer and go to Window\xT9Settings and click to launch settings menu there you can check on/off the following:
-Spell Correction
-Next Word Prediction
-Auto Substitution
-Word Completion
-Multitap Word Completion
Don't know why HTC have hidden it in the windows directory!! it should have been placed in the systems menu in any case you can always create shortcut for it in the programs menu.
Click to expand...
Click to collapse
But the is no option there to disable or enable xT9 in all applications.
I think this is the same issue as being discussed in this thread - maybe they should be merged.
Even though this thread is the 20-key version the way it reads to me we are all looking for the reg key(s) that set the behavior of xT9...
dabs said:
But the is no option there to disable or enable xT9 in all applications.
I think this is the same issue as being discussed in this thread - maybe they should be merged.
Even though this thread is the 20-key version the way it reads to me we are all looking for the reg key(s) that set the behavior of xT9...
Click to expand...
Click to collapse
Im not looking to disable the XT9, but to enable it in every feild by default or ABC mode. Right now certain feilds default to ABC or XT9, so knowing which feild defaults to what is always a pain. If I get used to typing in one mode only everything would be smooth.
This is one of the biggest things that is bugging the hell out of me at the moment with this device. Everything else has been smooth, Really hope HTC fix this in the next version with either a user option to enable the mode you want to use. I am pretty sure that a registry edit could also do this.
gfreek said:
Guys it's simple use file explorer and go to Window\xT9Settings ...
Click to expand...
Click to collapse
no xt9settings program on my traditional chinese version.
Try the link below...^^
http://forum.xda-developers.com/showpost.php?p=2098945&postcount=4
Thanks for the link. It works properly.

[APP][Feb 12, 2009] X1BC (X1 Button Controller) v1.1 Released

X1BC v1.1
X1 Button Controller
Feb 12, 2009
By Jonathan King​
Description
This program is released open source. Contact me if you would like a copy of the source. The program is capable of capturing both short and long presses of panel key, ok key, L/R softkeys, up/down volume keys, and the win key on the slide out KB. The camera half and full press can also be captured and fully configured for short and long half press, as well as short and long full press. Also, the camera key will be ignored while the camera program is open. Capturing each key is all optional. They can be switched by the registry keys detailed in the next post. By default, if the reg keys are not there, none are captured. You can capture the long press only, short and long press, or leave the key alone. Fn key presses are also detected for A, S, D, F, G, Z, X, C, and V keys. Registry strings are used to specify what happens when the key is pressed. You can choose to open execute anything from a program exe to a mortscript to an mp3. You may also configure it to send a character or special key. This allows maximum flexibility.
The program can also make the win key or tab key a ctrl key. There are two modes of operation for each key. For the win key: Short press mode (short press to enable ctrl then press a letter), Long press mode (press letter while holding ctrl). With the tab key, it is still possible to send a tab character: Short press mode (short press to enable ctrl then press a letter; long press sends tab chr), Long press mode (press letter while holding ctrl; short press sends tab chr).
The program also supports vibrate feedback for a press and hold event. The duration is configurable or this can be disabled. Also configurable is the duration you must hold a key for the long press to occur.
To start the key hook, just launch X1BC.exe. If it is already running, launching X1BC.exe again will end the program and restore the keys to default.
Notes
While the panel key is captured, on the ROM I run with no panels installed I still get a popup saying could not find panelmanager.exe. I am not sure what would happen on a ROM with panels installed. To prevent this all together delete the whole registry key HKLM\Software\Sony Ericsson\PanelManager. You may want to back it up first but there is not harm in deleting it. You do need this key if you want to use panels though. But if you do use panels you dont want to remap the panel key anyway.
Capturing the win key on the slide out KB is tricky, but I think I have done it in a way that wont cause problems. It works well as a ctrl key and I havent had problems with it, but I still think the tab key makes a better ctrl key because it behaves like a regular key and is therefore easier to manipulate.
Disclaimer, use at your own risk. I have tested and debugged in the emulator and on my X1. I dont do anything that I think could really cause any harm or data loss. Has never crashed on me at any point during dev. The program does not make any changes to the system. It just runs in the background. If terminated everything works as it did before the program was started. Try it out.
Registry settings:
The following are DWORD values:
HKCU\SOFTWARE\JKing\X1BC\CapturePanel
HKCU\SOFTWARE\JKing\X1BC\CaptureOK
HKCU\SOFTWARE\JKing\X1BC\CaptureLeft
HKCU\SOFTWARE\JKing\X1BC\CaptureRight
HKCU\SOFTWARE\JKing\X1BC\CaptureVolumeUp
HKCU\SOFTWARE\JKing\X1BC\CaptureVolumeDown
HKCU\SOFTWARE\JKing\X1BC\CaptureLWIN
Here are the possible choices:
0 - Leave the key alone
1 - Capture long press only
3 - Capture long and short press
The default if the value does not exists is 0
The following is also a DWORD but the format is different:
HKCU\SOFTWARE\JKing\X1BC\CaptureCamera
The possible choices are:
0 - Leave the key alone
1 - Capture long and short for half press only
2 - Capture long and short for full press only
3 - Capture long and short for both half and full press
The default if the value does not exists is 0
The following are string values:
HKCU\SOFTWARE\JKing\X1BC\PanelShortAction
HKCU\SOFTWARE\JKing\X1BC\PanelLongAction
HKCU\SOFTWARE\JKing\X1BC\OKShortAction
HKCU\SOFTWARE\JKing\X1BC\OKLongAction
HKCU\SOFTWARE\JKing\X1BC\LeftShortAction
HKCU\SOFTWARE\JKing\X1BC\LeftLongAction
HKCU\SOFTWARE\JKing\X1BC\RightShortAction
HKCU\SOFTWARE\JKing\X1BC\RightLongAction
HKCU\SOFTWARE\JKing\X1BC\VolumeUpShortAction
HKCU\SOFTWARE\JKing\X1BC\VolumeUpLongAction
HKCU\SOFTWARE\JKing\X1BC\VolumeDownShortAction
HKCU\SOFTWARE\JKing\X1BC\VolumeDownLongAction
HKCU\SOFTWARE\JKing\X1BC\LWINShortAction
HKCU\SOFTWARE\JKing\X1BC\LWINLongAction
HKCU\SOFTWARE\JKing\X1BC\HalfCamShortAction
HKCU\SOFTWARE\JKing\X1BC\HalfCamLongAction
HKCU\SOFTWARE\JKing\X1BC\FullCamShortAction
HKCU\SOFTWARE\JKing\X1BC\FullCamLongAction
HKCU\SOFTWARE\JKing\X1BC\Fn_A_Action
HKCU\SOFTWARE\JKing\X1BC\Fn_S_Action
HKCU\SOFTWARE\JKing\X1BC\Fn_D_Action
HKCU\SOFTWARE\JKing\X1BC\Fn_F_Action
HKCU\SOFTWARE\JKing\X1BC\Fn_G_Action
HKCU\SOFTWARE\JKing\X1BC\Fn_Z_Action
HKCU\SOFTWARE\JKing\X1BC\Fn_X_Action
HKCU\SOFTWARE\JKing\X1BC\Fn_C_Action
HKCU\SOFTWARE\JKing\X1BC\Fn_V_Action
Each action key can be one of three types: Execution of a file, sending of a character, or sending of a special key.
To execute a file, the string should contain the full pathname of the file to run. This can be an exe, mscr, lnk, mp3, doc, whatever. Enclose the path and file name in quotes, followed by a space, then any parameters if you desire if it is an executable. For instance:
Code:
"\Program Files\App\My App.exe" -p
To send a character, the string must begin with a # symbol followed by the character to send. For instance, to send a "$" character, they value of the string should be:
Code:
#$
To send a special key, the string must begin with a & symbol followed by the identifier of the special key to send. Here are the special keys:
W - Windows key
R - Rotate screen
Q - Send left softkey event
E - Send right softkey event
What other special keys would you like?
For instance, to send a windows key event, they value of the string should be:
Code:
&W
The following are DWORD values:
HKCU\SOFTWARE\JKing\X1BC\LongKeyTimeout
Delay for long key press in milliseconds. The default if the value does not exists is 500.
HKCU\SOFTWARE\JKing\X1BC\LWINCtrlMode
Here are the possible choices:
0 - Do not use as ctrl
1 - Short press mode (short press to enable ctrl then press a letter)
2 - Long press mode (press letter while holding ctrl)
HKCU\SOFTWARE\JKing\X1BC\TabCtrlMode
Here are the possible choices:
0 - Do not use as ctrl
1 - Short press mode (short press to enable ctrl then press a letter; long press sends tab chr)
2 - Long press mode (press letter while holding ctrl; short press sends tab chr)
(Note, you may use either LWIN or TAB for ctrl. Not both at the same time. If both of these keys are non zero, the tab key will be used. I recommend the tab key. It is more reliable.)
HKCU\SOFTWARE\JKing\X1BC\SupportMultipleKeyHooks
Here are the possible choices:
0 - OFF
1 - ON
The default if the value does not exists is 0. (Please leave as 0 for now. It does not work.)
HKCU\SOFTWARE\JKing\X1BC\HoldFeedbackDuration
Duration of vibration feedback for a long key press. Set to zero to disable. The default if the value does not exists is 35.
HKCU\SOFTWARE\JKing\X1BC\LandscapeOrientation
Set which landscape orientation the "R" special key will switch to. Choices:
0 - Left handed (correct orientation for the keyboard)
1 - Right handed
The default if the value does not exists is 0.
Known Issues:
-Does not support multiple key hooks (not really a problem as this is an OS limitation but see this post for details)
-LWIN long ctrl mode does not work
Changelog:
v1.1 [2/12/09]
-Added special key (&R) for screen rotation
-Added special keys (&Q and &E) for left and right softkeys
-Fixed bug that cause crash if Fn key was assigned to non existent file
-Will now prevent camera app from opening if you reassign camera button
-Changed format of reg settings for camera button
v1.0 [2/11/09]
-Improved WIN ctrl key support
-Added tab key short and long ctrl modes and registry setting
-Added key hold vibration feedback and registry duration setting
-Added capability to capture fn keys. Registry settings added
-Added capability to send character strokes and special keys
-Added capability to capture half and full camera button press. Registry settings added
-Changed default registry values to reflect correct installation directory for other languages
v0.4 [1/10/09]
-Fixed bug that caused extra long key press in one circumstance
-Fixed bug that caused crash during startup if registry strings were not formatted correctly
-Added option and registry value to change long press timeout
-Added short ctrl key feature and registry option for feature
-Added option to allow other key hooks (doesnt yet actually work)
-Now released in CAB format; CAB presets all reg values and creates shortcuts in startup and start menu
-X1BC now ignores keys by default if reg values do not exist, rather than capturing by default
v0.3 [1/07/09]
-Added registry keys for key actions
-Program now performs key actions from settings
v0.2 [1/06/09]
-Simplified reg settings
-Removed all but "exiting" popup during startup and shutdown
-Rewrote key hook algorithm for better reliability
-Unwanted keys now released to system as set by preferences
Todo List:
-Support multiple key hooks
Downloads below. Please note, the cabs will overwrite existing registry settings. If you want to upgrade from previous version, back up the settings first or just replace the exe. The cabs also place a shortcut in startup and in the start menu.
nice!
would look forward for the program when it's officially released
Heh, nice one Jking. I think the best way to go is to somehow "merge" your app with Dande's. Dande doesn't want to create a UI and uses mortscript, where you use the - in my opinion easier - registry. From what I see so far, you both have the same app, written in a different way, with the biggest change being you using the winkey (which I like), and Dande using the tab key.
I'd like to see where this goes, keep up the good work!
All the Best JKingDev, sorry I can't help. I don't know programming.
The biggest shortcoming of the X1 is the lack of buttons for mapping to apps and task manager. I miss the ease of button mapping on my previous i780.
Looking forward to your end product!
Good idea. Looking forward to this app.
cheers
I would love to see an option that would allow these button's to be exposed in the list of assignable buttons in the Buttons Settings control panel (similar to how Tilt developers were able to add the PTT button to it) to allow regular action assignments to those buttons.
Very interested to see how this application turns out!
millercentral said:
I would love to see an option that would allow these button's to be exposed in the list of assignable buttons in the Buttons Settings control panel (similar to how Tilt developers were able to add the PTT button to it) to allow regular action assignments to those buttons.
Click to expand...
Click to collapse
Yeah, me too! But I guess this is on driver level, not sure though!
Edit: I take that back, I remember that AEButtonPlus is able to add virtual keys to that list. But I think you still have to run your application at all time in the background, not really giving an advantage to this. I might be wrong again though.
@JKingDev
I was sending you my code. Didn't expect you to be this impatient
From what I have experienced, using the keyboard hook, it is not possible to remap the panel and the symbol button. Usually you can stop their original functionality to work by returning -1 in the hook, but that doesn't work with panel and symbol. So, at least at first sight, it seems to be not possible to remap these buttons.
You could consider also using RegisterHotKey, which is officially supported by the SDK. Mort told me that he uses it with MortPlayer and it seems to be quite powerful too. Maybe the hook and RegisterHotKey together allow you to do more than just with the hook. I thought that, when you can't do it with the low level hook, there is no other way at all to do it, that's why I didn't even bother trying.
Since you already started a thread in the development phase, maybe you should tell us what you actually plan to implement so that people can tell you in advance what they like about your concept and what they don't. Kind of collecting requirements before coding - like software engineering should be (and not like I did it )
Edit: By the way, in the zip file I sent to you by mail, you can also find a text file which documents the button sequences I was interested in. Helped me a lot while implementing.
Angelusz said:
Dande doesn't want to create a UI and uses mortscript, where you use the - in my opinion easier - registry.
Click to expand...
Click to collapse
First of all, the registry is only some kind of global application configuration database (and a bad idea from microsoft if you ask me). The registry can only enable functionality that is implemented in an application. In contrary to that, MortScript allows you to implement functionality that my application doesn't.
Despite of being completely different things, I don't find fiddling in the registry easy nor secure, but that's another topic.
Ah, and no offense intended, alright
@Jking:
THANKS for this great idea !!
X1 is missing a dedicated REC key
I desperately need this function
One-touch key press to automatically start recording a voice note
Maybe your software will finally let me use my Xperia as a voice recorder
Thank you for all the support! I am glad there is interest in this. It is nice to give back to this great community. New test version. I rewrote the key hook algorithm to handle the win and softkeys in a smoother way. Shouldnt have any prolems now. Now, if you put in settings to not capture a it should be released to the system like normal. Also changed up the registry settings a little bit to streamline the code. Made note of the new format in the second post. Next step will be to actually perform user specified actions when keys are pressed. It will actually become useful.
For some reason, when I set the grab volume key settings to 0 and completely ignore them, they still dont do anything while X1BC.exe is running. I am not sure if this is my app doing this or AEBP screwing with me since I still have it installed. Does anyone else get this problem?
millercentral said:
I would love to see an option that would allow these button's to be exposed in the list of assignable buttons in the Buttons Settings control panel (similar to how Tilt developers were able to add the PTT button to it) to allow regular action assignments to those buttons.
Very interested to see how this application turns out!
Click to expand...
Click to collapse
I believe this can be done since AEBP does it but I am not sure how. I have a slight idea of what I think it does. It involves adding some registry keys then sending custom key codes. I will look into this after I have accomplished everything else I want with this app. Can't make any promises but I will try.
Dandie said:
Yeah, me too! But I guess this is on driver level, not sure though!
Edit: I take that back, I remember that AEButtonPlus is able to add virtual keys to that list. But I think you still have to run your application at all time in the background, not really giving an advantage to this. I might be wrong again though.
Click to expand...
Click to collapse
Yes I think you are correct on this. The only advantage is assigning special keys like <rotate screen> ect. Most of those things you can find exe's for or use a mortscript anyway though, and my app will allow you to specify any exe/mortscript/file to run/open anyway.
Dandie said:
@JKingDev
I was sending you my code. Didn't expect you to be this impatient
From what I have experienced, using the keyboard hook, it is not possible to remap the panel and the symbol button. Usually you can stop their original functionality to work by returning -1 in the hook, but that doesn't work with panel and symbol. So, at least at first sight, it seems to be not possible to remap these buttons.
You could consider also using RegisterHotKey, which is officially supported by the SDK. Mort told me that he uses it with MortPlayer and it seems to be quite powerful too. Maybe the hook and RegisterHotKey together allow you to do more than just with the hook. I thought that, when you can't do it with the low level hook, there is no other way at all to do it, that's why I didn't even bother trying.
Since you already started a thread in the development phase, maybe you should tell us what you actually plan to implement so that people can tell you in advance what they like about your concept and what they don't. Kind of collecting requirements before coding - like software engineering should be (and not like I did it )
Edit: By the way, in the zip file I sent to you by mail, you can also find a text file which documents the button sequences I was interested in. Helped me a lot while implementing.
Click to expand...
Click to collapse
Sorry for my impatience. I had lots of free time and was itching to put my coding skills to work. I have wanted to write a button mapper since I owned a mogul (on my 6700 i used pqzII to make the win key a ctrl mey; i missed this functionality) but I never got around to it.
About the panel key, a key hook is able to detect the panel key presses, but for some reason it is unable to prevent the system from detecting it too like it can for other keys. This is why the work around to delete the panel manager registry key is necessary. Once you do that, the system ignores the key. Hotkeys sounds like a good idea. As it is, it works for me. I can try hotkey later though to see if that works out better. Deleting the panel manager key is an easy work around though if you dont use panels.
Well as far as key functions, you will specify via registry key what file/program to open/run. It could be and exe, mortscript, mp3, whatever. I think that allows max flexibility. Run a program directly, or run a mortscript if you have something more complex you want the key to do. The same functionality as yours, the only difference is that this can also run an exe directly as opposed to writing a script to run the exe.
After that, I want to implement the win key as a ctrl ley. There will be four modes. 1.) Disable ctrl key: allow the ctrl key to be assigned for short and long presses like it is now. 2.) Short ctrl key: Short press + letter sends ctrl key while a long press is mappable like it is now. 3.) Hold ctrl key: Hold + press letter then release sends ctrl key, while short press is assignable to something else. 4.) Full ctrl key: both short and hold methods send ctrl key.
Next I will add FN+key combinations to be assignable the way the other keys are (run exe/script/open file).
After that it will be looking into the suggestions of others such as virtual app keys.
Dandie said:
First of all, the registry is only some kind of global application configuration database (and a bad idea from microsoft if you ask me). The registry can only enable functionality that is implemented in an application. In contrary to that, MortScript allows you to implement functionality that my application doesn't.
Despite of being completely different things, I don't find fiddling in the registry easy nor secure, but that's another topic.
Ah, and no offense intended, alright
Click to expand...
Click to collapse
The purpose of using the registry is not really to make things easier, it is just to make things configurable. You may choose what keys to trap and turn the ctrl key on or off. Mortscripts are very powerful and easy and I still give you the option of using them. But if all you want the key to do is launch a program, why launch a script just just launches a program? I give you the option to just launch that program directly.
New version 0.3. Now the keys are fully functional. The program is actually useful now. The registry keys to set for the key actions are detailed in the second post. All fully functional. I have stopped using AEButton plus now as X1BC does everything AEBP was doing. No more AEBP splash on boot. Now on to what AEBP doesnt do, ctrl key, fn keys, ect.
One caveat though. I figured out what the problem was with the volume keys. I use the HTC Blackstone volume control. It seems certain that HTC volume control as well as you tube, radio, ect use key hooks. Even if I tell my program to ignore the volume keys, pressing volume up will bring up the volume control but after that the volume keys wont change it. The reason why is that once HTC volume control pops up it sets a key hook to control the keys. If my app already has a key hook set, HTC VC will be unable to install its own hook, thus cannot grab the keys. I proved that HTC VC uses a key hook by closing X1BC, launching the VC, then trying to launch X1BC. My app reported as expected that it could not install the hook.
I noticed something very interesting a while ago though. I can launch X1BC even while AEBP is running and it will work. I didnt think much of it but now I realize that this is important. HTC VC works fine even if AEBP is running. AEBP certainly uses a key hook. I can launch AEBP first then launch X1BC. If I first launch X1BC then launch AEBP, AEBP wont work. I think this means that AEBP has some mechanism of supporting a second key hook. Probably the same way hookmgr works. I will try installing that and seeing if it makes the HTC programs and X1BC work together peacefully. Ultimately though, I want to give X1BC the capability to support another program setting a key hook. Not a big deal though. The HTC programs still work. Pressing a volume key brings up the volume control then you can control with your finger.
It is fully functional for mapping the hard keys now! Try it!
@JKingDev
I would still like to know what exactly you plan to build as the application, I mean featurewise. What features and maybe layout do you want the final application to have? It does really make sense to gather feature requests before starting the development of a complex software, otherwise people will always tell you what they would like to have changed. I think you would save quite a lot of implementation effort that way and you also could arrange your architecture a bit to the "final" structure of the application.
Dandie said:
First of all, the registry is only some kind of global application configuration database (and a bad idea from microsoft if you ask me). The registry can only enable functionality that is implemented in an application. In contrary to that, MortScript allows you to implement functionality that my application doesn't.
Despite of being completely different things, I don't find fiddling in the registry easy nor secure, but that's another topic.
Ah, and no offense intended, alright
Click to expand...
Click to collapse
None taken. I'm just trying to add some perspective here. This is a developers site - true. So you can expect some people to be able to work with mortscript - true. But, regardless of any other arguments, there's a lot of users who just don't grasp scripting like with mort's and/or cba to learn yet another language. It's really good to support mortscript, all I'm saying it's nice to have the "easier" and simpler options as well. I will probably get into mortscript soon, too - as soon as university loosens up.
Now, on this application itself - it's looking really good Jking, it would be lovely to have it support multiple keyhooks. Another feature I'd like to see is grasping software keys, like for instance when tapping the clock in TF3D. I'd like to be able to set what that does as well; e.g. remap it to an application or something. Same goes for calender etc. - is your current code able to support that too?
Keep up the great work, this one is starting to look like a keeper!!
(Although I like AEbuttonplus, I read/noticed some downsides about it and would rather replace it.)
Dandie said:
@JKingDev
I would still like to know what exactly you plan to build as the application, I mean featurewise. What features and maybe layout do you want the final application to have? It does really make sense to gather feature requests before starting the development of a complex software, otherwise people will always tell you what they would like to have changed. I think you would save quite a lot of implementation effort that way and you also could arrange your architecture a bit to the "final" structure of the application.
Click to expand...
Click to collapse
Dandie, I am not sure quite what you mean by this. I outlined all the features I plan to implement. The application is in its final structure, I am just still adding features. What more details did you want to know?
Angelusz said:
Now, on this application itself - it's looking really good Jking, it would be lovely to have it support multiple keyhooks. Another feature I'd like to see is grasping software keys, like for instance when tapping the clock in TF3D. I'd like to be able to set what that does as well; e.g. remap it to an application or something. Same goes for calender etc. - is your current code able to support that too?
Keep up the great work, this one is starting to look like a keeper!!
(Although I like AEbuttonplus, I read/noticed some downsides about it and would rather replace it.)
Click to expand...
Click to collapse
Thanks Angelusz. I don't believe that capturing things like tapping the clock in TF3D is possible though. Tapping software buttons does not generate a keyboard event. Only actual keys do. Therefore unless TF3D sends key events for some reason this would not be possible.
JKingDev said:
Dandie, I am not sure quite what you mean by this. I outlined all the features I plan to implement. The application is in its final structure, I am just still adding features. What more details did you want to know?
Click to expand...
Click to collapse
Oh, then I must have overlooked something. What configuration possibilities do you want to offer in your UI, what do you want to offer via registry configuration and what must be done via scripts or additional programs. E.g. what do you want to implement what a powerful program like AEButtonsPlus offers, what do you don't want to offer and what do you want to add to it to make it better. Starting a discussion like this would pop up many good ideas for a somewhat perfect application, you will see.
By the way, a software never is final - unless you declare it final, which basically means you stop the development.
JKingDev said:
Dandie, I am not sure quite what you mean by this. I outlined all the features I plan to implement. The application is in its final structure, I am just still adding features. What more details did you want to know?
Thanks Angelusz. I don't believe that capturing things like tapping the clock in TF3D is possible though. Tapping software buttons does not generate a keyboard event. Only actual keys do. Therefore unless TF3D sends key events for some reason this would not be possible.
Click to expand...
Click to collapse
I think you're right, I have however found a tool that allows me to remap the paths! http://forum.xda-developers.com/showthread.php?t=407777
Dandie said:
Oh, then I must have overlooked something. What configuration possibilities do you want to offer in your UI, what do you want to offer via registry configuration and what must be done via scripts or additional programs. E.g. what do you want to implement what a powerful program like AEButtonsPlus offers, what do you don't want to offer and what do you want to add to it to make it better. Starting a discussion like this would pop up many good ideas for a somewhat perfect application, you will see.
By the way, a software never is final - unless you declare it final, which basically means you stop the development.
Click to expand...
Click to collapse
Well I wasnt planning on making a UI unless people absolutely want to. All my settings are easily changeable in the registry. The second post outlines all the available options. When I add the ctrl key and fn keys there will be options for these too. There will also be an option to allow other key hooks if I get that working. Nothing must be done via scripts or other programs. Simply enter in the registry what file to run or open when the key is pressed. Everyone is free to make requests. There is one request to emulate virtual hard keys and I will try addressing that later. I am not trying to match AEBP. I did this a.) becausse AEBP is a bloated all purpose app; mine is tailor made for the X1, and much smaller and lighter; b.) AEBP costs money; c.) AEBP cannot create a ctrl key or grab FN keys; AEKM does, meaning purchasing another application. If there is something more you would like to see the app do let me know. Otherwise, I have laid out everything that is in the plan already.
Angelusz said:
I think you're right, I have however found a tool that allows me to remap the paths! http://forum.xda-developers.com/showthread.php?t=407777
Click to expand...
Click to collapse
Glad you got that worked out. I thought there would be something of this nature.
Hi JKingDev,
I have tired X1BC for only one button so far (long press ok button to switch to 2nd today). So far everything is working quite nicely.
With AEBP I was facing a significant battery capacity drainage this was for me the main reason to look out for another button mapper. At least in my configuration I was able to reproduce this battery problem (I had 3 buttons asigned with a double click function and the action menue). But this is reported allready (Touch HD forum, because it happens on the Touch HD as well). It is realy a pity, because AEBP is a great application and was the very 1st I was installing on a WM phone.
As long as there is no UI maybe you could do a presetting of all those reg key with a samll cab file? And fill the dword with "0" - I understand that than the key has just its standard behaviour.
Because than I just have to type "only" my individual settings (I am lazy - I know).
For making program starting easier I have the idea to create in the reg keys a path name to a standard link such as
"\Program Files\X1BC\OKLongAction.lnk"
Than I create a new link for the program I want to start, rename it to "OKLongAction.lnk" and overwrite with this new link the one in the standard directory.
This would allow to make changes without playing arround in the regestry all the time.
Best regards & Many thanks for this great tool!
dingolino
Registry settings:
The following are DWORD values:
HKCU\SOFTWARE\JKing\X1BC\CapturePanel
HKCU\SOFTWARE\JKing\X1BC\CaptureOK
HKCU\SOFTWARE\JKing\X1BC\CaptureLeft
HKCU\SOFTWARE\JKing\X1BC\CaptureRight
HKCU\SOFTWARE\JKing\X1BC\CaptureVolumeUp
HKCU\SOFTWARE\JKing\X1BC\CaptureVolumeDown
HKCU\SOFTWARE\JKing\X1BC\CaptureLWIN
Here are the possible choices:
0 - Leave the key alone
1 - Capture long press only
3 - Capture long and short press
The following are string values:
HKCU\SOFTWARE\JKing\X1BC\PanelShortAction
HKCU\SOFTWARE\JKing\X1BC\PanelLongAction
HKCU\SOFTWARE\JKing\X1BC\OKShortAction
HKCU\SOFTWARE\JKing\X1BC\OKLongAction
HKCU\SOFTWARE\JKing\X1BC\LeftShortAction
HKCU\SOFTWARE\JKing\X1BC\LeftLongAction
HKCU\SOFTWARE\JKing\X1BC\RightShortAction
HKCU\SOFTWARE\JKing\X1BC\RightLongAction
HKCU\SOFTWARE\JKing\X1BC\VolumeUpShortAction
HKCU\SOFTWARE\JKing\X1BC\VolumeUpLongAction
HKCU\SOFTWARE\JKing\X1BC\VolumeDownShortAction
HKCU\SOFTWARE\JKing\X1BC\VolumeDownLongAction
HKCU\SOFTWARE\JKing\X1BC\LWINShortAction
HKCU\SOFTWARE\JKing\X1BC\LWINLongAction

Try this! (more stuff added)

Ok, by now you probably know HTC's nice text selection tool. To use it, write some words in a HTC application (like the text message composer), then tap-and-hold somewhere in the text. You get one handle to move around, or two if you want to select a precise part.
But there's more. Change "HKLM/Software/HTC/TextSelection/EnableMagnifier" from 0 to 1. Now activate the text selection tool again as described above and try moving the single handle around...
Nice catch. Can be helpful in tight selections. I've been looking through the reg. So much stuff disabled... Why does HTC do this? They could've placed it as an option on SMS menu...
Thanks. Added to tips thread.
Maybe they disable it so we at XDA have something to do until HSPL is released
Some other simple but cool things I discovered:
* You can use the album app to crop pictures. Just pinch-to-zoom until the part you want fills the screen, then tap the screen, tap the icon on the bottom right and choose the second option from the menu. In Dutch it's called 'Schermafbeelding opslaan'. It will save a cropped copy of your pic.
* Here's a registry entry I found: "HKLM/Software/HTC/Manila/InternetPush/EnablePushInternet". It's set to 0 by default. I'm not really interested in push internet, so I haven't experimented with this, but it seems you can enable it if you want.
* Sometimes touch scrolling gets in the way of selecting text. If you want to select text, the solution depends on the context, but to start you just tap-and-hold anywhere:
-- In Opera, you can switch text selection on/off in the context menu;
-- In some apps (like while reading an e-mail message) you get a pop-up menu where the first option is 'make selection' ('selectie maken' on my Dutch device);
-- In Word, just before the pop-up menu appears, you see this: '[T]'. As soon as it appears, move your finger and you'll be able to select text!
* If you like the Footprints app but prefer full size pictures to those square 'polaroids', there's an option to save a full sized copy whenever you create a 'Footprint' (Footprints tab -> Menu -> Settings).
* The 'me' entry in the People app stores your 'owner' info. I know this is widely known by now, partly because I've been posting it everywhere, but I still see so many people complaining they can't register their applications (Resco stuff, SKtools)... because the can't find the old owner info icon. I have registered both Resco Explorer and SKtools perfectly fine without ever bringing the owner info icon back.
I haven't ever been able to get the Text Selection sliders to work on a custom rom even after setting the registry value to 1.
This is an awesome feature and I can't understand why it doesn't work.
leepriestenator said:
I haven't ever been able to get the Text Selection sliders to work on a custom rom even after setting the registry value to 1.
This is an awesome feature and I can't understand why it doesn't work.
Click to expand...
Click to collapse
you know it only works in text messaging, right? (well, some other htc apps too, apparently, but i couldn't name another one i've seen it in)
Yes of course... I'm aware that it only works in the realm of Sense specifically mail and text. I can do the standard selection thing but I just can't seem to get the sliders.
Any ideas?
hmm, well a common mistake I've come across a few times is people not pressing select the first time.
firstly go type some text into a new text message. (not sure where the idea it works in email came from, certainly doesn't on mine.)
ok, press and hold should bring up a cursor and the words "select|select all.
use the single sljder to set the start(or end, whichever) press 'select' nd now a second slider should join the first, enabling you to select.
Thanks for the responses guys, but as it turned out, I didn't realise that Energy ROMs are stripped of the HTC Messaging Module and that seems to be the only place where this 'feature' works.
It's a shame that's it's not available system-wide considering how easy it makes life.
I installed the HTC Messaging Client and voila, it was it there! but that excitement was short lived considering how bad HTC's messaging client is.
hah couldn't agree more. with the magnifier too its great ,, just never gets used.

turning off keyboard vibrate?

Hi all ...just got the HD2 yesterday ...so far fairly impressed with it ..battery usage is a little scary down to 58 after 15 hours and most of those hours where at night ...but still got to be kind of realistic with the size of screen and cpu it has anyway could anyone help/tell me a way to turn off the vibrate function will typing on the keyboard... I’m finding typing is not a problem at with the standard setup just the annoying vibrate feedback ...ive gone through all the menus on the phone looking for the option to turn it off but nothing found also quickly checked the forum to, and didn’t see anything???..
thanks
Go to the settings tab, select the topmost option for adjusting background, tabs, etc. On the next screen you'll find an option for turning vibration feedback on/off.
Actual names might be different as I'm using a Dutch language ROM.
thank you ...was looking in the wrong place ..(the keyboard setup menu)
HD2 (Leo) Disabling keyboard vibration
Thank you..You are absolutely correct.. missed this one and was looking in all other places.
Its located under Sense UI settings > Personalize > Vibration
Thanks again..
Atomzk said:
Go to the settings tab, select the topmost option for adjusting background, tabs, etc. On the next screen you'll find an option for turning vibration feedback on/off.
Actual names might be different as I'm using a Dutch language ROM.
Click to expand...
Click to collapse
doing this doesn´t disable the vibration on my keyboard what can i do?
Settings -> Personalize -> Vibration. Untick the box for 'Vibrate when I tap buttons in HTC Sense,....'
doing the above will also lose the feedback vibration while clicking the tabs in homescreen...... the other simple way to only disable vibration in keyboard alone is do the following registry tweak
Using Resco Registry, go to Hkey Local Machine / Software / HTC / ezsip
Add a new DWORD Value string and call it "VibrationEnabled" (without the quotes) and give it a value of 0.
then Soft reset and enjoy!
or install this cab.

[APP][SVC][Mar 21, 2010] ZoomBarPlus V2 BETA / Make your Zoom Bar more useful!

Overview
The Zoom Bar is the little strip at the bottom of your Touch Pro 2's screen that is used in a handful of applications on your device. Wouldn't it be nice if you could use it in every application? Customized to fit your needs? That's where ZoomBarPlus comes in! You can map keystrokes for tapping, double tapping, long tapping, and swiping left/right. Default zoom functionality is also retained for all applications that are already Zoom Bar aware.
This app was developed because I wanted to have a virtual D-Pad of sorts. The default actions are swipe-right sends the down arrow, swipe-left the up arrow, double tap the action (center) button, long tap is backspace (which is "back" in Total Commander CE, which I use a lot). You can set it up any way you want!
ZoomBarPlus is a TRUE Windows Mobile service, so it does NOT use one of the precious few 32 slots available for processes. You can find more information about services here.
PLEASE NOTE THAT THIS APP IS DESIGNED TO WORK ONLY ON THE TOUCH PRO 2 (AKA RHODIUM / TILT 2) AND DIAMOND 2 (AKA TOPAZ / PURE) AND RELATED DEVICES. It has also been successfully tested on the HTC Imagio (aka Whitestone) and HTC Mega (aka Touch 2). If I'm missing any zoombar phones here that it works on or needs to be tested on, please let me know.
CodePlex
ZoomBarPlus development is hosted at Microsoft CodePlex! http://www.codeplex.com/ZoomBarPlus
License
Ms-RL
Tip Jar
Like this app? Want more like it or quicker updates? Tip a buck (or Euro or Pound or whatever) or two to help the author out! Click here to make a safe donation via PayPal.
Current features
- This is a BETA release, so it should be treated as possibly being unstable!
- Assign keycodes to tap, double tap, long tap, swipe left, and swipe right gestures on the zoom bar.
- Swipe gestures can repeat keystrokes when held, which is good for simulating holding down a D-Pad button, for example.
- Use a registry editor to change configuration settings (a config app will come soon).
- Disables itself if the user is using an application that handles the ZoomBar natively.
- Option to disable itself if the user is on a MessageBox (dialog), so as to not accidentally confirm an "are you sure" notification.
- VERY low resources used -- runs as a TRUE service and uses as close as 0% CPU as is possible by an app like this.
Future features
- Configuration app (.Net CF 3.5 required).
- New gestures: tap and swipe (with hold). Default will be D-Pad Left and D-Pad Right.
- AppToDate support
- New registry location for settings (for safety): HKCU\Software\Avian Waves\ZoomBarPlus
- Per-Window Class settings: ignore (default ZoomBar), or custom gesture settings
- Screen orientation aware (optional landscape flip swipe gestures)
Latest ChangeLog
- Fixed bug: if the active window changed while you were in the middle of a single tap delay, long tap delay, or swipe-repeat, it would continue repeating, even if the new foreground window class was one of the classes that handles the ZoomBar natively, leading to unexpected results.
- You can now specify whether you want ZBP to deactivate when the MessageBox class is in the foreground. This is useful for disabling ZBP when a confirmation message appears. In particular, with Total Commander CE, it was very easy to try to "tap" to activate a file and accidentally click the DELETE button simultaneously, leading to a Delete->Confirm Yes situation. Needless to say, it led to bad results when a lot of stuff you didn't want to delete was, in fact, deleted. :-( Now, it can't happen because ZBP will (by default) deactivate when the confirmation box appears.
Video
See it in action! Thanks to PocketNow for the great review!
http://pocketnow.com/tweaks-hacks/zoombarplus-use-touch-pro2-diamond2-zoom-bar-as-a-d-pad
Registry
All apps listsed in HKLM\Software\HTC\SmartTouch are ignored so that ZBP doesn't interfere with built-in zoom functionality of those apps.
Settings for ZBP are in HKLM\Services\ZoomBarPlus. Setting any keycode to zero disables the feature.
The service needs to be restarted (use DotFred's task manager) or the device soft reset for changes to take effect. This will get easier after this app is out of beta.
Tap = Keycode sent to focused window when the zoom bar is tapped once.
DoubleTap = Keycode sent to focused window when the zoom bar is tapped twice in succession.
LongTap = Keycode sent to focused window when the zoom bar is pressed and held.
SwipeRight = Keycode sent to focused windows when the zoom bar is swiped to the right (repeated for each 'segment' you pass).
SwipeLeft = Keycode sent to focused windows when the zoom bar is swiped to the left (repeated for each 'segment' you pass).
DoubleTapInterval = Time in ms that ZBP will wait for the second tap in a double tap.
LongTapInterval = Time in ms that ZBP will wait before executing the long tap action.
SwipeDoRepeat = Should the swipe gesture automatically repeat if you hold your finger down?
SwipeRepeatAfter = Number of ticks of a swipe before doing the swipe repeat.
SwipeRepeatIntervalFirst = First delay (in ms) before doing a swipe repeat.
SwipeRepeatIntervalRate = Interval (in ms) between each swipe repeat action.
VibrateInterval = Length of time to vibrate for haptic feedback.
VibrateSwipe = Provide vibration (haptic feedback) on a swipe action?
VibrateTap = Provide vibration (haptic feedback) on a tap action?
DisableOnMessageBox = Do not process ZBP command when the current in-focus window is a Message Box (dialog)?
The default settings are:
Tap = Do nothing! (0x00)
DoubleTap = Center "action" button - VK_TACTION (0x0D)
LongTap = Backspace - VK_BACK (0x08)
SwipeRight = Down Arrow - VK_TDOWN (0x28)
SwipeLeft = Up Arrow - VK_TUP (0x26)
DoubleTapInterval = 350
LongTapInterval = 650
SwipeDoRepeat = 1 (Yes)
SwipeRepeatAfter = 5
SwipeRepeatIntervalFirst = 350
SwipeRepeatIntervalRate = 100
VibrateInterval = 25
VibrateSwipe = 0 (No)
VibrateTap = 1 (Yes)
DisableOnMessageBox = 1 (Yes)
Notes
I would recommend NOT setting a keycode for single tap. The reason being that the zoombar seems to have its sensitivity bleed into the bottom part of the screen. So what tends to happen is you will tap a button that's on the bottom of the screen (such as a menu) and the zoombar single-tap action will activate as well. I cannot adjust the zoombar sensitivity, so I cannot work around the sensitivity in code. I found that double-tapping on the zoombar becomes intuitive if you are trying to achieve a D-Pad of sorts, which is why I developed this app.
Download
CAB Installer: http://zoombarplus.codeplex.com/releases
Source Code: http://zoombarplus.codeplex.com/SourceControl/list/changesets
FAQ
Q: ZoomBarPlus isn't working in <some application>. Is this a bug? How do I fix this?
A: ZoomBarPlus is designed to not be active whenever HTC's SmartTouch service sends zoom bar messages to applications that are "zoom bar aware." You may not realize how many applications are actually zoom bar aware. Som ROM cooks like to put in lots of extras (the default behavior is a simple scroll-down / scroll-up behavior, but no action button or anything more advanced). Even without a custom ROM, applications like RSS Hub and the Inbox are zoom bar aware. This can be annoying when the default zoom bar behavior isn't what you want. For example, in the Outlook Inbox, you might want ZoomBarPlus to scroll up and down through the list. It won't because the HTC default behavior is to resize text in the message view and do nothing at all in the list view!
To fix this, go into the Smart Touch registry key HKLM\Software\HTC\SmartTouch and either delete the relevant key of the application you no longer want the default zoom behavior for --OR-- change the value of ClassName in the key to something that will never exist as a window class (maybe add a dozen x's to the end of it). Soft reset after this. The config application (coming soon!) will allow you to enable or disable classes in SmartTouch more easily.
Nice App.
But How can I send only one "down arrow" when I swipe right?It always scroll too much.
This could be very useful. Thanks.
what if i wanna set "swap left" to arrow left and "swap right" to arrow right?
cccooo2007 said:
Nice App.
But How can I send only one "down arrow" when I swipe right?It always scroll too much.
Click to expand...
Click to collapse
Interesting idea. I was sending a keystroke on every time the zoombar "ticked" (moved far enough to generate an event). I can have it just send one per down and release. Next release.
jerrymc2 said:
what if i wanna set "swap left" to arrow left and "swap right" to arrow right?
Click to expand...
Click to collapse
I believe you can just switch the two keycodes for those from his list above. I'm about to test in just a minute to verify.
jerrymc2 said:
what if i wanna set "swap left" to arrow left and "swap right" to arrow right?
Click to expand...
Click to collapse
Edit the registry as stated in the first post. I'm going to create a config program soon. This is beta.
Here is a list of a bunch of keycodes that you all might find useful: http://msdn.microsoft.com/en-us/library/bb431750.aspx
You are looking for VK_TLEFT and VK_TRIGHT
This thing is amazing!! Wow you're awesome thanks so much for this!
jerrymc2 said:
what if i wanna set "swap left" to arrow left and "swap right" to arrow right?
Click to expand...
Click to collapse
thx1200 said:
Edit the registry as stated in the first post. I'm going to create a config program soon. This is beta.
Here is a list of a bunch of keycodes that you all might find useful: http://msdn.microsoft.com/en-us/library/bb431750.aspx
You are looking for VK_TLEFT and VK_TRIGHT
Click to expand...
Click to collapse
Yeah, that worked for me great. I just switched the values (38 and 40, respectively) for the two entries thx1200 mentioned, and then soft-reset.
The app seems to work pretty darn good overall...it's more like using the zoom bar as a scroll wheel, in terms of response/speed, than a D-pad, but it's still a very workable solution. The only place I haven't been able to get it to cooperate is in the outlook inbox screen (WM, not TF3D), but it's worked everywhere else I've tried it so far, including inside of apps like PHM_regedit.
Thanks thx1200!!
sirphunkee said:
Yeah, that worked for me great. I just switched the values (38 and 40, respectively) for the two entries thx1200 mentioned, and then soft-reset.
The app seems to work pretty darn good overall...it's more like using the zoom bar as a scroll wheel, in terms of response/speed, than a D-pad, but it's still a very workable solution. The only place I haven't been able to get it to cooperate is in the outlook inbox screen (WM, not TF3D), but it's worked everywhere else I've tried it so far, including inside of apps like PHM_regedit.
Thanks thx1200!!
Click to expand...
Click to collapse
That's because the Inbox has been modified by HTC to be "zoombar aware." You can prevent the driver from sending zoombar codes to the Inbox by deleting it's window class registry entry in HKLM\Software\HTC\SmartTouch. ZBP purposely does not respond to window classes in that key so as not to have two responses (the app's and ZBP's) firing at the same time.
In fact, if you want to override ALL zoombar behavior, delete all the window classes in that registry key. Keep in mind you will also lose the ability to zoom in the picture viewer if you get that aggressive.
Yes, it does perform less like a D-Pad and more like scroll-wheel. Either way, it gives you a lot more one-handedness than a device lacking a D-Pad (or wheel). I particularly enjoy the swipe-and-hold gesture where it just keeps scrolling. That's particularly d-pad-like. Scroll wheels can't do that.
EDIT: After modifying SmartTouch, a soft reset is required.
thx1200 said:
That's because the Inbox has been modified by HTC to be "zoombar aware." You can prevent the driver from sending zoombar codes to the Inbox by deleting it's window class registry entry in HKLM\Software\HTC\SmartTouch. ZBP purposely does not respond to window classes in that key so as not to have two responses (the app's and ZBP's) firing at the same time.
In fact, if you want to override ALL zoombar behavior, delete all the window classes in that registry key. Keep in mind you will also lose the ability to zoom in the picture viewer if you get that aggressive.
Yes, it does perform less like a D-Pad and more like scroll-wheel. Either way, it gives you a lot more one-handedness than a device lacking a D-Pad (or wheel). I particularly enjoy the swipe-and-hold gesture where it just keeps scrolling. That's particularly d-pad-like. Scroll wheels can't do that.
Click to expand...
Click to collapse
Ahh gotcha...I knew this app ignored any zoombar-enabled stuff, I just didn't realize the inbox fell into that catgory. I'll try tinkering with it in the reg like you suggested.
And yes, the swipe-n-hold feature is pretty sweet...and more like a D-pad than a scroll wheel. I'm still practicing/testing with it (there's a little learning curve to get used to the best thumb-motions), but I love it so far...thanks again!
Hi thx1200,
you are really crazy. You have also another hobby ? Great work. This app have also a very good potential.
mike2nl said:
Hi thx1200,
you are really crazy. You have also another hobby ? Great work. This app have also a very good potential.
Click to expand...
Click to collapse
I have too many hobbies. Many are being neglected! Plus regular 10 hour days at work. Sigh. I wish I was independently wealthy so I could just write freeware and write free music and spend some time on my other hobbies.
I had ZoomAdds installed, removed it, installed this... but I'm just getting the same scrolling I did before, no repeat, no taps, no vibration... Any ideas what else might be interfering?
Aha, found it, TouchLockPro.. Once I disabled it, scrolling.. changed I'll be wtaching this one, I still can't quite "do" a dpad, but been wanting it since I changed from my original Tilt.
sirphunkee said:
I believe you can just switch the two keycodes for those from his list above. I'm about to test in just a minute to verify.
Click to expand...
Click to collapse
you're a genius!
Thanks thx1200.
By the way,when you have changed zoombarplus registry items,you can make it effect by restarting the service using some task manage programs
awesome
I wish HTC would have thought out the zoom bar moor considering it only had one function that didnt work in every isntance.
Great!
Just now installed it on my diamond 2, didn't have any problems yet. Great keep it up!
Little more info
New here...so bear with me.
I have a ATT tilt2 that I just flashed to the new energy ROM from Mar 9th, standard WM 6.5 with sense 2.5.
I love the ROM, but never realized that the opera browser, 9.5 I think, that came with the stock tilt2 was the only opera browser that worked with the factory zoombar. The browser in this new ROM, 10.1 I believe, oesn't work with it...and I love my zoombar!!
Would this program help?

Categories

Resources