[APP][SVC][Mar 21, 2010] ZoomBarPlus V2 BETA / Make your Zoom Bar more useful! - Touch Pro2, Tilt 2 Themes and Apps

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?

Related

Remap Softkey and volume button

Hi,
Here is my contribution. The program will remap the softkey buttons and volume buttons:
tap soft key = orginal soft key functions
tap and hold left soft key = start menu
tap and hold right soft key = close/ok button
volume slider at the left = page up/down
You can also use the DPAD to do some extra actions in phone app.
NOTE: If you got notification error, please run smartskey.exe and then run smartskey.exe to close the app. The program will now close all notification that relate to smartskey when it is closed.
Update:
0.60 (2007-08-23)
Fixed: Make DPAD function work on WM6
Fixed: Fix DPAD function not compatible with TomTom
0.56 (2006-11-17)
Fixed: Fix compatibility with CeleDial
0.55 (2006-11-15)
Fixed: Compatible with CeleDial
Fixed: DPAD function will call default Contacts/Text Messaging instead of calling original Contacts/Text Messaging directly. So if you have installed any third party replacement, it will be called when DPAD in Phone app is pressed.
0.54 (2006-11-06)
Fixed: Endless loop when using “OK” button of keyboard in Wizard.
0.53 (2006-06-23)
Fixed: DPAD on will not affect TomTom and calendar
Fixed: remove notification routine will remove all paths so that it will not prompt wrong notification path anymore when user change the location of the smartskey.exe
0.52 (2006-03-26)
Fixed: DPAD functions still apply in SmartDial dialog.
0.51 (2006-03-20)
Fixed: Can use volume key to switch to vibrate, off mode by volume slider
Fixed: Exception List will not check the classname of the window as well, so you can also put applications that will change title in the list.
Added: change the behavior of the dpad, and user can set the action for each direction using DUP, DDOWN, DLEFT, DRIGHT
0.5 (2006-03-19)
Add: DPAD, use dpad for additional action (call log, messaging, programs, contacts) in phone app.
Add: VOLUMEONTODAY, volume key will check the topmost app is today or not
Fxied: improve force closed function.
0.41 (2006-03-11)
Fixed: will not overwrite ini files
Fixed: make executable smaller
Added: PAGEONEXPLORE, use soft key to scroll page in “Programs”
0.4 (2006-02-25)
Fixed: rewrite force closed function again
Added: VOLUMEONPHONE, volume key will check the topmost app is phone or not
Added: REMOVEDUPSDDAEMON, automatically remove duplicated sddaemon events.
Added: OMAPCLOCK, omapclock wrapper to set clock automatically after wake up.
Added: STARTMENUMETHOD, provide alternate method to popup start menu.
...
water
THanks!
Great!
Hi Water,
Great little program! Very useful!
Wouter
very good. With your soft and with xbar I can use my wizard with one hand only...
thanks
does "close" function really close the app, or it is a standrad Windows "close"?
And... If you share the source code... ;-)
Now do exactly as pressing the OK button on the keyboard, so hide only. Actually close is much easiler in programming aspect
[feature request]
is there a chance then that at some stage of the development of the tool it would actually ok/close, and not ok/hide the apps?
[/feature request]
That is a nice idea (I just got my 8125 and I was thinking of that EXACT setup)
One thing I would ask for, if its not too much trouble...
Can you make another progy that does everything (start menu and ok/minimize) except the volume scroll? I like to change the volume while in a call and such.
Thanx and really nice job; Lew
EDIT: Better idea.
Include a config file for the program, here's an example.
Code:
LeftSoftKey = 1 // 0 = default 1 = hold for start menu
RightSoftKey = 1 // 0 = default 1 = hold for ok/minimize 2 = hold for ok/close
VolumeScroll = 0 // 0 = default (volume control) 1 = Scroll
I think that's a good idea. Let me know what you think?
Later; Lew
Is it easy to re-configure the tap and hold functions??
okay, add one more version without volume keys remap. For close button request, I may do it when I am free.
The program cannot be configured because actually no interface.
wow man. thanx for such a fast response . I was just in bed when I decided to check one last time (from my wizard of course)
So can the settings for the program be set by a config file? Can it read the the cfg file and use the settings in it as variables for how it will handle the different key press events?
Thanx again... awsome sauce man!
Later; Lew
Is it possible to automaticly switch beteween volume when using the telephone and prev/next page if the telephone is not used.
This would complete your program.
Ferry
This is one of the mose useful bits of software I have come across for the Wizard. Simple but oh so effective Like others have said, one-handed operation is now much more simple.
Well done water
This is one of the mose useful bits of software I have come across for the Wizard. Simple but oh so effective Like others have said, one-handed operation is now much more simple.
Well done water
This is fantastic! Thank you very much water.
I have what I think is a simple question.
I have put the smartkey in my startup, now lets say I don't want it to start up any more. How can I get it out of start up?
I already tried deleting it it says access denied on the Wizard and if I try from PC.
Any thoughts?
Later; Lew
lewcamino said:
I have what I think is a simple question.
I have put the smartkey in my startup, now lets say I don't want it to start up any more. How can I get it out of start up?
I already tried deleting it it says access denied on the Wizard and if I try from PC.
Any thoughts?
Later; Lew
Click to expand...
Click to collapse
delete the shortcut from startup, and then restart the phone.
Yeah... that means im an idiot...
I didn't put a shortcut in the startup folder... I put the exe int he startup folder. Go ahead... point an laugh, lol, I would.
So now knowing that, any other suggestions?
Later; Lew... the dork of the day.
lewcamino said:
Yeah... that means im an idiot...
I didn't put a shortcut in the startup folder... I put the exe int he startup folder. Go ahead... point an laugh, lol, I would.
So now knowing that, any other suggestions?
Later; Lew... the dork of the day.
Click to expand...
Click to collapse
you can't delete it because it is running. stop the process (memory cp app) and then delete it.

