Warcraft 2 on Fuze setting hardware keys - Touch Pro, Fuze Themes and Apps

I have warcraft 2 installed on my fuze and just wanted to know how to customize the pocketpc.lua so that the middle circle button is set to tap as right click and the down button (with phone oriented in potrait mode) as "a" attack button.

This is my current pocketpc.lua
--- The Keys >>>
--- Scancode, - The virtual key code of the hardware button
--- Modifier, - Shift (1), Ctrl (2), Alt (4), Tap as Right mouse button (8)
--- Ascii code - Ascii code of button to emulate,
--- Type of action - Hold (0) or Switch (1)
PocketPCKeyBindings(
5, --- First comes number of keys
112, 8, 0, 0, --- RETURN Key
193, 0, 0, 0, --- SHIFT Key
193, 1, 0, 0, --- Tap as Right MB
195, 0, 97, 0, --- "a" (Attack)
196, 0, 115, 0 --- "s" (Stop)
)

Related

Registry Edits?!

DO NOT ATTEMPT unless you're familiar with the Windows Registry. I discovered these on my tmo wing.
Stockish TMobile Rom, PHM Regedit, S2U2, Battery Status, Adobe Flash-Lite.
Change name and target of left softkey.
HKEY_CURRENT_USER\Software\Microsoft\Today\Keys\112
I've changed mine to start media player
Default = Media Player
Open= \Windows\wmplayer.exe
Swap tray icon locations. 0 = rightmost
HKEY_LOCAL_MACHINE\Software\HTC\TrayApplet
Here i swapped the device lock and battery tray icons
DeviceLockIconSlot = 0
PowerIconSlot = 1
Edit the width of the scrollbars (this one is great for stylus free use):
HKEY_LOCAL_MACHINE\System\GWE
Vertical Scroll bar (0-25+?):
cxVScr = 20
Horizontal Scroll bar (0-25+?):
cxHScr = 20
Hope these are helpful.
Found a few other keys that look interesting, haven't messed with them yet tho. any ideas??
HKEY_CURRENT_USER\Performance
HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer
HKEY_CURRENT_USER\Software\Microsoft\MediaPlayer
HKEY_LOCAL_MACHINE\Software\Microsoft\Shell\Extensions\NewMenu
HKEY_LOCAL_MACHINE\Drivers\TouchPanel
HKEY_LOCAL_MACHINE\Software\HTC\StartupAnimation

Keyboard mapping QWERTY -> AZERTY

