Butler - Using capacitive area as stroke launcher and many more features - Touch Pro, Fuze Themes and Apps

I really enjoy this forum since it helps me a lot to increase the productivity with my HTC Touch Pro. I found many useful applications. Unfortunately, after installing a large number of them, I run into the infamous 32 processes limit of Windows Mobile. So I decided to write my own app that combines all the features that I find useful. It is implemented as a Pocket PC service, so it does not require an own process.
Here are the features:
- Better vibration for incoming calls. I found the built-in vibration function very annoying as it vibrates permanently during an incoming call. This extensions vibrates in pulses of 300 ms with a pause of one second when a call is incoming
- SIP changer depending on stylus state. If stylus is out, another soft input panel is selected as if stylus is in. Can be changed via the registry keys StylusInSIP and StylusOutSIP.
- Stroke Launcher. If the finger is stroked from one button to another, an application is launched.Four directions are possible: From home button to accept phone call button and vice versa as well as from back button to reject phone call button and vice versa. The applications can be configured via the RightUpApp, RightDownApp, LeftUpApp and LeftDownApp registry keys. The required length of the stroke can be configured via the GestureMinLen registry key. Unfortunately, the program has to poll HTC's NAV sensor directly in order to not disturb the functionality of the wheel sensor. The sleep time between two polls can be configured with the GesturePollingDelay (in ms). If you use very fast strokes and the device does not react, try to decrease this value.
- Key lock if device is face down. The key lock is activated and the device is powered off if it is turned face down. The key locked is acknowledged by two short vibrations. Key lock can be disabled depending on the foreground window or active process list. Exclude list can be specified via the ExcludedProcesses and ExcludedWindows registry keys. The tolerance for the face down detection can be configured via the FacedownTolerance registry key.
The registry settings for Buttler are stored in HKLM\Software\Butler. Each extension described above can be switched of by setting the EnableFeature registry key to 0.
As I have not much time to react on bugs or feature requests, I have also attached the source code. Fell free to modify my Butler but please publish it here so that we all can benefit from it.
The Butler service is started with the program "StartButler.exe" located in the Windows directory. I call it from a MortScript during device boot. It is important that HTC Touch Flo 3D is already loaded. For some reason, the gsensors can not be initialized if Touch Flo 3D is not loaded. Here is the code I use:
# Wait for TouchFlo3D
While(ProcExists("manila.exe")=0)
Sleep(1000)
EndWhile
# Start the butler
Run("\Windows\StartButler.exe")
Have fun!
Siggie
Change log:
V1.0:
- Initial release
V1.1:
- Reading of the NAV sensor completely rewritten. The sensor is now directly polled. This does not interfere with other programs, so the wheel sensor and the camera is working again.
- EnableFeature registry keys added for switching off each extension individually.
linuxis said:
New thread For Keyboard Slide Out Support:
http://forum.xda-developers.com/showthread.php?p=3305730#post3305730
Updated CAB is there. Happy using.
Click to expand...
Click to collapse

sounds like an excellent program, I'll try it

man, great app. it is totally replacing hbutton, and lets me start using voice commander again. two questions....can you list the other sip layout entries? i really want to use the full qwerty when the stylus is out and in. secondly, is there a way to define a diff lock such as s2u2 and then shut down. either way, the function is fine as is and really, thanks for sharing

I'm interest in Stroke Launcher more than the other apps. is there a chance you can provide a cab for just that portion of your application> I know it's contrary to your original intent (of combining apps) but that's the only one of those apps I really would want so I have the opposite- no desire to install any extra apps even if it's a single process Thanks.

about to give it a shot, sounds great
but i second the request to have s2u2 when put face down

noticed that if you delete the entries for sip, keeping the actual keys though. butler wont start. guess it still needs to check those values i was trying to get it to do nothing to my sip's and just keep full qwerty.
edit** here is the key for full qwerty {36BC8FF6-8241-4c36-ABDE-204885471FEE} and the other keys are all listed under HKCR/CLSID and look like this:
(HTC SIPs)
{198D503A-...} = Phone Keypad
{36BC8FF6-...} = Full QWERTY
{62B00599-...} = Compact QWERTY
(MS Default SIPs)
{42429667-...} = Keyboard
{42429690-...} = Letter Recognizer
{42429691-...} = Block Recognizer
{F0034DD0-...} = Transcriber
Maybe it would be easier to be able to just input the name

