RKeyScroll v0.4b - my gift to you - scroll any window with the keys - Windows Mobile Development and Hacking General

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

Related

Development Request: turn HTC [X]button into [OK]button

i am using htc x-button on my treo and like the ability to actually close the application instead of hiding it.
however for onehand navigation it might be very usefull to add an option to close applications with the (hardware) [OK]button.
i am not a programmer but having a look at the size of the original program it might be a very small change to allow that. what do you think?
is it worth the try? would you say this might be a usefull additon?
thanks a lot for your time
ditch x-button & use PQzII instead.
or tman for that matter
@ deadeyes:
nice program but unfortunately doesnt work on treo with WM6. (display problems and OK-funktion not working)
@pat123:
thats "just another taskmanager", but doesnt fits my needs. it requires the use of the stylus to select and close programs.
i just want to use the treo onehanded as much often as possible, no stylus. so using the ok-button to actually close programs would be perfect. PQzII would be perfect (even overloaded for me) if it works with WM6.
any more hints on this one?
I am also trying to make my device (8525) as thumb friendly as possible. I use SPB Mobile shell, which has an easy-to-poke-at-with-your-thumb task manager. The task manager can be used to switch to or close any running application. It can also close all, close all but selected, or minimize all. I mapped the task manager to the PTT button (using Sleuth's PTT fix) for easy access. I also mapped the Today screen to the hardware Internet Explorer button to use as a "minimize all" button. (SBP Mobile Shell also has makes it possible to add large icons to the today screen to launch your favorite programs). I now have a fairly easy time switching between apps while walking or whatever without using two hands. I still wish I could map the "OK" button to close rather than minimize though. Maybe someone with far more skill than I will come up with a way to map the "OK" button to close an appication. I'm more "user" than "developer".
...Or Pbar for that matter.
nehvada said:
@ deadeyes:
nice program but unfortunately doesnt work on treo with WM6. (display problems and OK-funktion not working)
Click to expand...
Click to collapse
hmm, I'm using it on WM6 (hermes however), and it working perfectly.
by display problem, do you mean the white square on your top bar? if yes, you can disable it in the icon tab.
did you check the "Use OK button" in the Window tab? if yes and it still doesn't work then you will probably need to map close function manually in the system tab. (you will need to find out the key code in concern, they have other apps to help you do that)
I found something new (to me) since my last post. I just found vijay555's OK/close button application. It can be mapped to a hardware button (not the OK button unfortunately), but it works great. It's much easier to use a hardware button than it is to try to wedge my fat thumb into the upper right corner of the screen. Here's the link --
http://www.vijay555.com/index.php?Releases:VJOkButt

Here's the trick to assign panel button to other exe

Only works for exe (shortcut ".lnk" won't work)
Code:
1. HKLM\Software\SonyEricsson\PanelManager\ApplicationName
2. e.g. Change it to "\..\Windows\Pie.exe"
thats just linking to another application. but its not released for windows mobile use.
jackleung said:
Only works for exe (shortcut ".lnk" won't work)
1. HKLM\Software\SonyEricsson\PanelManager\ApplicationName
2. e.g. Change it to "\..\Windows\Pie.exe"
Click to expand...
Click to collapse
NICE find ! Thx alot !!!!!
It works flawlessly with Quickmenu !
So.. I got my Startmenu-Button back !
Btw: I also installed the Blackstone FM Radio Cab so no functionality is gone from my X1. The Mediapanel is nice but.... Who cares...?
DocMAX said:
thats just linking to another application. but its not released for windows mobile use.
Click to expand...
Click to collapse
???
Of course it is a registry tweak and not an application ?
What am i doing wrong?
i changed the reg key to: \Windows\CommManager.exe
but it still tells me that there is no panel manager instead of opening the communication manager.
anheuer said:
What am i doing wrong?
i changed the reg key to: \Windows\CommManager.exe
but it still tells me that there is no panel manager instead of opening the communication manager.
Click to expand...
Click to collapse
I made this mistake as well, it's because you've missed the most important part.
1. HKLM\Software\SonyEricsson\PanelManager\ApplicationName
2. e.g. Change it to "\..\Windows\Pie.exe"
"\..\"
You must put that at the start. I did my comm manager and has to do:
"\..\Windows\CommManagerLink.exe"
Thanks for finding this to the OP as well, been looking to get this changed for a while!
i installed one of the roms that do not have panel manager installed. this trick doesnt seem to work on the rom
im confused
cansomeone pls explain what u can achieve by changing this buttoins function other than losing acces to the panel function :S or does this simply mean u can save cpu usage
pls reply with some insight
thnx
Uh... but if you assign your panel button to something else.... then how you gonna access the panels still?
This is incase you dont use the panels.
Like me... i have had the original rom, and 2 roms here on this forum (custom)
And with every rom i had the same thing.
Having tf3d and panels will crash my phone (when i use e.g. google panel and then hit the x for panel change, then i often need to remove battery and place it again)
i rather have the tf3d then panels if i have to choose.
so thats why i use the X for a different app.
AE Button Plus
Or you could use 'AE Button Plus' it works for me flawlessly. I can assign the Panel Button to just about anything I choose.
how did you asign something to the AE button?
how do i reassign another button to run panel manager? I tried to execute /Program Files/Panel Manager/PanelManager.exe but that does not bring up the panel manager
anheuer said:
how did you asign something to the AE button?
Click to expand...
Click to collapse
In AE Button Plus main screen, select FILE menu and choose ADD BUTTON and the dialog box that pops up is waiting for you to press a hardware button...
Press the X-PANEL button (which will probably launch panel manager if it's installed, no matter close that down) it will then allow you to press in the dialog box 'ADD KEY' and also shows you the Key code...
The key code will be next to the newly created button in the list for you to assign to whateve you like.
fotoingo said:
NICE find ! Thx alot !!!!!
It works flawlessly with Quickmenu !
So.. I got my Startmenu-Button back !
Click to expand...
Click to collapse
how did you do this? i want panel button remapped to start menu but i cant seem to figure it out there is no startmenu.exe in windows file??? what is the file called?
thanks
he uses QuickMenu 2.7 as a replacement start menu.
patterns said:
how did you do this? i want panel button remapped to start menu but i cant seem to figure it out there is no startmenu.exe in windows file??? what is the file called?
thanks
Click to expand...
Click to collapse
Yeah, assign Quickmenu.exe to the panel button and you get a "startmenu" button. Search for Quickmenu 2.7 around the forum....
doesnt work
I followed your directions and can't get the x-panel button to run quickmenu. It still runs the panel manager. There's something else that needs to be done, and I haven't' a clue what that is.
At least I was able to load the cab file that makes panels work on the touch HD. So when I eventually get the x-panel button reassigned, I can still access panels (which I infrequently do as it is). I have yet to see the value of panels. I like running things in the background concurrently, i.e. listening to streaming radio or mp3, txt'ing, using GPS, or exploring on the web. Panel switching seems to halt other tasks.
Kinda works
Finally got quickmenu to work with the x-panel key. Another important tidbit of info is that quickmenu must already be running for the x-button to invoke it. Otherwise it loads panelmanager.
Another bit of info, as soon as you run panel for the first time (in programs, the touch HD cab adds it on install), the behavior reverts back to the x-panel key invoking panelmanager and not quickmenu. I checked, quickmenu is still running. Figure that one out. Very confusing.
i installed panel as a seperate cab, i dont have the panel manager in my programs and i cant seem to invoke it any other way besides pressing the hardware button
apprentice said:
Or you could use 'AE Button Plus' it works for me flawlessly. I can assign the Panel Button to just about anything I choose.
Click to expand...
Click to collapse
I heard AEbutton plus cannot grab the OK button. Is this true?

[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.

Shortcut/App to Launch HTC QuickMenu (Please?)

I have a Fuze with everything turned off but what I want (runs quick and smooth). I really don't want 3rd party bloatware and other "TaskManager" or "QuickMenu" applications. I am simply looking for the syntax/shortcut (or maybe small app to launch the built-in HTC QuickMenu that is in the top right corner of the Windows Mobile screen.
I like this QuickMenu and the options that are available... most of all I like that it's already a part of my phone (so hopefully nothing more to install but a shortcut). From what I can tell it's part of the "taskservice.dll" that is loaded in \HKCU\Software\HTC\BootLauncher\TaskManager\
Since the Icon in the top-right for the QuickMenu is so small (and I hate getting out the stylus) I wish to map a shortcut/command-syntax preferrably to Right-Soft Key, or possibly a hardware button like PTT.
I've contacted HTC by email and they simply said it couldn't be done but I know that's probably not the case... I just need a super genious hacker to give me the right syntax/steps to make it work.
Thank you in advance for whoever can help on this!!!!
Michael
*** Please Relocate Thread if I have somehow posted it in the wrong section. Thanks!!! ***
all you have to do to launch QM from a hardware button is maake a shortcut to programs. then, go into \settings\personal\buttons and select your program to run from one of your buttons.
you can also go into qm settings and select the option to replace the start menu.
also, QM is a third party app.
SVI,
Thanks for the reply.. I guess I should have clarified that I am familiar with the steps for creating a shortcut to an EXE however the QuickMenu that is built in to HTC's Fuze is calling a DLL at startup... so the trick would be how do I shortcut/call a DLL file that has been started up as a service??
I am not interested in any other 3rd party QuickMenu, just wanting to find the way to call up the one that is already installed on my phone... ie. by pointing a shortcut (or possibly small launch app) to start up the "taskservice.dll" with whatever tags/options to open the menu on the Today Screen.
Thanks for any additional info you may be able to provide!
Could you found the solution?
no answers yet
Sancho,
I have still been unable to find the solution, and would very much STILL BE interested in finding it. In the meantime I have just used a shortcut to the built-in Taskmgr.exe (\Windows\Taskmgr) or TaskManagerApp.exe also found in Windows. Both programs are different versions of Task Manager and I found that I like Taskmgr a bit better because I can switch to an open application using that version of Task Manager. However I still like the HTC Quickmenu in the top right corner (other than the fact that it is way to small to hit with your finger) and would love to find a way to point a shortcut to the opening it up while on the Today Screen so that I can see running apps, easily close all, switch to one in particular, or see my power & memory settings.
If anyone still has any ideas on how I might accomplish this I would be extremely grateful! Again I am wanting to do this Natively, using the HTC QuickMenu (Taskservices.dll) already built-in and not interested in installing another 3rd party app that takes up memory.
Thanks in Advance for any help that may be offered!
Michael
Thank you for your fast reply!
Re: Shortcut/App to Launch HTC QuickMenu
I just got a fuze and when i went through the settings i found out what your probably trying to do. Go to Start/setting/the small tab on the bottom that you would find your ''hold end key button''/ Hold end key setting. when you get there , they will be a couple settings relating to what you want your end key shorcut to be. then you will click on ''access quick menu'' (or something like that).
The HTC Quick Menu 2.1 (Build 1918.3631) settings:
(Start / Settings / Systems / Task Manager / Button)
Enable the "X" button to end running programs
End programs by tapping "X"
End programs by tapping and holding "X"
Enable Quick Menu on Today screen
(no more...)
I don't think that it is possible to find a shortcut for this. (do hope that I'm wrong and somebody can find the way and share it here though)
But I would like to recommend one of my favorite light apps which can realize what you desired for. It is called HButton and created by an xda contributor, please referhere:
http://hbutton.dyndns.org/
In Hbtton settings, the <Ok/Close> function actually point to the upper-right corner of the screen.
Think you will like it.
No, thanks, I don't want to install 3rd party apps. : )
I think, need to find a solution here, as under Windows the "rundll32.exe" the "taskservice.dll" to run.
Hello,
I use a litte script for that on my TOPAZ (Mortscript is a third party program, but for me indespensable)
Code:
SendSpecial ("win")
Afterwards, you can map it to a button
sudist said:
Hello,
I use a litte script for that on my TOPAZ (Mortscript is a third party program, but for me indespensable)
Code:
SendSpecial ("win")
Afterwards, you can map it to a button
Click to expand...
Click to collapse
This MortScript script is call the "Win" button and open the Start menu.
This is not an option, not a good.
We would like to open the HTC TaskManager (on right-up corner).
sancho1234 said:
We would like to open the HTC TaskManager (on right-up corner).
Click to expand...
Click to collapse
Oups... I understand now
Maybe something like this ???
Code:
Show ("Desktop")
Sleep 500
Mouseclick (470,10)
sudist said:
Oups... I understand now
Maybe something like this ???
Code:
Show ("Desktop")
Sleep 500
Mouseclick (470,10)
Click to expand...
Click to collapse
Thank you. But I think the "sleep" function is not too stable for me. I wrote a similar script already, I have not had good experiences.
Dit you try :
Code:
Show ("Desktop")
WaitForActive ("Desktop")
Mouseclick (470,10)
sudist said:
Dit you try :
Code:
Show ("Desktop")
WaitForActive ("Desktop")
Mouseclick (470,10)
Click to expand...
Click to collapse
Error, because the WaitForActive is need a ",": WaitForActive ("Desktop",)
I try with WaitForActive ("Desktop",[0-3]), no action.
wg5566 said:
I don't think that it is possible to find a shortcut for this. (do hope that I'm wrong and somebody can find the way and share it here though)
But I would like to recommend one of my favorite light apps which can realize what you desired for. It is called HButton and created by an xda contributor, please referhere:
http://hbutton.dyndns.org/
In Hbtton settings, the <Ok/Close> function actually point to the upper-right corner of the screen.
Think you will like it.
Click to expand...
Click to collapse
WG > I looked at the link provided and I am not quite sure I understand. from the looks of it.. it would appear to be another Task Manager type application? But are you saying that when configuring the "<Ok/Close>" function and using it, that it will activate the Quick Menu on the Today Screen by "pointing ot the upper-right corner of the screen"? or have I misunderstood you?
If in fact it activates the Quick Menu on the Today screen by activating the upper-right corner, then it may be an app worth trying.
If you could reply and please clarify that would be great.
If anyone else has additional info to add on how I might do this natively that would be AWESOME!
Thanks in advance for your help!
wow... lol. ok so I guess there's been a few more posts since WG posted and my reply to his was a bit outta place.
But it sounds like Sancho unerstands what I am looking for.
I am not looking for another Task Manager/Menu, or the "Quick Access List" menu as defined by the "Long Press End Key" in the System Settings.
I am looking for the shortcut/syntax/code/scrip to access what is referred to in the Registry as the HTCQuickMenu (running taskservices.dll) and execute the drop down on the today screen from the small icon in the upper-right corner looks like: ≡ˇ
thanks!
sancho1234 said:
I try with WaitForActive ("Desktop",[0-3]), no action.
Click to expand...
Click to collapse
Hello, sorry for the waiting (I was on a boattrip )
First you need to know how your desktop is called with this script:
You clic on this script and hurry to your desktop (the windowname is showed for 5 sec
Code:
Sleep 5000
X1 = ActiveWindow()
Sleepmessage (5, X1)
The you copy this windowname in the script
Code:
Show ("NAME")
WaitForActive ("NAME", 6)
Mouseclick (470,10)

Categories

Resources