can someone out there create a scrollwheel app that makes it work for all apps, not just in a couple of apps?
great idea...
nice idea
What do you want to do with scroll wheel?
If you want to scroll the active app you can use your finger.
If you want to zoom in or out that's quite application specific which is not an easy task to do. (Config scrollwheel app for each application differently, maybe.)
Anyway the second one should be a good feature to use.
see & add reg HKLM/Software/HTC/SmartTouch/
you can use scrollwheel to any apps like jog.
Could you maybe give a more precise howto?
Yeah help us out here, I would like to know it too!? This would be great! Step by step for the noobies please!?
tkhs said:
see & add reg HKLM/Software/HTC/SmartTouch/
you can use scrollwheel to any apps like jog.
Click to expand...
Click to collapse
The registry there reads:
Code:
[HKEY_LOCAL_MACHINE\Software\HTC\SmartTouch]
"Version"="1.00.31096"
"Threshold"=dword:00000008
"FirstThreshold"=dword:00000008
What should be added? I must say I'm a bit skeptic about this...
for example of RescoExplorer
Create key and value, as below
HKLM/Software/HTC/SmartTouch/RescoExplorer
(String Value) ClassName = RESCO_EXPLORER_CLASS
(DWORD Value) Mode = 4
(DWORD Value) WheelCount = 2
reset
you may use scrollwheel at RescoExplorer like jog.
if use other apps, you must know app's class.
RescoPhotoViwer's class = RESCO_PICVIEW_CLASS
InternetExplorer's class = IExplore
File Explorer 's class = FEXPLORE
CorePlayer's class = wCorePlayer
etc...
Dword Value "WheelCount"
1 = Movement of one every 36 degrees
5 = Movement of one every 180 degrees
10 = Movement of one every 360 degrees
Probably, you cannot delete created keys.
To delete it, stop SmartTouch Service.
HKLM/Services/SmartTouch
but...It doesn't seem to be so convenient...
tkhs said:
for example of RescoExplorer
Create key and value, as below
HKLM/Software/HTC/SmartTouch/RescoExplorer
(String Value) ClassName = RESCO_EXPLORER_CLASS
(DWORD Value) Mode = 4
(DWORD Value) WheelCount = 2
reset
you may use scrollwheel at RescoExplorer like jog.
if use other apps, you must know app's class.
RescoPhotoViwer's class = RESCO_PICVIEW_CLASS
InternetExplorer's class = IExplore
File Explorer 's class = FEXPLORE
CorePlayer's class = wCorePlayer
etc...
Dword Value "WheelCount"
1 = Movement of one every 36 degrees
5 = Movement of one every 180 degrees
10 = Movement of one every 360 degrees
Probably, you cannot delete created keys.
To delete it, stop SmartTouch Service.
HKLM/Services/SmartTouch
but...It doesn't seem to be so convenient...
Click to expand...
Click to collapse
someone try this and tell us if this works
Yep, it works. I just tried the exemple he wrote. But it's a lot of work if you have to do all of your applications this way!?
could someone write a cab to activate overall scrolling like the cruise?
yes pls! the wheel is useless!
tkhs said:
for example of RescoExplorer
Create key and value, as below
HKLM/Software/HTC/SmartTouch/RescoExplorer
(String Value) ClassName = RESCO_EXPLORER_CLASS
(DWORD Value) Mode = 4
(DWORD Value) WheelCount = 2
reset
you may use scrollwheel at RescoExplorer like jog.
if use other apps, you must know app's class.
RescoPhotoViwer's class = RESCO_PICVIEW_CLASS
InternetExplorer's class = IExplore
File Explorer 's class = FEXPLORE
CorePlayer's class = wCorePlayer
etc...
Dword Value "WheelCount"
1 = Movement of one every 36 degrees
5 = Movement of one every 180 degrees
10 = Movement of one every 360 degrees
Probably, you cannot delete created keys.
To delete it, stop SmartTouch Service.
HKLM/Services/SmartTouch
but...It doesn't seem to be so convenient...
Click to expand...
Click to collapse
just tried on Resco Explorer and works
thanks
crino said:
just tried on Resco Explorer and works
thanks
Click to expand...
Click to collapse
PIE also work!
Resco Photo Viewer is NOT working
What is the class name for estmertec jbed/operamini?
regards and thank you!!
How can I know the applications classes names?
Would be possible enable it for TF3D?
Thanks
tkhs said:
for example of RescoExplorer
Create key and value, as below
HKLM/Software/HTC/SmartTouch/RescoExplorer
(String Value) ClassName = RESCO_EXPLORER_CLASS
(DWORD Value) Mode = 4
(DWORD Value) WheelCount = 2
Click to expand...
Click to collapse
This screams for a small config app to be written so we can make different settings for all our apps. SK team??
also for the call histry & contects list...
Related
got kaiser 2 weeks ago, overall great phone but it is a little slow.
particulary when oppening the keypad, it takes about 5+ seconds to change to landscape mode. and when it does it still slow (slow responce, particulary from keyboard) for another 10-15 sec.
is there any solution to this problem?
thanks
Thats indeed strange, mines responses instantly.
have u tried increasing font, glyph caches? That may help a lot!
FYI (experiment with numbers to get your own best results)
This stuff is included in kaiser tweak, but you really cant modify the numbers to your own!
Increase font cache
To increase the font cache, speeding up font rendering at the cost of a bit of memory:
HKLM\SYSTEM\GDI\GLYPHCACHE\limit = 16384 (DWORD decimal)
To change it back to the default:
HKLM\SYSTEM\GDI\GLYPHCACHE\limit = 8192 (DWORD decimal)
You can set the value to pretty much anything you like
Enable FileSystem cache
To enable the FileSystem cache, speeding up overall performance at the risk of the cache not being written on a sudden reset:
HKLM\System\StorageManager\FATFS\EnableCache = 1 (DWORD decimal)
To disable again:
HKLM\System\StorageManager\FATFS\EnableCache = 0 (DWORD decimal)
Note that by default, the cache size is zero, and you will see no effect. See "Increase FileSystem cache" to incease the cache size
Increase FileSystem cache
To increase the file system cache:
HKLM\System\StorageManager\FATFS\CacheSize = 4096 (DWORD decimal)
To return the file system cache to zero:
HKLM\System\StorageManager\FATFS\CacheSize = 0 (DWORD decimal)
You can set the value to pretty much anything you like
Increase FileSystem filter cache
To enable the file system filter cache, speeding up overall performance with file mangement:
HKLM\System\StorageManager\Filters\fsreplxfilt\ReplStoreCacheSize = 4096 (DWORD decimal)
To return the file system filter cache to zero:
HKLM\System\StorageManager\Filters\fsreplxfilt\ReplStoreCacheSize = 0 (DWORD decimal)
You can set the value to pretty much anything you like
hmm, i actually have those tweeks enabled, and have not noticed any change in performance of landscape mode.
what ROM do you have on your kaiser? if it's standard then which by which company?
i have UK vodafone one.
Today plugins
Have you installed any 3rd party today plugins? More importantly, are they on?
I had (still have, in a way... bear with me) this problem with SPB Diary.
Without it being represented on Today, the reorientation portrait-lanscape-portrait took maybe 2-3 seconds, with keys being immediately responsive. With Diary ON, it's closer to the 30-second mark, and keys remain unresponsive for another 10-15 seconds. GAAAAAAAAAAAAHHHH!!!
(and this even on a newly-HR'ed machine, mind you)
The problem went away once I started using SBSH Pocket Breeze instead, although it irked me having to buy another app to do the same thing, sigh...
What's funny is that my boss is using the very same incarnation of Kaiser and he has no problems whatsoever with SPB Diary...
So, I say you switch off everything bar HTC Home and try again. If it works well, then start experimenting with plugins, you will identify the culprit.
If it's NOT that... sry, no clue.
Thanks for the suggestion.
just tried disabling all today plugins, didnt do a thing.
it takes exactly 3-3.5 seconds to switch. keys become responsive pretty much instnatly but dont show up on screen for 4 seconds.
i did have spb diary installed but i hated the way it took up most of the screen so i deleted it.
i just need a simple, today/tomorrow meeting list that's all.
will give pocketbreeze a try.
i'm suprised to learn this is not a general prolem, i've seen 3 kaisers and all are slow when you open up the keyboard, but if some people dont have this problem then surely there is a way to fix it.
mensis said:
if some people dont have this problem then surely there is a way to fix it.
Click to expand...
Click to collapse
yup.
use their stuff.
sorry, but CNRM
I got the same problem, 3-4 sec for switchin portrait to landscape or viceversa.
I notice it as I used a PalmOS device previously and everything was almost istantaneous there.
It is really annoying.
Mine has ROM v 1.56.408.5
Any solution / patches?
Original OEM ROMs are known to have a lot of "bloat" installed that can cause overall system lag.
I am running NoThrills WWE based off of the most "official" WM 6.1 ROM to date, and of the 20+ ROMs I've flashed to date, it is the fastest performing ROM by far.
non stock
I'd flash new rom and radio and before installing cabs and changing settings to test the performance besides the normal performance settings and see what that does.
Hi!
How can I set the backlight brightness on my Kaiser using mortscript?
I tried the SetBacklight(10, 10) command and also the commands
RegWriteDword ("HKCU", "ControlPanel\Backlight", "Brightness", 10)
RegWriteDword ("HKCU", "ControlPanel\Backlight", "ACBrightness", 10)
If I check in ControlPanel, only the slider that is not in use is changed.
So if I am on Battery power, only the slider for AC power is changed and vice versa.
I need to set the backlight to full (10) and half (5) when my bt headset connects.
Thanks a lot!!
This is the script:
RunCheck = 0
Application = "\Windows\AudioManager.exe"
WindowName = "Audio Manager"
While (1)
HandsFreeState = RegRead("HKLM", "System\State\Hardware", "Handsfree")
If (HandsFreeState = 1 && RunCheck = 0)
ToggleDisplay(1)
Run (Application)
#RegWriteDword ("HKCU", "ControlPanel\Backlight", "Brightness", 10)
#RegWriteDword ("HKCU", "ControlPanel\Backlight", "ACBrightness", 10)
SetBacklight(10,10)
SetVolume(255)
RunCheck = 1
EndIf
If (HandsFreeState = 0 && RunCheck = 1)
If (wndExists (WindowName))
Close(WindowName)
EndIf
#RegWriteDword ("HKCU", "ControlPanel\Backlight", "Brightness", 5)
#RegWriteDword ("HKCU", "ControlPanel\Backlight", "ACBrightness", 5)
SetBacklight(5,5)
SetVolume(150)
ToggleDisplay(0)
Vibrate(50)
RunCheck = 0
EndIf
Sleep (1000)
EndWhile
You cant do it using mortscript, on Kaiser and newer HTC devices.
HTC has changed the standard way to manage the backlight. It was done (in older devices) changing the registry and signaling a Windows Event. Now you must invoke some hidden functions of HTCUtil.dll. Unfortunatelly they are undocumented and Its not easy althought the name of the calls are clear. I am watching it right now to let CommMgrPro manage backlight on kaiser. If you unassamble backlight.exe you will see how Its done. But not easy....
Dani
When I got this problem on my PDA (Gsmart I) I found that there are another registry keys for backlight setting I found them on HKLM>SOFTWARE>GigabyeCM>LCDBacklight.
after changing this value with mortscript I run
SetBacklight(10,10)
command then my back light changed.
I wish this comment helps you.
Thanks!
Thanks for your replies!
Too bad mortscript can't manage backlight on the kaiser.
I use the kaiser in my car a lot and am looking for a way to control the backlight by time of day. So its dimmed at night and full brightness at daytime.
Best would be via a program and command line parameter so I can integrate it into my script,
which launches/exits the audio manager when my car bluetooth stereo/handsfree is connected.
Unfortunately I am no developer and don't know how to write a program like this.
There is an application called PhoneAlarm that will do exactly what you are trying to do. I use it for this purpose on my Cingular 8525 (HTC Tytn).
Sets MANY parameters on the phone by profile and/or time of day. There are lots of skins to minimize or maximize the screen footprint...
Hope that helps.
LightningDammitt said:
There is an application called PhoneAlarm that will do exactly what you are trying to do. I use it for this purpose on my Cingular 8525 (HTC Tytn).
Sets MANY parameters on the phone by profile and/or time of day. There are lots of skins to minimize or maximize the screen footprint...
Hope that helps.
Click to expand...
Click to collapse
Yes, with Tynt. CommMgrPro and many other programs does it too. The problem is HTC Kaiser (Tilt). HTC uses a new system. Classic ways used by many program doesnt work in kaiser
LightningDammitt said:
There is an application called PhoneAlarm that will do exactly what you are trying to do. I use it for this purpose on my Cingular 8525 (HTC Tytn).
Sets MANY parameters on the phone by profile and/or time of day. There are lots of skins to minimize or maximize the screen footprint...
Hope that helps.
Click to expand...
Click to collapse
Thank you for pointing out PhoneAlarm. I have been using PhoneAlarm for a couple of years now and like it very much. But I try to avoid it by doing what I need with Mortscript, because PhoneAlarm really slows down my Kaiser and has some issues with adjusting volume and sometimes switches power of phone when it should switch wifi.
After I spent some time disassembling backlight.exe, I found some usefull information here:
jianwu.spaces.live.com/blog/cns!C80015801668BB53!233.entry?ccr=9532#comment
It saved me a lot of time, as the program I was writing started working fine in minutes.
The problem with the backllight control seems to be common for newer HTC models - mine is Polaris with WM65X from pacrvalho.
make backlight control programm
Hello everybody!
Who can write a programm using the following
Code:
for .NET users (C#, can easily be translated on VB.NET), here are the calling functions :
[DllImport("HTCUtil.dll")]
private static extern int HTCUtilGetOnPowerBrightnessLevel(ref int pValue);
[DllImport("HTCUtil.dll")]
private static extern int HTCUtilGetOnBatteryBrightnessLevel(ref int pValue);
[DllImport("HTCUtil.dll")]
private static extern int HTCUtilSetOnPowerBrightnessLevel(ref int pValue);
[DllImport("HTCUtil.dll")]
private static extern int HTCUtilSetOnBatteryBrightnessLevel(ref int pValue);
[DllImport("HTCUtil.dll")]
private static extern int HTCUtilGetBacklightMinBrightness(ref int pValue);
[DllImport("HTCUtil.dll")]
private static extern int HTCUtilGetBacklightMaxBrightness(ref int pValue);
In program I need the next parameters:
-g (Set somewhere in registry the value of current brighteness level. For example:
HKCU\Software\MyBrightness\OnPower=80,
HKCU\Software\MyBrightness\OnBattery=20)
-p Value (Set OnPower brightness level and set in registry
HKCU\Software\MyBrightness\OnPower=Value)
-b Value (Set OnBattery brightness level and set in registry
HKCU\Software\MyBrightness\OnBattery =Value)
-pr (Set OnPower and OnBattery brightness level in previos state if it's possible)
Thank you beforehand.
You need to change the Following Registry Value:
HKEY_LOCAL_MACHINE\Drivers\TouchPanel
Value = PressureThreshold
Change from the default dword:00000027
or 34.
to dword:000000f0
or 240 in decimal.
This is drastic improvment.
Enjoy,
Nadavi.
Nadavi, my value is 34 not 000000027?
How come?
What exacly improves?
Do you meen if you press some thing that you have to press less hard before it accepts it as a press???
Seems to make things smoother !
is this only for the diamond??? i know that its a diamond thread but can this work on a Touch?? my pressure threshold is 21977
CorruptedSanity said:
Nadavi, my value is 34 not 000000027?
How come?
Click to expand...
Click to collapse
nevermind... my mistake
Nadavi, thanks for clearing that up.
Awesome.
Thanks heaps,
Helps overcome the slight lack of sensitivity when using the included screen protector.
Now I get less accidental 'clicks' into my contacts when just trying to flick thru them.
Cheers,
ccg
In my TD there is only a string key, not a dword key.
So I changed the string name to "PressureThreshold Original". If the comming change is not working then you can easely change it to the original situation.
So I made a new dword key:
HKEY_LOCAL_MACHINE\Drivers\TouchPanel\PressureThreshold\
to dword: 240 in decimal.
And it works. Indeed better performance.
But now my question is; wat is the string doing with value 60... Iny ideas?
Does increasing the number make it more sensitive or less sensitive? I'm having trouble pressing the OK in the corner of the screen - is my screen faulty or "too used" or can this fix it?
gracias ..
Hey,
I am working on something for work and it has to do with a simple database (excel file) with data kept in rows. This data is accessed using a userform that looks up a query that happens to be the data kept in the first column of the spreadsheet. Basically, each row contains 46 cells, including the first cell (the query).
I am hoping to use the same userform to search, update, save, print and quit excel. So far search works:
Code:
Sub CommandButton1_Click()
dim query as range
set query = range("A:A")
call readData(query.find(TextBox1, lookat:=xlWhole).row)
End Sub
Private Sub readData(x as integer)
Dim boxes as range
set boxes = range("A:A")
TextBox1 = boxes.cells(x).offset(0,0)
TextBox2 = boxes.cells(x).offset(0,1)
....
End Sub
This works fine for search; however, as there is 45 boxes containing different kinds of data, I would rather read the cells from the spreadsheet using a loop and setting the TextBoxN as a static array:
Code:
Sub readData(x as integer)
***** VB treats array(45) as an array having 46 elements *****
dim textBoxArray(45) as [u]Variant[/u]
set textBoxArray = array(TextBox1, TextBox2... TextBox46)
For i = 1 to 46
textBoxArray(i-1) = cells(x, i)
Next i
End Sub
Note that "query.find(TextBox1, lookat:=xlWhole).row" returns the row number of the query and this is passed as an integer to the readData sub-routine and is referred to as "x".
I would like to do this for the read and then do the same, although opposite for the update (i guess I could call it the 'write' back to the excel worksheet).
The problem is, with this code I get an error that says the array is not declared or arranged (Japanese laptop: 配列は割り当てられません。)
Question 1
Any of you developers with any vb experience know how I can correctly declare my array (would be nice if I could decare the array globally so that I don't have to re-declare it for every sub-routine, and I can just use the for loop in each sub-routine)?
At present, all the code is within the userform and I cannot seem to declare outside of a subroutine:
Code:
Public boxArray(45) as Variant
Sub CommandButton_Click()
...
End Sub
Question 2 SOLVED I removed the "set" from the line where I filled the array with each textbox. Tested it again and all data is flowing correctly. Only need question 1 answered.
Thank you.
Hey all, thanks for the replies; I didn't think the thread would be this popular.
I solved the problem with global variables. Instead of setting a fixed array size in the main code section dec area, I found another way of assigning values to all 46 textboxes.
Instead of:
Code:
Dim boxArray(45) as Variant
boxArray(45) = array(TextBox1, TextBox2, ... TextBox46)
then
Code:
For i = 1 to 46
boxArray(i-1) = cells(x,i)
Next i
I used vb's Control method/function (no array necessary):
Code:
For i = 1 to 46
Control("TextBox" + CStr(i)) = cells(x,i)
Next i
So i turned 46+ lines into 6+ lines into 3 lines.
MODS, this thread may be closed. THanks.
Hi there,
since i got my Kaiser i always had a problem with the low BT Volume. I tried many fixes from here but noone works for 100%.
The only lud roms were the PDA Corner ones.
So i made my own
Install the attached cab and restart your device. Then sound will be fine and loud.
If you use SRS Wow it won't work after installation, cause i had to change the drivers in registry.
@MODS: CAN WE MOVE THIS TO DEV/HACKING SECTION? CAUSE I THINK THIS COULD WORK FOR ALL DEVICES!!!
what exactly does this do (on your phone, what does it change, or is it a program always running?) and if it makes things worse is it uninstallable ? (since I see it's a cab).
Mr. Kayne said:
what exactly does this do (on your phone, what does it change, or is it a program always running?) and if it makes things worse is it uninstallable ? (since I see it's a cab).
Click to expand...
Click to collapse
The .cab file just contains registry settings and the file 'AudioPara3.csv'. As far as I can tell the 'AudioPara3.csv' is identical to the one already in my ROM (stock-ish 5.2.19212), however there are quite a few new registry entries that I can't see in my ROM
Code:
[HKEY_LOCAL_MACHINE\Software\Microsoft\Bluetooth\A2DP\Settings]
"SampleRate" = 48000
"BitPool" = 0
"UseJointStereo" = 0
[HKEY_LOCAL_MACHINE\Software\Microsoft\Bluetooth\AudioGateway]
"PowerSave" = 1
"ConnectHFOnCall" = 1
"Capability" = 101
"BTAGExtModule" = OEMAGW.dll
"SupportCLI" = 0
"BTAGPBModule" = \Windows\BthAGPhonebook.dll
"NoRoleSwitch" = 1
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\BtA2dpSnd]
"GainADC_LoudSpkMIC_12h" = 60
"OldDriver" =
"Dll" = bta2dp.dll
"SPKVol_NotPhoneCall_02h_06h" = 0
"SPKVol_PhoneCall_02h_06h" = 3
"HPVol_PhoneCall_04h" = 4
"GainADC_BluetoothMIC_12h" = 33
"GainADC_HeadsetMIC_12h" = 42
"GainADC_ReceiverMIC_12h" = 55
"3DEff" = 0
"MicGain" = 39
"AGC" = 0
"Treble" = 0
"Bass" = 0
"IClass" = {A32942B7-920C-486b-B0E6-92A702A99B35}
"Sysintr" = 25
"Flags" = 65538
"Index" = 8
"Order" = 8
"Prefix" = WAV
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\WaveDev]
"OldDriver" =
"Dll" = Wavedev.dll
"Flags" = 0
"IClass" = {A32942B7-920C-486b-B0E6-92A702A99B35}
"DACVol_0Ch" = 7
"SPKVol_NotPhoneCall_02h_06h" = 0
"SPKVol_PhoneCall_02h_06h" = 3
"HPVol_PhoneCall_04h" = 4
"GainADC_BluetoothMIC_12h" = 33
"GainADC_HeadsetMIC_12h" = 42
"GainADC_ReceiverMIC_12h" = 55
"3DEff" = 0
"MicGain" = 39
"AGC" = 0
"Treble" = 0
"Bass" = 0
"Sysintr" = 25
"Priority256" = 149
"Order" = 11
"Index" = 1
"Prefix" = WAV
Andy
The .cab file just contains registry settings and the file 'AudioPara3.csv'. As far as I can tell the 'AudioPara3.csv' is identical to the one already in my ROM (stock-ish 5.2.19212), however there are quite a few new registry entries that I can't see in my ROM
Code:
Click to expand...
Click to collapse
Yes thats right, the most of the cab are just reg keys, there is no app or similar that runs in background. The audiopara.csv is from an oldr att rom.
First i trie every fix around here on xda-developers, but no one of them worked properly. Then i mixed some of the together, and i noticed an improvement. Some days ago i got the csv file and replace it with the one in my actually rom and volume was very high. I checked this on several roms and for me it seems to work. Some of the reg keys don't do anything with the volume but they improve the sound quality over bluetooth.
Would be great if some of you could post their results.
Don't matter, i don't know if you can completly uninstall this, but there is no key or so that will make bt or so not work anymore.
Also it would be great if you could send my you audiopara.csv files and the reg keys of the rom you are usin (if it's loud), so i try to improve it more and more, or am i the only one with bad volume?
If anyone is using a pda corner rom at the moment, please send me the reg keys and the audiopara3.csv cause theese roms had the best sound quality and volume with bt.
well I tried it out and I guess my bluetooth is slightly louder. ( I checked it before and after)
No adverse effects.
Solace v1 (ROM version 3.29.707.0 WWE)
Radio 1.70.19.09
Windows Mobile 6.1 of course. Hope that helps in some way.
Thanks my brother,i'll test your cab.
Hi Jecky
Thanks for this !!!!!!
To be honest, can't differentiate a "absolutely louder" feeling.
Can you tell us how to modify / what / which part to modify by ourselves to alter the volume up or down? Thanks.
My BTHS is Omiz2099, when matched to ELF is loud as hell. But when match to Asus P552w GalaxyMini2 is soft as hell.
Hence this is much appreciated. eventhough not feeling significantly, but Thanks still.
Did u changed the parameters of the sound variables to their maximum values in that registry tweak ????
BT headset micro_speaker volume change
BT headset's micro_speaker volume hasn't increased, but MIC pickup has, after I changed everything to "100".
I notice there isn't any BT heatset micro_speaker's volume control.
i.e. I suspect need "BTVol_PhoneCall_??h_??h" = ??
but I don't know how many h or whatever to use behind.
Anyone can shead of light?