Sound great, I'll give it a try as well.
can you make it so that when it face down, the light turn off?

ok i figured out how to change what sip came when
and i turned off "facedown"
only problem is that the smart scroll such as zooming in opera and pics no longer works or autofocus in camera

Great app cannot go unrecognized!
so i downloaded and installed and forgot to make shortcut. A day after i just luanch it using fileexplorer with copy on storage card. Sounds like alot but considering i only reset once a week maybe... its not so bad.
After using it for a half day. I have to admit i was waiting for a way to use shortcuts with out using manilla. I am a RLtoday fan and i dont really use all of manilla features. I LOVE IT. I am considering removing Manilla all together. This has great potential for those of use that want alternatives to manilla.
This should really be placed in essentials.
Thank you.
**BTW cant get screen lock disabled, anyone have more detailed instructions for disabling face down lock?

to disable the lock i set the sensor threshold to 0
in the registry path that was said earlier in the thread

V1.1 available
I have added a new version that fixes the wheel sensor and camera problem. There are also now registry keys available to switch off each feature individually.

ok I dont know what happend but i installed this app and after a restart the keyboard pops up on the splash screen and the phone freezes.. I need a resolution fast. I really dotn want to hard reset. I have a lot of stuff i need back up.... Please help!!!

fuk it. had to hard reset.

any chance on just releasing stroke launcher as a standalone app so we don't need to install all and then disable them? Thanks

Exclude S2U2
How can I disable stroke launcher, when s2u2 is active? I tried to add S2U2(name of DWORD value=0) to ExcludedWindows and s2u2.exe to ExcludedProcesses, but stroke launcher is still active, any ideas?

Great App siggie1970,
Thanks .. I Think The most important thing to do now is to add a User Interface for the configuration..as it kinda hard to do it through the registry
thanks

Wow amazing programs are being released and 09 just started. Great name btw How are resources being used with this program? Since your combining apps perhaps you could work with the guy to incorporate his new alternative to gyrator/ screen tilt app.

bugsykoosh said:
any chance on just releasing stroke launcher as a standalone app so we don't need to install all and then disable them? Thanks
Click to expand...
Click to collapse
that is not the purpose of the program

would it be possible to turn one of the sides into scrolling up and down?
like leave the left up and down for app launching but right side scrolling that would make it pretty much perfect for me
then of course a configurator, although i got it setup but no fun having to change on each new install

It sounds like a great program, thanks! Stroke Launcher, I like that one LOL

Related

"esc" key

Does anyone know how to emulate the "esc" key on a wizard?
I have a DOS based legacy app at work, and while I have been able to get logmein to work fine on my 8125 to control everything else I need to be able to use this one program and I cannot unless I can use "esc" to go backwards. Any ideas?
maybe u can assign a hard button to the esc with this one?
http://ae.inc.ru/aekmaplayout.php
Here's the solution...
PQzII -- http://nicque.com/pqz/PQzII.htm
Under settings go to the "Code" tab, allows you to set IN code whatever you want and set OUT code to be ESC.
I'm a big fan of this FREEWARE! Also allows setting a key for CTL and/or ALT, better caps/num lock indicator (off, on, lock), not to mention key launch of apps, settings, phone numbers, task bar, symbol window ...
NOTE: be sure to install the Wizard-specific version! Read the install directions!
if you're using pocket quake, just use "recorder" key (press it long)
vladimyr, pqzii is not pocket quake...if that is what u meant...
wgary said:
PQzII -- http://nicque.com/pqz/PQzII.htm
Under settings go to the "Code" tab, allows you to set IN code whatever you want and set OUT code to be ESC.
I'm a big fan of this FREEWARE! Also allows setting a key for CTL and/or ALT, better caps/num lock indicator (off, on, lock), not to mention key launch of apps, settings, phone numbers, task bar, symbol window ...
NOTE: be sure to install the Wizard-specific version! Read the install directions!
Click to expand...
Click to collapse
Wow! Thanks for the tip. that is a great program. I just started playing with it but it seems that it could replace Smartskey. Of course, even though there is a GUI the documentation is a little sketchy so it took me a little trial and error but I got it to do what I needed...
I would highly recommend this to anyone that likes customizing their phone.
I have two questions that I could not seem to resolve on their web site
1. Where do you find the .bmp files it looks for to use as an icon? I am getting a white square which works okay since I will only use it now and again.
2. In the program they reference a CTRL and ALT keys that I am pretty sure are hard keys on the keyboard since you can assign them but I am not sure which actual keys they are. Any ideas?