Hello !
I've turn my HTC P4350 on HTC Touch with Touch-It rom.
But my sliding-keyboard is in AZERTY, not QWERTY like it's mapping on the ROM.
How can I change this ?
Thanks
I can help you fix this with my keymapping tool, but I'm going to need to sit with you so you can help me figure out the key codes for your device.
On your keyboard -> On mine
Q ->> A
W ->> Z
That's all ! All keys works fine
Yeah, but I still need to sit with you and get the keycodes for those 2 letters. I tried making a keymapping for the Herald by just "guessing" the keycodes assuming they would be the same, and unfortunately they weren't.
So let's get you fixed. First, I need you to open up an SMS or somewhere you can type and I need you to go through your whole keyboard and make sure that the only differences are Q, A, W, Z.
So go through all the keys, including all possible combinations of SHIFT or ALT & each key to make sure those are the only two that need to be fixed.
Next, I need you to install duprade's CAB
Once it's installed, cancel out of the settings screen... then use your file explorer and go to Program Files\AEKMap
Run a program in there called AEKscan or something like that. When it opens up, you need to give me a few keycodes. The way it works is when you hit a letter on your keyboard, it's going to give you a number on the screen... like KEY 0214 or something along those lines.
Make sure to give me the lower case and upper case of each letter that needs to be changed.
"a" = key xxxx
"A" = key xxxx
"z" = key xxxx
"Z" = key xxxx
"w" = key xxxx
"W" = key xxxx
"q" = key xxxx
"Q" = key xxxx
Then post the results and I'll make you a keymap file to fix your keyboard.
Same problem
Hello,
I've got the same problem so I took the liberty to help you with this. I did what you asked and here are the results.
On my keyboard = on the rom
a = q
z = w
function a (@) = (
function z (!) = )
function e (?) = =
function o (() = !
function p ()) = ?
function l (=) = @
"a" = key 0051
"A" = key 0151 + Shift
"q" = key 0041
"Q" = key 0141 + Shift
"z" = key 0057
"Z" = key 0157 + Shift
"w" = key 005A
"W" = key 015A + Shift
"Shift" = key 01FF + Shift
"Function" = key 00FF
"Function + a" = key 0139 + Shift
"Function + z" = key 0130 + Shift
"Function + e" = key 00BB
"Function + o" = key 0131 + Shift
"Function + p" = key 01BF + Shift
"Function + l" = key 0132 + Shift
There you are Pleeeeease help us
gauthierserkyn said:
Hello,
I've got the same problem so I took the liberty to help you with this. I did what you asked and here are the results.
On my keyboard = on the rom
a = q
z = w
function a (@) = (
function z (!) = )
function e (?) = =
function o (() = !
function p ()) = ?
function l (=) = @
"a" = key 0051
"A" = key 0151 + Shift
"q" = key 0041
"Q" = key 0141 + Shift
"z" = key 0057
"Z" = key 0157 + Shift
"w" = key 005A
"W" = key 015A + Shift
"Shift" = key 01FF + Shift
"Function" = key 00FF
"Function + a" = key 0139 + Shift
"Function + z" = key 0130 + Shift
"Function + e" = key 00BB
"Function + o" = key 0131 + Shift
"Function + p" = key 01BF + Shift
"Function + l" = key 0132 + Shift
There you are Pleeeeease help us
Click to expand...
Click to collapse
are your HTC 4350 is FRANCE edition?
No Belgian. Is there is a big difference?
Just noticed this post. Working on it now.
gauthierserkyn said:
function a (@) = (
function z (!) = )
function e (?) = =
function o (() = !
function p ()) = ?
function l (=) = @
"Function + a" = key 0139 + Shift
"Function + z" = key 0130 + Shift
"Function + e" = key 00BB
"Function + o" = key 0131 + Shift
"Function + p" = key 01BF + Shift
"Function + l" = key 0132 + Shift
Click to expand...
Click to collapse
QUOI!? J'en ai rien compris la! haha
Ok, well, What does all this mean?? I'm not entirely sure what this means... so please tell me what key should be what symbol... bc I'm confused by what you posted.
It seems you posted what the keys are and what they should be and I have no idea what is what? I can't find any pictures online of an azerty herald keyboard, so I can't figure it out.... I'm posting what i've accomplished so far, which should fix your letters so test it out and see ... but I'm still confused by your symbols.
lol sorry for being so chaotic in my post ^^
lol, I'm sorry for being so messy in my post...
I tried you zip file and it fixed the problem. In fact, I figured out that when I used the HTC herald.aek file (the file that is to be found in the "duprade's WING Keyboard FIX (AEKMap)" file) it solved part of my problem (symbols @, !, ?, ), (, and = were messed up but the file fixed it)
So the only problem left was that "a" key was in fact the "q" key and "z" key was in fact the "w" key, problem that you solved with the file you posted .
So I made a mix of both files and my keyboard is now perfectly AZERTY, with all the symbols
THANK YOU SO MUCH
Ps: i put the mixed file in attach
Bien Fait!
Well, I will include this file in the AEK installation in case people have this problem in the future.

Does WM6.1 have a new Keyboard hooker id definition?