RKeyScroll v0.4b - my gift to you - scroll any window with the keys

Hi !
Here's an utility to scroll the current window. And i do mean SCROLL, not jump page by page.
Since i got my first PPC, i didn't like the way you're supposed to read stuff, i wanted to scroll down, but pressing the down key jumped one page down. I wanted a smooth scroll, so i made one myself.
How it works:
1. Run the app
2. Minimize it (either with your favourite task manager or tap Start/Today) - DON'T CLOSE IT
3. From now on, the UP/DOWN keys scroll the content of the current window - smooth scroll
Volume Up / Volume Down also scroll (a bit faster) - this won't work on some devices that have custom use for the volume keys.
4. You can disable/enable when needed by mapping a button to RKeyScroll Switch (each tap switches between scroll mode / normal mode.
5. When you're finished with it, run it again, or activate it in your task manager and press ok in it (left softkey)
Limitations:
2. It doesn't work in Start/Programs and in Word/Excel (maybe Powerpoint) - I don't know why
If you find other programs (MAJOR PROGRAMS - WHICH MANY PEOPLE USE) that don't work, post here - please don't spam and don't post a program that doesn't need the scroll anyway.
I tested this on my Toshiba G900 (if scrolling with Volume keys, don't hold them pressed) and my wife's HTC Touch.
PS: thanks to Nagakubo Tomohiro (creator of PQz and PQzII) for trying to help.
Change Log:
Code:
0.04b - 26 June 2008
- command line options (by default the app has scroll enabled):
ss - switch scroll mode - only used if app is already running
son - turn scroll mode on - can also be used on startup
soff - turn scroll mode off - can also be used on startup
only use one command line option at a time
this is useful like this:
- In Windows/StartUp copy RKeyScroll Off.lnk to start the app every time the system starts with scrolling disabled
- In Windows/Start Menu/Programs there's RKeyScroll Switch.lnk -map this to a hardware button of your choice (thanks to fisch3009 for the idea)
- made the install easier - packed as a CAB - creates all shortcuts, for automatic startup you must copy manually
- G900 version has scroll switch mapped to camera tap (it cannot be remapped with windows anyway)
0.03b - 25 June 2008
- separate version for Toshiba G900 - this i can test on ;)
- fixed OK button on Toshiba G900
- when no scroll is possible, buttons do what they normally do
- added smoother scrolling on volume up/volume down
- changed the code to avoid future bugs ;)
- still a bug: when start menu/quick menu is opened, it still scrolls the window beneath
0.02b - 24 June 2008
- first release
Hope you like it !
RPG
reserved for future updates
reserved for more future updates
great idée, thanks man
hi rpg
is it possible to use fingers ? instead of up/down buttons
is it a problem using TouchFlo ?
salut monpsy , toujours à fouiner LOL
brunoisa10 said:
hi rpg
is it possible to use fingers ? instead of up/down buttons
is it a problem using TouchFlo ?
salut monpsy , toujours à fouiner LOL
Click to expand...
Click to collapse
If you want to get your finger in the way while reading something AND get your screen dirty, use TouchFLO or SPB Plus for finger scrolling
Great Idea! I'm looking for a automated "timer" type scroller? Where you put like 10 seconds in the setup, and it would automatically scroll a page every 10 (or whatever seconds). No need to touch screen or dpad...
This is very cool. I sometimes have trouble reading through my thumb
I notice it still tries to scroll in the application that it can control even when it is not the current focus application.
Could you make it deactivate when the focus program is something it doesn't work in?
Also make it run in the background so I don't have to run it everytime I want to use it.
E.g. when I am in IE and I activate QuickMenu it still scrolls IE and ignores QuickMenu. Also you mention it doesn't work in File Explorer, likewise in Total Commander you can see the scroll bar move but the screen doesn't scroll.
Possibly have an exemptions list similar to FTouchFlo (I can see you don't like this) so we can add programs that we prefer the D pad to work natively in. Also any chance of kinetic scrolling?
Keep it up!
evojulz said:
I notice it still tries to scroll in the application that it can control even when it is not the current focus application.
Click to expand...
Click to collapse
Fixed in 0.3b, i will post it later today.
evojulz said:
Could you make it deactivate when the focus program is something it doesn't work in?
Click to expand...
Click to collapse
In 0.3b, if it can't scroll, the buttons resume their normal functions, so yes.
evojulz said:
Also make it run in the background so I don't have to run it everytime I want to use it.
Click to expand...
Click to collapse
It's already like this - you just run it once, minimize it, and change windows, it will scroll the active one (unless there are bugs )
evojulz said:
E.g. when I am in IE and I activate QuickMenu it still scrolls IE and ignores QuickMenu.
Click to expand...
Click to collapse
Fixed in 0.3b
evojulz said:
Also you mention it doesn't work in File Explorer, likewise in Total Commander you can see the scroll bar move but the screen doesn't scroll.
Click to expand...
Click to collapse
For me it works in Total Commander. When i have more time, i will try to see why it doesn't work (how to make it work) in the others.
evojulz said:
Possibly have an exemptions list similar to FTouchFlo (I can see you don't like this) so we can add programs that we prefer the D pad to work natively in. Also any chance of kinetic scrolling?
Click to expand...
Click to collapse
I don't like the idea of an exception list - i want to keep this as simple as possible. On my Toshiba G900 i can disable the scrolling with the camera button - so this would solve the problem of using the DPad as a DPad when needed. I will see how I could add this functionality to other phones (i just need the camera button code)
evojulz said:
Keep it up!
Click to expand...
Click to collapse
Thanks, I will. And thanks for the very good feedback.
This program is a great idea, i missed this feature long time.
I don't like the idea of an exception list - i want to keep this as simple as possible. On my Toshiba G900 i can disable the scrolling with the camera button - so this would solve the problem of using the DPad as a DPad when needed. I will see how I could add this functionality to other phones (i just need the camera button code)
Click to expand...
Click to collapse
Perhpas you can add an command line option to switch on and off the dpad scroll function, so everybody can map the software to his or her preferred hardwarebutton.
fisch3009 said:
This program is a great idea, i missed this feature long time.
Perhpas you can add an command line option to switch on and off the dpad scroll function, so everybody can map the software to his or her preferred hardwarebutton.
Click to expand...
Click to collapse
That's a great idea !
I thought i would make the button configurable in the registry, but the user should know the code of the button. Your way is a lot simpler. I will add it in 0.3b tonight before posting it.
You saved me a lot of time.
Thanks !
Cool, will link to it in my next misc news article.
nice nice idea...
Maybe this is already known, but I cannot change the volume with the scroll-wheel during a call.
Perhaps you also fixed it in your new version. Tnx anyway.
johanromijn said:
Maybe this is already known, but I cannot change the volume with the scroll-wheel during a call.
Perhaps you also fixed it in your new version. Tnx anyway.
Click to expand...
Click to collapse
Fixed in 0.3b.
0.03b released
still to do - enable/disable scroll with a button
still to fix - when start menu is opened, the up/down keys scroll the window beneath instead of selecting items in start menu
0.04b released - now has enable disable mappable to HW button
RPG0 said:
0.04b released - now has enable disable mappable to HW button
Click to expand...
Click to collapse
Wow, fast development
Installs from CAB and maps to my camera button great.
The switch command doesn't turn it on and off, just opens the RKeyScroll dialogue the same as the RKeyScroll On command. Is this supposed to happen?
I would like it to start and run silently and not even show up in the running programs list and then stop when the switch command is run again.
BTW, still doesn't work in Total Commander for me.
evojulz said:
Wow, fast development
Installs from CAB and maps to my camera button great.
The switch command doesn't turn it on and off, just opens the RKeyScroll dialogue the same as the RKeyScroll On command. Is this supposed to happen?
I would like it to start and run silently and not even show up in the running programs list and then stop when the switch command is run again.
BTW, still doesn't work in Total Commander for me.
Click to expand...
Click to collapse
Weird, for me the RKeyScroll Switch disables/enables the scroll and the window doesn't get activated(just like i programmed it to do).
Oh, I know. You're closing the app and then running RKeyScroll Switch. Don't click "OK" - this closes the app. Just minimize it, and then press the button mapped to "Switch" - it will work. It will not activate the window again.
About the silent start: That's how I want it to behave, but i got sleepy, so... 0.5b will probably do that.
Just a shameless bump

[APP] DredSensor v1.1 - Allow you to personalize Hard Key Actions

=======================================================================
New version 1.2 available here
=======================================================================
=======================================================================================
DredSensor v1.1d:
=======================================================================================
Link ->: DredSensor-v1.1d
New features in v1.1d:
=====================
Let you choose which Key/Action you affect to each key.
Launcher Mode let you affect an Action for:
Double Tap event
Click event
Long click event
An icon for config tool is created in Program list.
Cache Program List for quick loading in Config window.
Fixes a few bug from v1.1, v1.1b and v1.1c
Tips:
=====
If you upgrade to this version, your config file will be cleared (sorry ).
To define a profile that applies on every applications, launch config tool and edit "Default" config.
If the key you want to affect is not listed, you can define it manually:
Type "Key:[email protected]@", with @@ = VKey code of the key you want to affect.
You can find VKey code list on : http://msdn.microsoft.com/en-us/library/bb431750.aspx
=======================================================================================
DredSensor v1.0:
=======================================================================================
=======================================================================
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
Thx, now I can use opera mini and pie (good for mlb's wap) in full screen
Thank you very much. Great program. Now, with left and right softkey hardware buttons, I can play with my java games.
Claus72 said:
Thank you very much. Great program. Now, with left and right softkey hardware buttons, I can play with my java games.
Click to expand...
Click to collapse
Do any of them even work on the vga screen?
first of all: great app!
only thing i don't like is that now every time i pull out the stylus the phone vibrates. maybe you could make the "window-catching-thing" optional, so you have to enable it first?!? with that, the app would be perfect to me!
figured out an other problem: the "scroll-wheel-function" in opera and tomtom doesn't work anymore...
Herr_Knigge said:
first of all: great app!
only thing i don't like is that now every time i pull out the stylus the phone vibrates. maybe you could make the "window-catching-thing" optional, so you have to enable it first?!? with that, the app would be perfect to me!
figured out an other problem: the "scroll-wheel-function" in opera and tomtom doesn't work anymore...
Click to expand...
Click to collapse
Hello.
As it's a background program, making vivrate the phone is the best way i found to easlily know if it's loaded or not.
If you don't like that, you can disable it by manually editing the 'Config.ini' file in '/Program Files/DredSensor':
Go under the section you want to disable vibrator in (ex: "[Default]")
Add: "NoVibrate=1"
For the scroll problem, i didn't change scrolling system from v1.0 so are you sure it was working in v1.0 and it's no more working in v1.1?
@Dredger97
Thank´s for this wonderful tool!
Greeting
Slide
is there a wa to map home/back to A/B controller buttons? Trying to get it to work with PocketNester Thanks
Thanks
I will tried
Seems to be good. Shall download and try...
Doesn't work for all hard keys
I have the original diamond and it doesn't look like any of the key presses work.
I could really do with replacing volume and Home/Back Buttons. Do these buttons
support Long press too?
bugsykoosh said:
is there a wa to map home/back to A/B controller buttons? Trying to get it to work with PocketNester Thanks
Click to expand...
Click to collapse
If you go in PocketNester -> Option -> Controller, you can see that it's default mapped to 0xC4 and 0xC3 key codes.
So all you have to set in DredSensor is:
- Home: "Key:0xC4"
- Back: "Key:0xC3"
I tried that on super mario, it works, but the problem is that you can't press those keys and simultaneously press Left and Right so it's quite hard to play...
In fact you can map Volume Up and Down keyz to button A and B and it's much easier to play.
djfuego said:
I have the original diamond and it doesn't look like any of the key presses work.
I could really do with replacing volume and Home/Back Buttons. Do these buttons
support Long press too?
Click to expand...
Click to collapse
The actual version of DredSensor doesn't change anything to volume up/down buttons.
All it catches is Home,Back,Talk and End hard keys.
About long press,
- In "Launcher" mode, you can define action for "Long click"
- In "HardKeySimul" mode, if you make a long press to "Home", and mapped "Left" key to "Home" button, it will occure a long press on "Left" key.
I just don't seem to be able to get this to work - I follow the first post to remap the home and back keys to the softkeys, but home always takes me back to touchflo.
Are there any other things I can try, or is it just the ROM i'm using doing this?
Furbious said:
I just don't seem to be able to get this to work - I follow the first post to remap the home and back keys to the softkeys, but home always takes me back to touchflo.
Are there any other things I can try, or is it just the ROM i'm using doing this?
Click to expand...
Click to collapse
I don't think it's a ROM problem.
The 2 most common reasons for not working are:
It doesn't work if you have G-Scroll or something similar installed.
When you edit config for an App, this config only applies when "Window Title" and "ClassName" of the foreground window matches what is defined in that Config.
If it doesn't match any config, DredSensor doesn't catch your hard keys.
You can use wildcards in your Config so, for example, if the app you want to configure always changes its title, you can set "*" for window title.
everything gose well in my diamond! Thx!
just a little suggestion : as volume up/down could be very useful in some app (like a game emulator), could you make them configurable in your next version?
nice job!
Furbious said:
I just don't seem to be able to get this to work - I follow the first post to remap the home and back keys to the softkeys, but home always takes me back to touchflo.
Are there any other things I can try, or is it just the ROM i'm using doing this?
Click to expand...
Click to collapse
I make a softreset and works whit no problem, when i click home button open the program i assign.
Doesn't seem to work in Phone screen. I am not sure if it is because it is a dialog class. If this could be made to work, it would be great as when a person has multiple phone numbers you could scroll by pressing right or left key.
Thanks in advance
just tested it with tetris and it worked great. good stuff
Dredger97 said:
I don't think it's a ROM problem.
The 2 most common reasons for not working are:
It doesn't work if you have G-Scroll or something similar installed.
When you edit config for an App, this config only applies when "Window Title" and "ClassName" of the foreground window matches what is defined in that Config.
If it doesn't match any config, DredSensor doesn't catch your hard keys.
You can use wildcards in your Config so, for example, if the app you want to configure always changes its title, you can set "*" for window title.
Click to expand...
Click to collapse
I've nothing like that installed - I've tried wildcards, and soft resetting between altering them, even setting the default so that it should catch any class or window so that the home and back keys are soft keys one and two.
It's semi trapping the window and keys.......I just wonder if your app is not being fed the correct window name/class, or there's some extra characters or something that is fooling it.
Here's an example - setting home and back keys to the softkeys, with a config of * for window, and * for class.
On the touchflo screen, pressing home will take it to the phone screen (correct left softkey action), but once in the phone screen, pressing home takes it to the touchflo screen when it should go to contacts.
If I'm in any other application, it never traps the home key, and will always go back to touchflo. Disabling touchflo doesn't change this, it takes it back to the today screen.
I'm using shak's rom if anyone else can confirm they can get it to work using that one

[APP][Updt 08/09/2009] DredSensor v1.3a - Allow you to personalize Hard Key Actions

=======================================================================================
DredSensor v1.3a:
=======================================================================================
Now DredSensor should be compatible with other device than HTC Touch Diamond.
Historically, 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.
I extended it to let you configure each app independantly, and choose between four (five) mode:
"HardKeySimul": replace the 4 keyz by classical key event
"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
"--- Disabled ---": Disable specific HTC Touch Diamond Sensor functionalities.
Now, i've added an alternative Key Mapping, that let you map an action (or another key) on normal click and long click event on any other key that the up-described four.
So if you don't have an HTC Touch Diamond, the only mode you can choose is "--- Disabled ---" but you can define "other key mapping".
Link ->: DredSensor-v1.3a
To use it, you need:
1) A Windows Mobile SmartPhone
2) Install the .cab
3) Reboot your SmartPhone
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) Choose the Type you want.
8) Reassign the actions to the events, if needed.
9) Assign "other key mapping", if needed.
10) Click "Ok"
Other Key Mapping:
To add a key mapping, a popup opens and ask you to press a key.
If you want to assign an action to normal clic, just clic on the choosen key.
If you want to assign an action to long clic, clic more thant 1 sec on the choosen key.
Then you have to choose the action, and it's done.
If you only assign an action to a long clic on a key, a short clic on this key should work transparently.
Have fun.
=======================================================================================
If you like this program, feel free to donate:
=======================================================================================
==========================================================================================
Version history:
==========================================================================================
New features in v1.3a:
=====================
Added an alternative key mapping that Should be compatible with any Windows Mobile device.
Added the "KeepAlive" option. Check this if you want DredSensor to prevent the smartphone to sleep when this application is loaded.
Added possibility to Enable/Disable DredSensor:
Exemple of C++ code to do this:
#define WM_DREDSENSOR_START WM_USER+22
#define WM_DREDSENSOR_STOP WM_USER+23
Disable:
HWND m_hDredSensorWnd=FindWindow(_T("DredSensorWnd"),NULL);
if(m_hDredSensorWnd!=NULL)
SendMessage(m_hDredSensorWnd,WM_DREDSENSOR_STOP,0,0);
Enable:
if(m_hDredSensorWnd!=NULL)
SendMessage(m_hDredSensorWnd,WM_DREDSENSOR_START,0,0);
New features in v1.2g:
=====================
Fixes a few bugs
Fix the bug in config window when loading prog list
Added a debug mode:
================
For activating it, just launch DredSensorDebug.exe (in /Program Files/DredSensor).
First it will tell you if DredSensor is running or not.
If it's running, it will activate/deactivate the debug mode so you will find a log in /Program Files/DredSensor/Log
If you have trouble with DredSensor:
Restart your HTC
Launch DredSensorDebug (to activate log)
Wait for DredSensor to stop working
Launch DredSensorDebug to know if it's still runing or not.
PM me the log, the config.ini and a description of the problem.
New features in v1.2b:
=====================
Tried to fix the conflicts with TouchLockPro and similar, hope it works (thanks for those who can check this out)
New features in v1.2:
=====================
Fix "not working bug" with new ROMs
Allow you to choose wether you block the scrolling wheel or not
Allow you to disable the vibrator effect.
Allow you to delete configs.
Tips:
=====
If you upgrade to this version, you can keep your config file.
To define a profile that applies on every applications, launch config tool and edit "Default" config.
If the key you want to affect is not listed, you can define it manually:
Type "Key:[email protected]@", with @@ = VKey code of the key you want to affect.
You can find VKey code list on : http://msdn.microsoft.com/en-us/library/bb431750.aspx
=======================================================================================
DredSensor v1.1d:
=======================================================================================
Link ->: DredSensor-v1.1d
New features in v1.1d:
=====================
Let you choose which Key/Action you affect to each key.
Launcher Mode let you affect an Action for:
Double Tap event
Click event
Long click event
An icon for config tool is created in Program list.
Cache Program List for quick loading in Config window.
Fixes a few bug from v1.1, v1.1b and v1.1c
Tips:
=====
If you upgrade to this version, your config file will be cleared (sorry ).
To define a profile that applies on every applications, launch config tool and edit "Default" config.
If the key you want to affect is not listed, you can define it manually:
Type "Key:[email protected]@", with @@ = VKey code of the key you want to affect.
You can find VKey code list on : http://msdn.microsoft.com/en-us/library/bb431750.aspx
Wonderfull!!
the app is working good for me now! I just love the scrolling with only a touch on the d-pad
Thank you!!
I suggest you stop making a new thread for every new version and instead update your original thread and post that you've updated it.
After installing and lunch program .... i cannot see any of EVENTS on Events tab. Windows "wait gif" is rolling all the time and nothing happen :/ (i talk about mapping under HardKeySimul
Kraize said:
I suggest you stop making a new thread for every new version and instead update your original thread and post that you've updated it.
Click to expand...
Click to collapse
That's what i wanted to do but i didn't found a way to update the post title...
Is there one?
thanx for the update I'll try it and report
Thanks for the new version! And thanks for adding the OK button command!
Seems to be working better than the last version although pressing the back key (which I have mapped to click right) a few times in quick succession does seem to send a back command. Pressing the home key in quick succession doesn't have this problem.
Also, I can't get the scroll wheel to work despite leaving the "Block scrolling wheel" box unchecked. Am I doing something wrong?
antlane said:
Thanks for the new version! And thanks for adding the OK button command!
Seems to be working better than the last version although pressing the back key (which I have mapped to click right) a few times in quick succession does seem to send a back command. Pressing the home key in quick succession doesn't have this problem.
Also, I can't get the scroll wheel to work despite leaving the "Block scrolling wheel" box unchecked. Am I doing something wrong?
Click to expand...
Click to collapse
Hmm.. For the scrolling wheel, i use a tricky solution that works on my HTC touch diamond. May be it doesn't work on your model or on your rom version...
If someone have an idea on how to send a "ZoomIn" or "ZoomOut" event to a window (or how to develop an application that catch ZoomIn and ZoomOut events), that would help a lot...
As far as i studied the problem, it seems that ZoomIn and ZoomOut events are equal to Up and Down keys, but comming from a "rocker" .. so I can send those Up/Down key events, but no idea of how to tell that this comes from a "rocker" (and i don't even have an idea of what a "rocker" is...)
Help?
Wow, this is great! I am still loving the ability to remap my home key (and the others), and I really like the new scroll wheel feature. Actually, for me, instead of zooming in some apps, it now seems to scroll just about everywhere -- which is perfect, I like that more anyway.
Is there any way to donate or buy you a cup of coffee? I'd like to as a thank-you.
What an absolutely brilliant program!
Thank you very much Dredger97!
Greeting
Slide
ldrn said:
Wow, this is great! I am still loving the ability to remap my home key (and the others), and I really like the new scroll wheel feature. Actually, for me, instead of zooming in some apps, it now seems to scroll just about everywhere -- which is perfect, I like that more anyway.
Is there any way to donate or buy you a cup of coffee? I'd like to as a thank-you.
Click to expand...
Click to collapse
Well if you insist , i've added a donate link in the first post...
Big thanks to all for your positive and constructive comments
TF3D and DredSensor don't play nice together
This program is awesome! You can do so much with it! However, I am having one small issue with it. It appears that if I use it on Manilla [TF3D], that it works initially, but over time it seems to stop working and ends up freezing Manilla. The start icon still works, all the unmapped hardware keys still work and the task bar is still live. Only Manilla is frozen. If I don't map any keys on Manilla, it works fine for hours. But it only takes about 1 or 2 hours before there is a freeze on Manilla.
Any thoughts on how to correct this? I would love to use this program from my Home screen on Manilla.
Long click event → vibrate/nomal
Hi,all!
i want "Long click event" of Endkey to set vibrate/nomal.
how edit setting?
sorry for my english!
thanks.
downloaded v1.2, opened resco picture viewer,Got stylus out and back-in, in less than 1 second, tapped yes.
than for type i choosed disabled, but nothing, every time i press any hw key it does what it need to do(home to home, back for back, hangup close..)
what am i doing wrong??
intel286 said:
downloaded v1.2, opened resco picture viewer,Got stylus out and back-in, in less than 1 second, tapped yes.
than for type i choosed disabled, but nothing, every time i press any hw key it does what it need to do(home to home, back for back, hangup close..)
what am i doing wrong??
Click to expand...
Click to collapse
Well, disabled means "DredSensor is disabled" so it's normal that your hw key do what it's supposed to.
If you want to disable the hard key, you can:
- set Type: Launcher
- set "Click" action = "Misc:Nothing" on one of the keys.
So it will catch the hard key action, and do nothing when you click on it.
For me it doesn`t work :/ windows "Wait" gif is always apperaing when i want to add new Event. :/ And there is no Events on the list ...
tried that but same when i press home it goes to home
i have tried that on wmp.
is this program always turned on,now when i remove and than get back in stylus no menu pops up?!?
Great Job!
the app finally works on my pda! so glad you solved this bug!
But I still have a little problem...the app runs fine, when I start the buttons work with the function that I chose, but after the first time I use it it crashes and stops to work. Am I the only one with this problem?
Thanks,
Michele
Dredger, I asked in the last thread, but didn't get a response.
As far as mapping other buttons goes, could you post a quick example of what I would type in the config.ini to map the center D-pad button to act as the "left" button.
I realize the buttons commands are listed in the link you provided in your first post, but I'm having a little bit of trouble figuring this out.
Thanks.
Great app btw.
I'm gonna have to have another go at this... For some reason I just can't wrap my head around the setup of the program.

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.

Categories

Resources