Remove Calender&Contacts bar

Is it possible to remove to whole bar at the bottom of the home screen? Mine has links to contact & calender, but I just want to remove it since I dont use them at all...
Any ideas?
soft key applet
you can use a program called soft key applet, which is downloadable from the xda ftp site, not sure if you can simply turn these off, but you can assign different programs to them.
I use dcinobar, you can just click the .exe to enable / disable it. I have mine placed in the \windows\startup folder works perfectly.
s4vva said:
I use dcinobar, you can just click the .exe to enable / disable it. I have mine placed in the \windows\startup folder works perfectly.
Click to expand...
Click to collapse
nice post, def. gonna try this one out when I get the chance as I never use the on screen soft keys anyway,(plus I know I ain't the only one who can't stand the fact that the home screen plugin from HTC doesn't allow one to scroll down the today screen in landscape mode)and a little extra room is welcomed with open arms. I'm guessing you can still use the soft keys if you want to by pressing the hw buttons on the device right????
cheers
Heres the trick..
It LOOKS a lot better. It makes more of your image available to use.
But wither or not you use the buttons doesnt even matter, because when at the today screen, even if you press those buttons they still work. I use mine all the time, but I dont like the clutter, but it doesnt matter. I just remember what buttons do what, since they still work.
Im adding this to my newbie thread
Thanks!!
This gives the homescreen just a bit more room.
Another nice mod is to remove the iconset for the unlock/com man/etc located above this bar. I used the regedit method using total commander- simply delete the following from your registry:
\\HKLM\INIT\LAUNCH92
This is the key that launches the tray application at boot (To re-enable create the registry key above with the value TrayAp.exe)
Have fun!
morotorium said:
Another nice mod is to remove the iconset for the unlock/com man/etc located above this bar. I used the regedit method using total commander- simply delete the following from your registry:
\\HKLM\INIT\LAUNCH92
This is the key that launches the tray application at boot (To re-enable create the registry key above with the value TrayAp.exe)
Have fun!
Click to expand...
Click to collapse
Actually I found the tray icons very useful and actually added my own tray from batterstatus. One touch activation of any of the radio's and various programs makes using the tray very efficient. Plus you can access the tray without even touching the screen so its a win-win in my eyes.
Regarding Neptunes' first post at the top,
"(plus I know I ain't the only one who can't stand the fact that the home screen plugin from HTC doesn't allow one to scroll down the today screen in landscape mode)"
I have spent days looking for a fix/patch for this. Is not having the scroll feature in landscape mode the final answer on this one?
Thanks guys!
Scroll
Go to HKLM\Software\Microsoft\Today\Items\HTC Home and change the type to 4.
Poweroff and poweron.
Thanks, exactly what i need.

Step 1 - Kaiser more useful as a phone

I have been using the kaiser since dec/2007 and not everything is working as expected.
Background - I have a second phone SE W880i and I am very satisfied with the user interface.
Do you think there will be ever an easy way to use the kaiser as phone such as a ordinary phone? I would expect the kaiser to be more than that...
Anyway, my questions are quite straightforward: (for now
1) How can I prevent the phone from waking up when I receive a text message? (because mostly something in my pocket touches the screen and calls my contacts)
2)How can I set up the function of the JOG (the wheel button on the side) (I would like to be able after holding the wheel a task manager to pop up and with the wheel to choose a running program and to activate it with a push of the wheel again)
3) Is there a dialer / dialer skin to enable really easy and accurate access of the number-pad with fingers?
If you know a program, solution or workaround, please let me know...
Edited: [First]Second Conclusion 14 September 2008
After reading the posts (see below), searching and testing I found a good solution for the Kaiser to fulfill its function as a phone using these components:
Dialer - Minimal dialer (fast, simple, easy to push the keys with fingers(thumb)
http://forum.xda-developers.com/showthread.php?t=395086
Contats - iContact (either the original (now v0.8) or iContact BE (now v6.3.2b2) (very fast, finger friendly and has the functions you would expect)
http://forum.xda-developers.com/showthread.php?t=395829
http://burt.vndv.com/
UI - PointUI 1.51a - it is very fast & smoothly, finger friendly and has most of the functions you would expect!
http://www.pointui.com/
http://forums.pointui.com/viewtopic.php?f=14&t=613 (customizing & tweaks - forum & links)
- on the same day I have posted the the above, I found a newly available UI
Touchflo2d/manilla - it is very fast & smoothly, finger friendly and much more rich on functions than PointUI. Also more rom&ram demanding! Its in beta but everything works ok (depends on your rom)! Now this is my choice!
original thread:
http://forum.xda-developers.com/showthread.php?t=425851
other:
http://forum.xda-developers.com/showthread.php?t=398173
(works only with htc devices)
->and if you use manilla, then a S2U2 is a very handy application for locking the keyboard.
http://forum.xda-developers.com/showthread.php?t=412418
All the applications are free (but you can, of course, donate .
Drawbacks:
Dialer
- only white schema, I prefer black because of the battery endrance
- not sure yet how to change the sound of keys to quiet ticks (the same sound you hear when you delete the whole number by holding the delete key)
Contacts - ??? not found any (yet
UI
PointUI
- it is not optimised for the kaiser, so you can't use for example the ok button to go back in menu.
- This is the most complex part and everyone expect different functions
- no real customization
Manilla - it is too early (still first beta) to judge
-I could not find any customizing tools...
-a bit too heavy (with all the applications)
If you know a solution for the Drawbacks or you have a different experience, please let me know.
I use ROMeOS 4.5.3
If you wanted to use the kaiser as an ordinary phone, why did you buy one? I can tell you don't even extend the functionality past texting and calling.
1) If you use the locking function, that wouldn't be an issue. (Slide 2 unlock is a great program for those who toss their expensive brick into their pocket).
2) AE button plus to launch the task manager of your choice. (You might want to set it to launch the task manager on hold so you can jog down to the item of choice and press it without launching task manager again).
3) There is a bunch of dialers in the development section of XDA-developers. A quick search will return probably the most popular. As for finger friendly, the default dialer is more than enough. But i do recommend you to check out other dialers.
Thanx for your reply.
I use the kaiser form many purposes - browsing web(which now with the last version of Opera is really nice to use), gps navigation, store notes, skype..
But I would expect that it should be at last as good as an ordinary phone to make calls.
I will try the AE buttons.
The keys: Firstly I thought the dialer is nice to use, but then I had an iPhone in my hand, and is more accurate when using the num-pad. But its only a sw issue...
fredbred said:
Thanx for your reply.
I use the kaiser form many purposes - browsing web(which now with the last version of Opera is really nice to use), gps navigation, store notes, skype..
But I would expect that it should be at last as good as an ordinary phone to make calls.
I will try the AE buttons.
The keys: Firstly I thought the dialer is nice to use, but then I had an iPhone in my hand, and is more accurate when using the num-pad. But its only a sw issue...
Click to expand...
Click to collapse
I think the best dialer for the kaiser is Minimal Dialer
snachez said:
I think the best dialer for the kaiser is Minimal Dialer
Click to expand...
Click to collapse
Hi, the Minimal dialer is really very nice. Although it could have a bit more functions assigned to the hw keys, its the nicest touch keyboard I have seen on my phone
Thank you!
first conclusion
After some searching and testing I found a good solution for the Kaiser to fulfill its function as a phone using these components:
Dialer - Minimal dialer (fast, simple, easy to push the keys with fingers(thumb)
Contats - iContact (either the original (now v0.8) or iContact BE (now v6.3.2b2) (very fast, finger friendly and has the functions you would expect)
UI - PointUI 1.51a - it is very fast & smoothly, finger friendly and has most of the functions you would expect!
All the applications are free (but you can, of course, donate .
Drawbacks:
Dialer
- only white schema, I prefer black because of the battery endrance
- not sure yet how to change the sound of keys to quiet ticks (the same sound you hear when you delete the whole number by holding the delete key)
Contacts - ??? not found any (yet
UI
- it is not optimised for the kaiser, so you can't use for example the ok button to go back in menu.
- This is the most complex part and everyone expect different functions
- no real customization
If you know a solution for the Drawbacks or you have a different experience, please let me know.
S2U took care of my pocket call issues. So even if it wakes the touch screen isnt gonna dial your contacts

[REQ]Permanent KforTP keyboard

I would like KforTP integrated onto my Fuze keyboard, but only for the shortcut keys on the bottom, while leaving every other key alone. This would most likely involve changing the keyboard input ROM or something. I'm not sure what to do, but if anyone could make a cab adjusting those 4 keys, that would be very helpful so people who don't use the shortcut keys on the bottom don't have to activate/unactivate KforTP every time a game emulator is used. Information would also be helpful too, thanks

[APP+DRV] [Keys remapper] Raphael Keyboard Controller GSM/CDMA v1.4

This is what many touch pro/fuze owners want to have - ability to get full control over their keyboards.
This is for Raphael only! Do not try to install this on other devices!
Do not ask me to make a version for other device since my remappers are driver dependent and this can be very and very complicated without real device (if possible at all).
So, what is it ? It's a modified keyboard driver with configurator application for keys setup. Any key (yeah, i mean ANY, including Home and Back keys) can be reassigned to perform desired actions. Keys on a QWERTY keyboard are not an exception, they might be remapped too.
If any key has an action configured and is defined to be processed by my driver extension, it wouldn't go into the system. That is to say no one program even like AEButton will see key events processed by my driver.
Driver extension also can vibrate on any key press.
Modified drivers were tested on many ROMs based on different OEMs, so they would work in most cases.
Thanks dcd1182 for CDMA version testing.
Features:
Different event types supported: single, double and triple clicks, long presses
Two modes of key mapping: three actions per key or direct key mapping
Key repeats in direct key mapping mode
Actions sequence repeats in actions mode
Key combinations using FN modifier
Default key behaviour action - you won't loose key's default behaviour if you just want to add double click or long press to it
Different key behaviour depending on foreground process/window class/window text
Multiple rules for each key to provide different behaviour for each application you want
Multiple actions for each event
Different predefined actions:
Run program
Key press emulation
Send symbol/text to active window
Close active window
Switch to window by class/text
Terminate data connection
Wi-Fi toggle
BT toggle
Screen rotation
Power management (screen power toggle, suspend, reset)
Exceptions lists which are used to deny key remapping depending on foreground process/window class/window text
Configurable long press and double click duration
Configuration import/export in configurator
Changelog is located here.
Configurator UI localization support information is located here.
Requirements:
- .NET CF 2.0 (for configurator app)
- WM 6.1/6.5 compatible
Usage:
- Install SdkCerts.cab
- Install RaphKbdControl_XXX.cab
- Soft reset
- Check if keyboard works by pressing hardware buttons and seeing if they do their work, if not - uninstall cab, this wouldn't work on your current ROM
- If it works - go to the control panel and find "Keyboard Config" on a System page
How to define key processing:
- Run configurator (Control Panel -> System -> Keyboard Config)
- Press Menu -> Add key
- When dialog asking you to press key appears press and release desired key
- Set up needed options in key setup dialog and press OK (left softkey)
- In configurator's main window press left softkey "Update settings" to let new configuration take place (reboot is not needed, coz new settings will work immediately after saving)
What to do if keyboard doesn't work after uninstallation of this software:
- in any way stop device "KBD1:"
- for example, you can use Dotfred's TaskManager - navigate to Devices tab and find the KBD1: string, then press Stop
- delete files \Windows\keypad.dll and \Windows\kbdcntrl.dll
- soft reset
How to add new button to Buttons applet and get it working:
- add or copy existing key [HKLM\Software\Microsoft\Shell\Keys\40CX], where X is 1-6
- under this key add next values:
* Name - display name of the button in list (doesn't matter what you write here, it's only for you)
* Icon - path to icon for this button
- goto configurator and define an 'emulate key press' action for any button you want and set these values here: key code - 'App X' and check 'Win' checkbox - only in this case button will work
- save settings and enjoy newly created button
TODO:
- optimization
- Shift+?? key combinations support (if there would be requests on this)
- more actions
- other useful things
- your suggestions ?
Backup before installing of modified driver is strongly recommended.
Be careful when downloading the cab, make sure you choose the correct version suitable for your device.
Also, here is small collection of AltTab programs attached.
You can use any of them assigned as 'run program' action to desired key to switch between running programs.
well im going to try this right now, thanks
tested and works great.
side note: under the todo list adding different key behaviours depending on active window would be great
thanks
Push!
What a great app ! Couold you try to add something like multi-pressd ?
Glad to see something like this come along.
Curious, any plans to integrate with the Buttons applet found in Settings?
Cheers,
Again, excellent work!
luciusz said:
Couold you try to add something like multi-pressd ?
Click to expand...
Click to collapse
Do you mean key combinations ? I will think about it.
hilaireg said:
Curious, any plans to integrate with the Buttons applet found in Settings?
Click to expand...
Click to collapse
No. Although buttons applet and my extension do similar work, they work in different ways, so it's not possible to integrate them at this moment.
It is very cool program.
But it is not work with russian keyboard on official Rom
Or it's my mistake?
after uninstall app and soft reset do not work hardware keyboard,
and keys: on/off device (on the top side) and loudness (on left side)
What can I do?
Cool tool!!! If you implement to configure different behaviour for different programs that would be really nice!
Wow; this really does sound like the tool I was hoping for. (The hardware keyboard and the home/back etc keys? Perfect!)
Sadly, seems like the rom I am using (MightyROM5, for CDMA and Sprint) wasn't one of them... oh, well. If anyone else with CDMA has a ROM and tries this successfully, though, I'd love to know so I can try a different one.
For me, the hardware keys worked again after an uninstall and soft reset. (To turn the screen back on after it fell asleep while I was doing this, I had to hold the power key down as if I was going to force it to turn off, only longer than normal -- just a FYI if someone else has the same issue.)
ldrn said:
Sadly, seems like the rom I am using (MightyROM5, for CDMA and Sprint) wasn't one of them... oh, well.
Click to expand...
Click to collapse
Could you send me keypad.dll (hope CDMA version has the same name as for GSM) file from your ROM ?
is there a way to make a tab key ? i really would like one . i hate having to touch the screen to change entry feilds on the internet ,usually when i log into xda or myspace or anywhere that has a forums ..... i use it tons on my computer and thats pretty much my only complaint about the fuze keyboard ...NO TAB !
tarkim said:
Could you send me keypad.dll (hope CDMA version has the same name as for GSM) file from your ROM ?
Click to expand...
Click to collapse
This is the keypad.dll from MightyRom 4.16 (CDMA):
Two requests:
1.
Please let me execute .lnk files also, not only .exe files
2.
I cannot use arguments when calling exe files. Please support arguments when calling exe files in the next version.
Thanks for listening!
Oliver
gmanfuzing said:
is there a way to make a tab key ? i really would like one . ....
Click to expand...
Click to collapse
owilsky said:
Two requests:
1. Please let me execute .lnk files also, not only .exe files
2. I cannot use arguments when calling exe files. Please support arguments when calling exe files in the next version.
Click to expand...
Click to collapse
All these would be implemented in new version which I'm currently working on. Wait a few days and you'll get it
mcw
tnx for driver, will se what I can do
Nice!
Will this app let me remap the Volume Up/Down to Scroll Up/Down?
tarkim said:
mcw
tnx for driver, will se what I can do
Click to expand...
Click to collapse
Wow, thank you for taking a look at this! (And thanks Mcw for posting it.)
kusbainian said:
Will this app let me remap the Volume Up/Down to Scroll Up/Down?
Click to expand...
Click to collapse
yes
ldrn
i've analyzed CDMA keypad driver that mcw posted here, it's 90% similar to GSM version
i will patch it in a free time like my one, but i haven't a CDMA device to test it so you will need to test patched driver
Amazing app, exactly what I dream about, thanks!
I would also like to propose some more functions than just running app with keypress, like for example closing window, closing app, opening start menu, etc...
And, if anybody knows standalone symbols keypad replacement, with your superb program we can get rid of this problem: http://forum.xda-developers.com/showthread.php?p=3911050
I have an issue with this app, dunno why but only my storage card is available to search exe from, I'm unable to search exe from main memory, how comes?
Thanks

Categories

Resources