In order to save the battery life, I always make the backlight to the darkest indoor, but when I get into the outdoor, the sunlight makes the screen unreadable, and if I need to increase the backlight by 'Start' -> 'Settings' -> 'Backlight', I have to 'guess' where I tapped.
I wrote a program to do this by hotkey. The program binds itself to "Key 6" (The code in registry is 0x40C6, short press of the voice command key above the scroll wheel, this key is not defined in a shipped rom). It will hooks the scroll and 5-ways keys events,such as VK_UP/VK_DOWN ect, and adjust the backlight by keypress.
This program works well in WM6.0, but cannot work on WM6.1, it can only get and display current backlight level correctly, but can't hook the keyboard events.
Here is the codes:
Code:
g_hKeyboardHook = ::SetWindowsHookExW( 20,//WH_KEYBOARD_LL,which is not the same value as PC windows
(HOOKPROC) KeyboardProc,
0,
0);
err = ::GetLastError();
err returns 'Not enough privilege', but I've changed in the registry table and disabled the Unsigned Applications Policy checking.
So my question is :
1.Does WM6.1 have a new security policy setting?
2.Or Microsoft changed the undocumented API SetWindowsHookExW and WH_KEYBOARD_LL definition in WM6.1?
Thanks for you help

[REF][UPDATED 09/08]List of Diamond Tweaks

This is a summary of Diamond tweaks collected from various threads on XDA and from people's contributions. Thanks to all who discovered the Tweaks (not mentioning by name because there's too many to mention and all I did is aggregate). This is a collective effort so let's keep the list growing!
thread. Let's keep the comments in the Warning: Be sure you know what you're doing and read around the Diamond forums to see where others have run into trouble and with which tweaks on which ROMs. Many people have had to Hard Reset their devices while others have had no problems so read up!
1. Boost TFL3D Performance --> Using Advanced Config, change File system cache to 8mb and file system filter cache to 131072
2. Boost TFL3D Performance --> HKLM\System\Storagemanager\Fatfs and change key Cachesize from 16384 to 32768
3. Wake Up on New SMS --> HKLM\Drivers\BuiltIn\RIL : DisableSMSWakeUpEvent <-- set to "1" by default. Change value to "0"
4. Switch Mute Call on phone flipped face down: HKLM\Software\HTC\PHONE : FaceDownMuteRing: change value to "1" (FIXED: thanks KuKuRiKu and everyone)
5. Change CallWaiting Tone --> HKLM\Software\HTC\PHONE : by default set to \windows\waitingtone.wav by default. change to anything else
6. Boost TFL3D Scrolling Speed --> - HKLM\SYSTEM\GDI\GLYPHCACHE\limit = 16384 or 32768 (DWORD decimal)
- To change it back to the default: - HKLM\SYSTEM\GDI\GLYPHCACHE\limit = 8192 (DWORD decimal)
7. To do a Hard Reset, with the phone ON, hold down the Volume Down and Enter (round navigation) keys and press soft reset while they are pressed
8. Prevent screen switching off during phone call --> HKEY_Local_Machine\Drivers\BuiltIn\RIL\EnableFastDormantDisplayDuringCall to 0 (Note: does not work on all ROMs)
AND (tested and works on EU ROMs thanks to Rod65)
HKCU\ControlPanel\Phone\Sleep switch value from 1 to 0
9. Downlod original CONTENT folder (Wallpaper, VIDEO, MUSIC) here http://rapidshare.com/files/121271047/CONTENT_Internal_storage.rar.html
10. Set HTC Album X button to close not minimize:ok_minimize change value to 0
11. Disable Enlarged Title bar (when you click on a notification) to the default WM behavior: HKLM->Software->HTC->EnlargeTitleBar - and change "Enable" from 1 to 0.
12. Turn off startup aninmation and sound: HKEY_Local_Machine\Software\HTC\HTCAnimation\ -> rename both "StartupGif" and "StartupWav" to other names
13. Enable GPS photo: HKEY_LOCAL_MACHINE\SOFTWARE\HTC\Camera\P10 -> change the value "enabled" from 0 to 1
15. Another supposed TFL3D tweak for better performance: HKLM\Software\OEM\TFLOSettings:
SpeedHigh: default value (25) <-- Change to (5) / SpeedLow : default value (70) <-- Chnge to (14) save and soft reset
16. Adjust screen sensitivity: HKEY_LOCAL_MACHINE\Drivers\TouchPanel
Value = PressureThreshold
Change from the default dword:00000027 or 34 to dword:000000f0 or 240 in decimal
17. Lightsensor Switching the Screen off- realised by yelitterulez, confirmed by pietrucci and tested by myself. When making a call the screen stays on if you leave the phone lying flat on a table. If you wait 10 seconds into the call, you can pick it up to your ear and the screen stays on.
BUT if you make a call with the phone slightly tilted/ slanted (you get the idea), the screen turns off as soon as the call gets connected!
The moment you hold the phone to your head the blacklight turns off. In fact: the moment you hide the screen with anything it turns off! (try your hand...).
This might be the reason why everybody's complaining about the screen turning off during a call: you hold the phone to your head! When you turn the screen back on manually, it stays on no matter if you hold your hand or head...
18. Automatically lock your Diamond --> HKEY_CURRENT_USER\ControlPanel\BackLight\AutoDevic eLockEnable from 0 to 1 and everytime your backlight goes off the device is locked
19. More Camera Modes:
To Enable 'Burst': HKEY_LOCAL_MACHINE\SOFTWARE\HTC\Camera\P6 -> change the value "enabled" from 0 to 1
To Enable 'Sport': HKEY_LOCAL_MACHINE\SOFTWARE\HTC\Camera\P8 -> change the value "enabled" from 0 to 1
To Enable 'Video Share': HKEY_LOCAL_MACHINE\SOFTWARE\HTC\Camera\P9 -> change the value "enabled" from 0 to 1
20. Delay device autolock: HKEY_CURRENT_USER\ControlPanel\BackLight\AutoDeviceLockTimeout -> Change the Dword value (30 = 30 seconds, etc)
21. Enable Manual Screen Rotation (Portrait/Landscape): HKLM - System - GDI - Rotation - HideOrientationUI (change from 1 to 0)
22. Hide SIM Contacts: HKCU\ControlPanel\Phone - create a new DWORD value named "ShowSim" and set it to 0
23. Show Weekday in TFL3D (thanks to pulp) - download and install http://rapidshare.com/files/127174792/weekday.cab
24. Enable HSUPA:
HKLM\Software\HTC\AdvancedNetwork\SupportHSUPA =change it to 1
25. Enable Audio Booster without headset-->HKLM/System/State/Hardware/Headset set the value to 1 (soft reset will bring it back to 0)
26. Add a Call History tab to TF3D (discovered by sushilange, spread by Fabliv) --> http://forum.xda-developers.com/showthread.php?t=410180
27. Add new Cities to TF3D http://forum.xda-developers.com/showthread.php?t=408918 - thanks to R. DevilR
28. Remove orphan icons and shortcuts - http://forum.xda-developers.com/showpost.php?p=2461697&postcount=3
29. Four icons in a row in WM Programs/Settings screens - http://forum.xda-developers.com/showpost.php?p=2462244&postcount=16
30. Remove Vertical and Horizontal Scrollbars
For the horizontal (bottom) scrollbar:
HKLM\System\GWE\cyHScr = 0 (DWORD decimal)
For the vertical (right) scrollbar:
HKLM\System\GWE\cxVScr = 0 (DWORD decimal)
31. Remap Manila softkeys:
HKLM/Software/HTC/manila/
HomeLSKPath, which is the left softkey (Standard = Phonepad)
And
HomeRSKPath, which is the right softkey.
If you change these with the location of the programs you want to link to, and simultaneous change the names:
HomeLSKText = Left softkey text
And
HomeRSKText = Right softkey text.
HKEY_LOCAL_MACHINE\Software\HTC\HTCAlbum :
32. Change system and context menu font size:
HKEY_LOCAL_MACHINE\system\gwe\menu\popfnt
and change the value for the "Ht" entry to "1000" decimal (from 1200)
33. Increase maximum picture size when shooting in Burst and Sports mode:When activating "burst" and "sport" the max size of the pictures is "L" but if you change:
HKLM\SOFTWARE\HTC\Camera\P8\MainCamCaptSize value to 1024
and
HKLM\SOFTWARE\HTC\Camera\P8\MainCamSupportCaptSize to 1744Do the same for P6 and you can now shoot in these modes up to 3M and not just L - thanks to nnevynn for
34. Get Blackberry Connect working on your Diamond!! (thanks to cybertech99)
http://rapidshare.com/files/114522380/BBConnect_WM6_Profession.cab
35. Disable Diamond Phonepad Skin
HKLM -> Security -> Phone -> Skin -> Enable (set 1 to 0), then reset.
36. Enable Better Power Management
HKLM\Drivers\SDCARD\ClientDrivers\Class\SIM_Class
Set DisablePowerManagement = 0 (default=1)
HKLM\Drivers\SDCARD\ClientDrivers\Class\MMC_Class
Set DisablePowerManagement = 0 (default=1)
HKLM\Drivers\SDCARD\ClientDrivers\Class\NAND_Class
Set DisablePowerManagement = 0 (default=1)
nice one on the sms wake. We should expand the list! THanks!
Update:
Thanks for updating the list!
Since I don't see a tweak for Disabling SMS Conversation (The costly SMS Chat) I will post it here!
Disable SMS Conversation in WM 6.X
In Registry Editor: Create a folder named "OEM" in "HKEY_CURRENT_USER\Software\Microsoft\Inbox\Settings"
In the new "OEM" folder, make a new DWORD key called "SMSInboxThreadingDisabled" and give it a value of "1"
That will disable the SMS conversation. When you click on the messages on the SMS tab on TF3D, it will take you to the normal SMS inbox instead.
Hope it helps
thanks a lot, keep going please
Great!
This is very useful and it helps solve a lot of problem. Will the cache size change make the D unstable?
For some they say it has...but for me, my device is running great!
mkhattab said:
This is a summary of the proven tweaks taken from the Diamond Tweaks thread. Let's keep the comments in the Diamond Tweaks thread and keep this one as a list of the actual tweaks only to be an easily accessible summary. Thanks to all who discovered the Tweaks
1. Boost TFL3D Performance --> Using Advanced Config, change File system cache to 8mb and file system filter cache to 131072
2. Boost TFL3D Performance --> HKLM\System\Storagemanager\Fatfs and change key Cachesize from 16384 to 32768
3. Wake Up on New SMS --> HKLM\Drivers\BuiltIn\RIL : DisableSMSWakeUpEvent <-- set to "1" by default. Change value to "0"
4. Switch Mute Call on phone flipped face down: HKLM\Software\HTC\PHONE : FaceDownMuteRing: change value to "0"
5. Change CallWaiting Tone --> HKLM\Software\HTC\PHONE : by default set to \windows\waitingtone.wav by default. change to anything else
Click to expand...
Click to collapse
I have had a real issue with number 2, I had to do a hard reset after changing the Cachesize to 32768. During startup the device hanged and wouldn't load up the touch flow, nothing worked.
saveferris said:
I have had a real issue with number 2, I had to do a hard reset after changing the Cachesize to 32768. During startup the device hanged and wouldn't load up the touch flow, nothing worked.
Click to expand...
Click to collapse
I had the exact same problem, wouldn't recommend this one.
saveferris said:
I have had a real issue with number 2, I had to do a hard reset after changing the Cachesize to 32768. During startup the device hanged and wouldn't load up the touch flow, nothing worked.
Click to expand...
Click to collapse
Yes, I had same problem.
Hmm afaik 'File system cache' in 1) is the same as the key HKLM\System\Storagemanager\Fatfs\cachsize in 2).
So tip 1 sets it to 8mb, and tip 2 changes it from 16mb to 32mb. So that suggests its 16m to start with?
Sounds like the file system filter cache is whats making the main difference. Thats this key:
HKLM\System\StorageManager\Filters\fsreplxfilt\Rep lStoreCacheSize
Can someone maybe post the original values of these two keys?
someone1234 said:
Hmm afaik 'File system cache' in 1) is the same as the key HKLM\System\Storagemanager\Fatfs\cachsize in 2).
So tip 1 sets it to 8mb, and tip 2 changes it from 16mb to 32mb. So that suggests its 16m to start with?
Sounds like the file system filter cache is whats making the main difference. Thats this key:
HKLM\System\StorageManager\Filters\fsreplxfilt\Rep lStoreCacheSize
Can someone maybe post the original values of these two keys?
Click to expand...
Click to collapse
There are 3 values to be changed.
1. The Icon Cache which is suggested to be changed to 131072. The registry setting is:
[HKEY_LOCAL_MACHINE\System\GDI\GLYPHCACHE]
"limit"=dword:00020000
The value is shown as hexadecimal, which is equivalent to 131072 in decimal.
2. The second value is to be changed in FAT File System cache.
3. The third value is to be changed is Filters File System cache.
The cache sizes in #2 and #3 are usually kept same, for example 32768 decimal (32MB). Though, this eats up a lot of memory, but makes the system very fast. Lately, I have seen in KaiSer and Universal that these values are set as dynamic values.
Hope this is helpful.
KOR!
anyone know which registry key can make the phone not blank the screen when answering call?
lwclam said:
anyone know which registry key can make the phone not blank the screen when answering call?
Click to expand...
Click to collapse
Yeah, people do know. Search for it.
Just read about a 'tweak' in another thread. It seems disabling "GPRS auto attach" in Advanced Configuration Tool helps in preserving battery live.
Read about it here: http://forum.xda-developers.com/showthread.php?t=395301
For me turning that option to off would be best solution as well. Even more so if it really helps save the battery.
Since I don't have a Diamond yet I havent gotten a chance to actually test this tweak.
Another thing I've found eats up a lot of battery life is the schedule to check email. I have my Direct Push set to an Exchange account and a second Internet Email account. Changing the frequency of checking the second account really makes a difference.
mkhattab said:
Another thing I've found eats up a lot of battery life is the schedule to check email. I have my Direct Push set to an Exchange account and a second Internet Email account. Changing the frequency of checking the second account really makes a difference.
Click to expand...
Click to collapse
agree. my setup is similar to you. i was using 10 mins to check my second IMAP account, i have only around 9-10 hrs standby time. Now, i changed that IMAP account to check in every 60 mins, now, standby time is extended to more than 12 hrs.
what was the previous default File system cache and file system filter cache setting, cause my phone has slowed down since i have changed it. please reply back to me as soon as possible. thank you
http://forum.xda-developers.com/showthread.php?t=397935&page=8
posts 75 and 76
Thanks alot for the fast reply, and just one other question did any one arabize the diamond cause i have tried but it says installation not done. Thanks again man
sorry guys...noob question
to get the SMS to wake up the phone,
where is the HKLM folder in registry?
wishmaker738 said:
sorry guys...noob question
to get the SMS to wake up the phone,
where is the HKLM folder in registry?
Click to expand...
Click to collapse
Read the first post in this thread!

How to remove battery Icon on Diamond?

Hello, I need to remove ONLY the battery Icon, NOT the Clock. How can I do that?
search
Hide:
HKLM\Services\Power\ShowIcon = 0 (DWORD decimal)
show:
HKLM\Services\Power\ShowIcon = 1 (DWORD decimal)
Brendo said:
search
Hide:
HKLM\Services\Power\ShowIcon = 0 (DWORD decimal)
show:
HKLM\Services\Power\ShowIcon = 1 (DWORD decimal)
Click to expand...
Click to collapse
I dont have "Power" under HKLM\Services\, so I need to creat all the values?
yep, you do

Categories

Resources