[Q] Help for disable trackpad sensor - G2 and Desire Z Q&A, Help & Troubleshooting

Hello to all.
Could somebody here tell me the way ton disable the trackpad sensor on my HTC desire Z??
1 year ago, it began to act on itself, without manual action, as if somebody else was playing with it.... : hard to write any sms because of the permanent moving cursor, and many examples very annoying for any situations.
"I don't believe in ghosts, anyway" was singing The Opposition in 1984,....and so do i.
I don't have any use of this trackpad, except its backlight when charging or missed calls (i'd like to conserve this notification backlight if possible).
The problem is the same since i rooted my phone, on oxygen, cyanogenmod and Jelly baby, so it seems to be a hardware malfunction.
I have looked after all xda forums on this subject, before posting my question here.
Just one talk about editing "vision-keypad-fra.kl" located in : System>usr>keylayout... and no more.
Here is mine:
# Copyright (C) 2010 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# Generic key layout file for full alphabetic US English PC style external keyboards.
#
# This file is intentionally very generic and is intended to support a broad rang of keyboards.
# Do not edit the generic key layout to support a specific keyboard; instead, create
# a new key layout file with the required keyboard configuration.
#
key 1 ESCAPE
key 2 1
key 3 2
key 4 3
key 5 4
key 6 5
key 7 6
key 8 7
key 9 8
key 10 9
key 11 0
key 12 MINUS
key 13 EQUALS
key 14 DEL
key 15 TAB
key 16 Q
key 17 W
key 18 E
key 19 R
key 20 T
key 21 Y
key 22 U
key 23 I
key 24 O
key 25 P
key 26 LEFT_BRACKET
key 27 RIGHT_BRACKET
key 28 ENTER
key 29 CTRL_LEFT
key 30 A
key 31 S
key 32 D
key 33 F
key 34 G
key 35 H
key 36 J
key 37 K
key 38 L
key 39 SEMICOLON
key 40 APOSTROPHE
key 41 GRAVE
key 42 SHIFT_LEFT
key 43 BACKSLASH
key 44 Z
key 45 X
key 46 C
key 47 V
key 48 B
key 49 N
key 50 M
key 51 COMMA
key 52 PERIOD
key 53 SLASH
key 54 SHIFT_RIGHT
key 55 NUMPAD_MULTIPLY
key 56 ALT_LEFT
key 57 SPACE
key 58 CAPS_LOCK
key 59 F1
key 60 F2
key 61 F3
key 62 F4
key 63 F5
key 64 F6
key 65 F7
key 66 F8
key 67 F9
key 68 F10
key 69 NUM_LOCK
key 70 SCROLL_LOCK
key 71 NUMPAD_7
key 72 NUMPAD_8
key 73 NUMPAD_9
key 74 NUMPAD_SUBTRACT
key 75 NUMPAD_4
key 76 NUMPAD_5
key 77 NUMPAD_6
key 78 NUMPAD_ADD
key 79 NUMPAD_1
key 80 NUMPAD_2
key 81 NUMPAD_3
key 82 NUMPAD_0
key 83 NUMPAD_DOT
# key 84 (undefined)
# key 85 "KEY_ZENKAKUHANKAKU"
key 86 BACKSLASH
key 87 F11
key 88 F12
# key 89 "KEY_RO"
# key 90 "KEY_KATAKANA"
# key 91 "KEY_HIRAGANA"
# key 92 "KEY_HENKAN"
# key 93 "KEY_KATAKANAHIRAGANA"
# key 94 "KEY_MUHENKAN"
key 95 NUMPAD_COMMA
key 96 NUMPAD_ENTER
key 97 CTRL_RIGHT
key 98 NUMPAD_DIVIDE
key 99 SYSRQ
key 100 ALT_RIGHT
# key 101 "KEY_LINEFEED"
key 102 MOVE_HOME
key 103 DPAD_UP
key 104 PAGE_UP
key 105 DPAD_LEFT
key 106 DPAD_RIGHT
key 107 MOVE_END
key 108 DPAD_DOWN
key 109 PAGE_DOWN
key 110 INSERT
key 111 FORWARD_DEL
# key 112 "KEY_MACRO"
key 113 VOLUME_MUTE
key 114 VOLUME_DOWN
key 115 VOLUME_UP
key 116 POWER WAKE
key 117 NUMPAD_EQUALS
# key 118 "KEY_KPPLUSMINUS"
key 119 BREAK
# key 120 (undefined)
key 121 NUMPAD_COMMA
# key 122 "KEY_HANGEUL"
# key 123 "KEY_HANJA"
# key 124 "KEY_YEN"
key 125 META_LEFT
key 126 META_RIGHT
key 127 MENU WAKE_DROPPED
key 128 MEDIA_STOP
# key 129 "KEY_AGAIN"
# key 130 "KEY_PROPS"
# key 131 "KEY_UNDO"
# key 132 "KEY_FRONT"
# key 133 "KEY_COPY"
# key 134 "KEY_OPEN"
# key 135 "KEY_PASTE"
# key 136 "KEY_FIND"
# key 137 "KEY_CUT"
# key 138 "KEY_HELP"
key 139 MENU WAKE_DROPPED
# key 140 "KEY_CALC"
# key 141 "KEY_SETUP"
key 142 POWER WAKE
key 143 POWER WAKE
# key 144 "KEY_FILE"
# key 145 "KEY_SENDFILE"
# key 146 "KEY_DELETEFILE"
# key 147 "KEY_XFER"
# key 148 "KEY_PROG1"
# key 149 "KEY_PROG2"
key 150 EXPLORER
# key 151 "KEY_MSDOS"
key 152 POWER WAKE
# key 153 "KEY_DIRECTION"
# key 154 "KEY_CYCLEWINDOWS"
key 155 ENVELOPE
key 156 BOOKMARK
# key 157 "KEY_COMPUTER"
key 158 BACK WAKE_DROPPED
key 159 FORWARD
key 160 MEDIA_CLOSE
key 161 MEDIA_EJECT
key 162 MEDIA_EJECT
key 163 MEDIA_NEXT
key 164 MEDIA_PLAY_PAUSE
key 165 MEDIA_PREVIOUS
key 166 MEDIA_STOP
key 167 MEDIA_RECORD
key 168 MEDIA_REWIND
key 169 CALL
# key 170 "KEY_ISO"
# key 171 "KEY_CONFIG"
key 172 HOME
# key 173 "KEY_REFRESH"
# key 174 "KEY_EXIT"
# key 175 "KEY_MOVE"
# key 176 "KEY_EDIT"
key 177 PAGE_UP
key 178 PAGE_DOWN
key 179 NUMPAD_LEFT_PAREN
key 180 NUMPAD_RIGHT_PAREN
# key 181 "KEY_NEW"
# key 182 "KEY_REDO"
# key 183 F13
# key 184 F14
# key 185 F15
# key 186 F16
# key 187 F17
# key 188 F18
# key 189 F19
# key 190 F20
# key 191 F21
# key 192 F22
# key 193 F23
# key 194 F24
# key 195 (undefined)
# key 196 (undefined)
# key 197 (undefined)
# key 198 (undefined)
# key 199 (undefined)
key 200 MEDIA_PLAY
key 201 MEDIA_PAUSE
# key 202 "KEY_PROG3"
# key 203 "KEY_PROG4"
# key 204 (undefined)
# key 205 "KEY_SUSPEND"
# key 206 "KEY_CLOSE"
key 207 MEDIA_PLAY
key 208 MEDIA_FAST_FORWARD
# key 209 "KEY_BASSBOOST"
# key 210 "KEY_PRINT"
key 211 FOCUS
key 212 CAMERA
# key 213 "KEY_SOUND"
# tempEdit for ? button
key 214 BUTTON_R2
key 215 AT
# key 216 "KEY_CHAT"
key 217 SEARCH
# key 218 "KEY_CONNECT"
# key 219 "KEY_FINANCE"
# key 220 "KEY_SPORT"
# key 221 "KEY_SHOP"
# key 222 "KEY_ALTERASE"
# key 223 "KEY_CANCEL"
# key 224 "KEY_BRIGHTNESSDOWN"
# key 225 "KEY_BRIGHTNESSUP"
key 226 HEADSETHOOK
key 256 BUTTON_1
key 257 BUTTON_2
key 258 BUTTON_3
key 259 BUTTON_4
key 260 BUTTON_5
key 261 BUTTON_6
key 262 BUTTON_7
key 263 BUTTON_8
key 264 BUTTON_9
key 265 BUTTON_10
key 266 BUTTON_11
key 267 BUTTON_12
key 268 BUTTON_13
key 269 BUTTON_14
key 270 BUTTON_15
key 271 BUTTON_16
key 288 BUTTON_1
key 289 BUTTON_2
key 290 BUTTON_3
key 291 BUTTON_4
key 292 BUTTON_5
key 293 BUTTON_6
key 294 BUTTON_7
key 295 BUTTON_8
key 296 BUTTON_9
key 297 BUTTON_10
key 298 BUTTON_11
key 299 BUTTON_12
key 300 BUTTON_13
key 301 BUTTON_14
key 302 BUTTON_15
key 303 BUTTON_16
key 304 BUTTON_A
key 305 BUTTON_B
key 306 BUTTON_C
key 307 BUTTON_X
key 308 BUTTON_Y
key 309 BUTTON_Z
key 310 BUTTON_L1
key 311 BUTTON_R1
key 312 BUTTON_L2
key 313 BUTTON_R2
key 314 BUTTON_SELECT
key 315 BUTTON_START
key 316 BUTTON_MODE
key 317 BUTTON_THUMBL
key 318 BUTTON_THUMBR
# key 352 "KEY_OK"
# key 353 "KEY_SELECT"
# key 354 "KEY_GOTO"
# key 355 "KEY_CLEAR"
# key 356 "KEY_POWER2"
# key 357 "KEY_OPTION"
# key 358 "KEY_INFO"
# key 359 "KEY_TIME"
# key 360 "KEY_VENDOR"
# key 361 "KEY_ARCHIVE"
key 362 GUIDE
# key 363 "KEY_CHANNEL"
# key 364 "KEY_FAVORITES"
# key 365 "KEY_EPG"
key 366 DVR
# key 367 "KEY_MHP"
# key 368 "KEY_LANGUAGE"
# key 369 "KEY_TITLE"
# key 370 "KEY_SUBTITLE"
# key 371 "KEY_ANGLE"
# key 372 "KEY_ZOOM"
# key 373 "KEY_MODE"
# key 374 "KEY_KEYBOARD"
# key 375 "KEY_SCREEN"
# key 376 "KEY_PC"
key 377 TV
# key 378 "KEY_TV2"
# key 379 "KEY_VCR"
# key 380 "KEY_VCR2"
# key 381 "KEY_SAT"
# key 382 "KEY_SAT2"
# key 383 "KEY_CD"
# key 384 "KEY_TAPE"
# key 385 "KEY_RADIO"
# key 386 "KEY_TUNER"
# key 387 "KEY_PLAYER"
# key 388 "KEY_TEXT"
# key 389 "KEY_DVD"
# key 390 "KEY_AUX"
# key 391 "KEY_MP3"
# key 392 "KEY_AUDIO"
# key 393 "KEY_VIDEO"
# key 394 "KEY_DIRECTORY"
# key 395 "KEY_LIST"
# key 396 "KEY_MEMO"
# key 397 "KEY_CALENDAR"
# key 398 "KEY_RED"
# key 399 "KEY_GREEN"
# key 400 "KEY_YELLOW"
# key 401 "KEY_BLUE"
key 402 CHANNEL_UP
key 403 CHANNEL_DOWN
# key 404 "KEY_FIRST"
# key 405 "KEY_LAST"
# key 406 "KEY_AB"
# key 407 "KEY_NEXT"
# key 408 "KEY_RESTART"
# key 409 "KEY_SLOW"
# key 410 "KEY_SHUFFLE"
# key 411 "KEY_BREAK"
# key 412 "KEY_PREVIOUS"
# key 413 "KEY_DIGITS"
# key 414 "KEY_TEEN"
# key 415 "KEY_TWEN"
# key 448 "KEY_DEL_EOL"
# key 449 "KEY_DEL_EOS"
# key 450 "KEY_INS_LINE"
# key 451 "KEY_DEL_LINE"
key 464 FUNCTION
key 465 ESCAPE FUNCTION
key 466 F1 FUNCTION
key 467 F2 FUNCTION
key 468 F3 FUNCTION
key 469 F4 FUNCTION
key 470 F5 FUNCTION
key 471 F6 FUNCTION
key 472 F7 FUNCTION
key 473 F8 FUNCTION
key 474 F9 FUNCTION
key 475 F10 FUNCTION
key 476 F11 FUNCTION
key 477 F12 FUNCTION
key 478 1 FUNCTION
key 479 2 FUNCTION
key 480 D FUNCTION
key 481 E FUNCTION
key 482 F FUNCTION
key 483 S FUNCTION
key 484 B FUNCTION
# key 497 KEY_BRL_DOT1
# key 498 KEY_BRL_DOT2
# key 499 KEY_BRL_DOT3
# key 500 KEY_BRL_DOT4
# key 501 KEY_BRL_DOT5
# key 502 KEY_BRL_DOT6
# key 503 KEY_BRL_DOT7
# key 504 KEY_BRL_DOT8
# Joystick and game controller axes.
# Axes that are not mapped will be assigned generic axis numbers by the input subsystem.
axis 0x00 X
axis 0x01 Y
axis 0x02 Z
axis 0x03 RX
axis 0x04 RY
axis 0x05 RZ
axis 0x06 THROTTLE
axis 0x07 RUDDER
axis 0x08 WHEEL
axis 0x09 GAS
axis 0x0a BRAKE
axis 0x10 HAT_X
axis 0x11 HAT_Y
I don't know what line to modify.....
Or are there any available app to turn of this sensor ?
If anyone had a solution, i would be relieve. Thanks
Sorry if my question is posted on a wrong forum.
And sorry for my very bad english, i do my best, i'm french...

Anybody here ???

bibole said:
Anybody here ???
Click to expand...
Click to collapse
Sorry man, this is a hard one. I looked through the sources, but I reckon the trackpad won't be in the keylayout files at all. It might be related to the touchscreen or something. I'll keep looking for you, but you might be unlucky and it might be hardcoded in such a way that makes it difficult to edit unlike the keylayout.

HTCDreamOn said:
Sorry man, this is a hard one. I looked through the sources, but I reckon the trackpad won't be in the keylayout files at all. It might be related to the touchscreen or something. I'll keep looking for you, but you might be unlucky and it might be hardcoded in such a way that makes it difficult to edit unlike the keylayout.
Click to expand...
Click to collapse
Thanks for your answer HTCDreamOn.
I was afraid that no line was corresponding to the trackpad sensor....... and you confirmed that.
If you see any solution for my problem, it would be coll ! (PimpmyROM doesn't offer this tweak...)

Related

[Layout][WWE][SWE] BIGkeys for FingerKeyboard 2.1

First off: Credits, a big THANKS and hats off to Rozenthal, Exidler and Giannis86 for their respective work with FingerKeyboard: IMHO the best typing solution for windows mobile.
Click here to go to the FingerKeyboard thread!
What's BIGkeys? This is a landscape layout for FingerKeyboard v2.1 that maximizes the size of the keys to facilitate typing even more. The goal of the layout is to be as similar to a normal keyboard as possible to provide intuitive placement of special chars. Of course with the size constraints of the keyboard there are some compromises. There is no BIGkeys portrait layout. If you want bigger keys in portrait, try the SoftTouch Max Key layout by ring-bearer (thanks aussiebum for recommendation).
The original swedish layout is created by a friend of mine. I thought it was so good that I wanted to publish it here and he's given me permission to do so. He made the key spacing and the original layout, I have polished the layout to make it similar to a normal keyboard for intuitive placement of special chars etc and I also made a WWE layout with his layout as base. My friend has the name byggver here on XDA and all credit goes to him for this excellent layout.
How to install: First install FingerKeyboard. Then copy the .txt file attached in the post for respective layout into the Skins folder of where you installed FingerKeyboard, for example Internal Storage\Program Files\FingerKeyb\Skins. Then select correct language in FingerKeyboard settings.
One more thing: These layouts are provided as-is. If you want something added or changed, take a look into the layout .txt file and do it yourself. It is really quite simple: there is one row per key, the first numbers in every row are key x-placement, y-placement, width and height, then there is a reference to the key images used and there is the text displayed on the key as well as the corresponding output. It is really self-explainatory once you look into the .txt file. I did this with hardly any programming skills and so can you.
I cannot please every taste, only you can make the perfect keyboard for you. I'm just sharing what I already have and as a bonus I'm doing a WWE layout. This way, you can at least have a starting point for your own perfect layout. If you make your own layout based on BIGkeys and want to share it, feel free to post it in this thread and I'll make a link to it on the first page.
WWE layout
So, here's the WWE layout. I used the standard US keyboard layout as reference, however I've not done much typing on US or UK keyboards, so I probably don't have a good feel on where to put the special chars that don't have a given place. I tried to make it as intuitive as I could.
Feel free to change what you don't like!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
SWE version
This is the swedish layout. It contains no key to change language, I removed it to give more space for other keys. I only use this language layout anyway so...
UPDATE: A swedish portrait layout for WVGA can be found HERE. The keys are only standard size, but it's still useful.
Links:
-------
BIGkeys WWE VGA version by MrObvious
.
hi, can you do the same for potrait mode aswell as there are buttons i dont use, then we can have the keys bigger in potrait aswell, just an option.
thankyou
r8zer said:
hi, can you do the same for potrait mode aswell as there are buttons i dont use, then we can have the keys bigger in potrait aswell, just an option.
thankyou
Click to expand...
Click to collapse
Actually, portrait doesn't really give much to work with if you want bigger keys. The 480 pixel width is really a limiting factor there. The BIGkeys layouts are only landscape, at least for now. But feel free to make your own and post it here, I'll put a link up on fist page if it gets buried in the thread.
Of course I can share the swedish portrait layout I'm using if anyone is interested, but the keys are not bigger than FingerKeyboard standard size. The WVGA version looks the same as the VGA version in my signature but with an extra row for arrows and keyboard on/off.
ok, thanks for your response, and i would not have a clue where to start on this, and will take your expert advice in this and leave well alone.
Thanks!
How nice isn´t this! I was going to buy a bluetooth keyboard, but with this I will not. I can type at full speed without errors again, just as on my Hermes.
Thank you very much!
WWE layout is up. Enjoy!
r8zer said:
ok, thanks for your response, and i would not have a clue where to start on this, and will take your expert advice in this and leave well alone.
Click to expand...
Click to collapse
You have some pointers in the first post. Back-up the .txt-files before you start trying and you can't ruin anything. Have a go, you'll figure it out in no time, promise!
robinmalmberg said:
How nice isn´t this! I was going to buy a bluetooth keyboard, but with this I will not. I can type at full speed without errors again, just as on my Hermes.
Thank you very much!
Click to expand...
Click to collapse
Thanks for your feedback! Glad you like it, it's a pleasure to help my fellow swedes. I used to have an Xperia with a hardware keyboard but I find typing with FingerKeyboard and this layout faster and more accurate.
r8zer said:
hi, can you do the same for potrait mode aswell as there are buttons i dont use, then we can have the keys bigger in potrait aswell, just an option.
Click to expand...
Click to collapse
If you want bigger keys in Portrait mode try the SoftTouch Max Key layout in the Xperia forums => http://forum.xda-developers.com/showthread.php?t=506474
It looks a bit funny but actually works quite well.
I think I am missing something. I did what you said loaded the text file into the skins folder. Nothing no resize in portrait. Any help?
Thanks Really want to use this!
Marty
martywix said:
I think I am missing something. I did what you said loaded the text file into the skins folder. Nothing no resize in portrait. Any help?
Thanks Really want to use this!
Marty
Click to expand...
Click to collapse
BIGKeys is landscape only. If you want larger portrait keys use MaxKey: http://forum.xda-developers.com/showthread.php?t=506474
suveränt, bra jobbat !
Hi, I've been using FingerKeyboard but found the landscape keyboard is much wider. Copied the text.file onto my installed folder (storage card/program file/fingerkeyboard/skin) but nothing happen. I'm still in portrait mode. Have I missed out anything. Nd help here.
Thanks
mel69hash said:
Hi, I've been using FingerKeyboard but found the landscape keyboard is much wider. Copied the text.file onto my installed folder (storage card/program file/fingerkeyboard/skin) but nothing happen. I'm still in portrait mode. Have I missed out anything. Nd help here.
Thanks
Click to expand...
Click to collapse
When the app you run (for example notes) is rotated into landscape and you bring up the keyboard, you will automatically get the landscape layout. To be able to rotate you need to activate rotation for the application you run and to be able to do so you need to have a rotation app like ChangeScreen, Gyrator etc.
Thank you Thank you
losdrivare said:
Of course I can share the swedish portrait layout I'm using if anyone is interested
Click to expand...
Click to collapse
Yes I am, did you post it somewhere???
Awsome work on the SWE BIGkeys!!!
/Mike
Swedish portrait WVGA layout
This is not really part of BIGkeys since the keys on this layout are standard size.
It was hard to do something useful with the portrait layout because of the size constraints. This is definetely a compromise but at least the swedish special characters are easily availible. Enjoy!
Preview:
Thanks for the layout. I have a Diamond but I converted it to VGA and made a few modifications of my own. Here is what I got for anyone interested:
Code:
ResolutionBegin 640 480
LayoutBegin eng
Size 640 289
DisplayName EN
Fill 0 0 640 280 CSCHEME.BgColor
Draw 0 0 640 2 border
FontNormal normal
FontHold hold
FontSelected selected
FontSelectedHold selhold
Taskbar 52
ChildWnd 0
;ROW 1 -------------------------------------------------------------------------------------------------
Key 1.6 1 57 72 2,2,8,2 key0 key1 q,1,Q,! SC:q,SC:1,SC:Q,SC:!
Key 58.4 1 57 72 2,2,8,2 key0 key1 w,2,W,@ SC:w,SC:2,SC:W,SC:@
Key 115.2 1 57 72 2,2,8,2 key0 key1 e,3,E,# SC:e,SC:3,SC:E,SC:£
Key 172 1 57 72 2,2,8,2 key0 key1 r,4,R,$ SC:r,SC:4,SC:R,SC:$
Key 228.8 1 57 72 2,2,8,2 key0 key1 t,5,T,% SC:t,SC:5,SC:T,SC:%
Key 285.6 1 57 72 2,2,8,2 key0 key1 y,6,Y,^ SC:y,SC:6,SC:Y,SC:^
Key 342.4 1 57 72 2,2,8,2 key0 key1 u,7,U,& SC:u,SC:7,SC:U,SC:&
Key 399.2 1 57 72 2,2,8,2 key0 key1 i,8,I,* SC:i,SC:8,SC:I,SC:*
Key 456 1 57 72 2,2,8,2 key0 key1 o,9,O,( SC:o,SC:9,SC:O,SC:(
Key 512.8 1 57 72 2,2,8,2 key0 key1 p,0,P,) SC:p,SC:0,SC:P,SC:)
Key 569.6 1 57 72 2,2,8,2 bks0 bks1 ,, ACTION.Backspace
;ROW 2 -------------------------------------------------------------------------------------------------
Key 11.2 73 57 72 2,2,8,2 key0 key1 a,CSCHEME.Smile1,A,CSCHEME.Shortcut1 SC:a,AC:Smile1,SC:A,AC:Shortcut1
Key 68 73 57 72 2,2,8,2 key0 key1 s,CSCHEME.Smile2,S,CSCHEME.Shortcut2 SC:s,AC:Smile2,SC:S,AC:Shortcut2
Key 124.8 73 57 72 2,2,8,2 key0 key1 d,CSCHEME.Smile3,D,CSCHEME.Shortcut3 SC:d,AC:Smile3,SC:D,AC:Shortcut3
Key 181.6 73 57 72 2,2,8,2 key0 key1 f,CSCHEME.Smile4,F,CSCHEME.Shortcut4 SC:f,AC:Smile4,SC:F,AC:Shortcut4
Key 238.4 73 57 72 2,2,8,2 key0 key1 g,CSCHEME.Smile5,G,CSCHEME.Shortcut5 SC:g,AC:Smile5,SC:G,AC:Shortcut5
Key 295.2 73 57 72 2,2,8,2 key0 key1 h,€,H,CSCHEME.Shortcut6 SC:h,SC:€,SC:H,AC:Shortcut6
Key 352 73 57 72 2,2,8,2 key0 key1 j,{,J,§ SC:j,SC:{,SC:J,SC:§
Key 408.8 73 57 72 2,2,8,2 key0 key1 k,},K,½ SC:k,SC:},SC:K,SC:½
Key 465.6 73 57 72 2,2,8,2 key0 key1 l,\,L,| SC:l,SC:\,SC:L,SC:|
Key 522.4 73 120 72 2,2,8,2 ret0 ret1 ,, ACTION.Return
;ROW 3 -------------------------------------------------------------------------------------------------
Key 40.8 145 57 72 2,2,8,2 key0 key1 z,",Z," SC:z,SC:",SC:Z,SC:"
Key 97.6 145 57 72 2,2,8,2 key0 key1 x,cut,X,cut SC:x,AC:Cut,SC:X,AC:Cut
Key 154.4 145 57 72 2,2,8,2 key0 key1 c,copy,C,copy SC:c,AC:Copy,SC:C,AC:Copy
Key 211.2 145 57 72 2,2,8,2 key0 key1 v,pst,V,pst SC:v,AC:Paste,SC:V,AC:Paste
Key 268 145 57 72 2,2,8,2 key0 key1 b,undo,B,undo SC:b,AC:Undo,SC:B,AC:Undo
Key 324.8 145 57 72 2,2,8,2 key0 key1 n,\,N,£ SC:n,SC:\,SC:N,SC:£
Key 381.6 145 57 72 2,2,8,2 key0 key1 m,',M,~ SC:m,SC:',SC:M,SC:~
Key 438.4 145 57 72 2,2,8,2 key0 key1 TEXTcomma,;,<,[ SC:,,SC:;,SC:<,SC:[
Key 495.2 145 57 72 2,2,8,2 key0 key1 .,:,>,] SC:.,SC::,SC:>,SC:]
Key 552 145 57 72 2,2,8,2 key0 key1 /,',?,* SC:/,SC:',SC:?,SC:*
;ROW 4 -------------------------------------------------------------------------------------------------
Key 1 217 100 72 2,2,8,2 shf0 shf1 ,, ACTION.Shift
Key 102 217 82 72 2,2,8,2 num0 num1 ,, SL:digits
Key 186 217 286 72 2,2,8,2 spc0 spc1 ,, ACTION.Space
Key 474 217 76 72 2,2,8,2 tog0 tog1 ,, ACTION.KbdButton
Key 552 217 76 72 2,2,8,2 key0 key1 KT,KT KT
LayoutEnd
ResolutionEnd
Now the KT key is just to show/hide the bottom bar for quick texting in landscape. I paired it with the abovementioned MaxKeys and converted that to VGA just by changing the resolution from 800x480 to 640x480 and it was easy.
MrObvious said:
Thanks for the layout. I have a Diamond but I converted it to VGA and made a few modifications of my own.
Click to expand...
Click to collapse
Thank you for your contribution, I've added a link to first page.

Playing DOS Games in X1 using DOSBOX

Hello guys,
Earlier, I thought of playing old dos games in X1 using DOSBOX.
Some of my favorite DOS games was
Heretic
Descent
Dave
Skyroads
Commander Keen
and specially Lemmings!!
All of them can be found in DOSGAMESARCHIVE.com
Anyway, my problem is .. SPEED.
So I thought maybe we could help each other to make things faster specially on 3D games.
here's my dosbox config
PHP:
# This is the configurationfile for DOSBox 0.73.
# Lines starting with a # are commentlines.
# They are used to (briefly) document the effect of each option.
[sdl]
# fullscreen: Start dosbox directly in fullscreen.
# rotateright: Alternate screen rotation.
# mapperfile: File used to load/save the key/event mappings from.
# kbdtoolbar: First toolbar.
# gametoolbar: Second toolbar.
# settoolbar: Third toolbar. Note: frameskip and cycles values are drawn there.
# usescancodes: Avoid usage of symkeys, might not work on all operating systems.
# sensitivity: Mouse sensitivity.
# touchpadmouse: Emulate mouse with stylus moves on screen. Can fix mouse behavior in games that expect only relative mouse movement.
# clickms: When in touchpad mode, left-click is sent after single-tap. This sets the delay in milliseconds between emulated mouse button down and up events.
# rightclickdelay: Touchpad mode. If you tap and hold stylus for this milliseconds, right-click will be send instead of left. 0 to disable.
# dpadmouse: Emulate mouse with D-Pad. Make sure to set corresponding mapper values for this to work. Up, down, left and right keys are autorotated.
# forcetoolbar: Sometimes where's no space on screen to fit even a part of toolbar. This forces it to display. Also a key and a zone can be set for toggling.
# forcetransparent: Forced toolbar area, overlapping active screen part will be semitransparent.
# forcezone: X, Y, width and height of 'force toolbar display' tapzone. No spaces please. See also hand_force_tlbr setting in mapper.txt
# forceheight: Forced toolbar will have this height.
fullscreen=true
rotateright=true
mapperfile=mapper.txt
kbdtoolbar=toolbar.dbk
gametoolbar=game.dbk
settoolbar=set.dbk
usescancodes=false
sensitivity=200
touchpadmouse=false
clickms=50
rightclickdelay=700
dpadmouse=true
forcetoolbar=true
forcetransparent=true
forcezone=0,0,10,5
forceheight=52
[dosbox]
# language: Select another language file.
# machine: The type of machine tries to emulate.
# Possible values: hercules, cga, tandy, pcjr, ega, vgaonly, svga_s3, svga_et3000, svga_et4000, svga_paradise, vesa_nolfb, vesa_oldvbe.
# captures: Directory where things like wave, midi, screenshot get captured.
# memsize: Amount of memory DOSBox has in megabytes.
# This value is best left at its default to avoid problems with some games,
# though few games might require a higher value.
# There is generally no speed advantage when raising this value.
language=
machine=svga_s3
captures=capture
memsize=72
[render]
# frameskip: How many frames DOSBox skips before drawing one.
# aspect: Do aspect correction, if your output method doesn't support scaling this can slow things down!.
# scaler: Scaler used to enlarge/enhance low resolution modes. If 'forced' is appended,the scaler will be used even if the result might not be desired.
# Possible values: qvga, vga.
frameskip=4
aspect=false
scaler=vga
[cpu]
# core: CPU Core used in emulation. auto will switch to dynamic if available and appropriate.
# Possible values: full, dynamic, simple.
# cputype: CPU Type used in emulation. auto is the fastest choice.
# Possible values: auto, 386, 386_slow, 486_slow, pentium_slow.
# cycles: Amount of instructions DOSBox tries to emulate each millisecond. Setting this value too high results in sound dropouts and lags. Cycles can be set in 2 ways:
# 'fixed #number' will set a fixed amount of cycles. This is what you usually need if 'auto' fails.
# (Example: fixed 4000)
# 'max' will allocate as much cycles as your computer is able to handle
#
# Possible values: fixed, max.
# cycleup: Amount of cycles to increase/decrease with keycombo.
# cycledown: Setting it lower than 100 will be a percentage.
core=full
cputype=auto
cycles=max
cycleup=500
cycledown=500
[mixer]
# nosound: Enable silent mode, sound is still emulated though.
# rate: Mixer sample rate, setting any device's rate higher than this will probably lower their sound quality.
# Possible values: 22050, 44100, 48000, 32000, 16000, 11025, 8000, 49716.
# blocksize: Mixer block size, larger blocks might help sound stuttering but sound will also be more lagged.
# Possible values: 2048, 4096, 8192, 1024, 512, 256.
# prebuffer: How many milliseconds of data to keep on top of the blocksize.
nosound=false
rate=8000
blocksize=2048
prebuffer=10
[sblaster]
# sbtype: Type of sblaster to emulate.
# Possible values: sb1, sb2, sbpro1, sbpro2, sb16, none.
# sbbase: The IO address of the soundblaster.
# Possible values: 220, 240, 260, 280, 2a0, 2c0, 2e0, 300.
# irq: The IRQ number of the soundblaster.
# Possible values: 7, 5, 3, 9, 10, 11, 12.
# dma: The DMA number of the soundblaster.
# Possible values: 1, 5, 0, 3, 6, 7.
# hdma: The High DMA number of the soundblaster.
# Possible values: 1, 5, 0, 3, 6, 7.
# sbmixer: Allow the soundblaster mixer to modify the DOSBox mixer.
# oplmode: Type of OPL emulation. On 'auto' the mode is determined by sblaster type. All OPL modes are Adlib-compatible, except for 'cms'.
# Possible values: auto, cms, opl2, dualopl2, opl3, none.
# oplemu: Provider for the OPL emulation. compat or old might provide better quality (see oplrate as well).
# Possible values: default, compat, fast, old.
# oplrate: Sample rate of OPL music emulation. Use 49716 for highest quality (set the mixer rate accordingly).
# Possible values: 22050, 49716, 44100, 48000, 32000, 16000, 11025, 8000.
sbtype=sbpro1
sbbase=220
irq=7
dma=1
hdma=5
sbmixer=true
oplmode=auto
oplemu=fast
oplrate=8000
[speaker]
# pcspeaker: Enable PC-Speaker emulation.
# pcrate: Sample rate of the PC-Speaker sound generation.
# Possible values: 22050, 44100, 48000, 32000, 16000, 11025, 8000, 49716.
# tandy: Enable Tandy Sound System emulation. For 'auto', emulation is present only if machine is set to 'tandy'.
# Possible values: auto, on, off.
# tandyrate: Sample rate of the Tandy 3-Voice generation.
# Possible values: 22050, 44100, 48000, 32000, 16000, 11025, 8000, 49716.
# disney: Enable Disney Sound Source emulation. (Covox Voice Master and Speech Thing compatible).
pcspeaker=true
pcrate=8000
tandy=auto
tandyrate=8000
disney=true
[joystick]
# joysticktype: Type of joystick to emulate: auto (default), none,
# 2axis (supports two joysticks),
# 4axis (supports one joystick, first joystick used),
# 4axis_2 (supports one joystick, second joystick used),
# fcs (Thrustmaster), ch (CH Flightstick).
# none disables joystick emulation.
# auto chooses emulation depending on real joystick(s).
# Possible values: auto, 2axis, 4axis, 4axis_2, fcs, ch, none.
# timed: enable timed intervals for axis. (false is old style behaviour).
# autofire: continuously fires as long as you keep the button pressed.
# swap34: swap the 3rd and the 4th axis. can be useful for certain joysticks.
# buttonwrap: enable button wrapping at the number of emulated buttons.
joysticktype=auto
timed=true
autofire=false
swap34=false
buttonwrap=true
[dos]
# xms: Enable XMS support.
# ems: Enable EMS support.
# umb: Enable UMB support.
# keyboardlayout: Language code of the keyboard layout (or none).
xms=true
ems=true
umb=true
keyboardlayout=auto
[autoexec]
# Lines in this section will be run at startup.
mount c "\Storage Card\DOSDrive\emu"
#imgmount c "\Storage Card\DOSDrive\EMU\Win98\W98.IMG" -t hdd -fs fat -size 512,63,16,518
C:
please wait .. uploading sample videos ..
Dos Game Dave
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
http://www.youtube.com/watch?v=2L3x2_JY1O0
Dos Game Heretic + Turbo Basic 1.0 and Turbo C++
Part 1 - http://www.youtube.com/watch?v=xWi5YcwHkU4 - HERETIC
Part 2 - http://www.youtube.com/watch?v=QFiP2KmUm3I - Turbo Basic
Part 3 - http://www.youtube.com/watch?v=MQmmq-P9BXI - Turbo C++
reserved section for download links
my problem is messed up keys ie. left right up down
but so far i only tried faceoff (hockey) maybe i need to try some newer game
yeap. I hope every one can share their thoughts.
tried nhl94 runs slow as hell keys are messed up and lacking "ALT", "ALT_gr" keys
tried to edit mapper.txt but no success with keys
tried to fine tune dosbox.conf no major progress made
heretic and hexen have been released native for pocketpc
lemmings too
that's counter progressive but I accept that.
anyway, I still want to have a possibility to make DOSBOX fast when playing games.
that's counter progressive but I accept that.
anyway, I still want to have a possibility to make DOSBOX fast when playing games.
this is the best what i have made so far
dosbox runs great gameplay on faceoff is quite smooth (some video lag)
Code:
# This is the configurationfile for DOSBox 0.73.
# Lines starting with a # are commentlines.
# They are used to (briefly) document the effect of each option.
[sdl]
# fullscreen: Start dosbox directly in fullscreen.
# rotateright: Alternate screen rotation.
# mapperfile: File used to load/save the key/event mappings from.
# kbdtoolbar: First toolbar.
# gametoolbar: Second toolbar.
# settoolbar: Third toolbar. Note: frameskip and cycles values are drawn there.
# usescancodes: Avoid usage of symkeys, might not work on all operating systems.
# sensitivity: Mouse sensitivity.
# touchpadmouse: Emulate mouse with stylus moves on screen. Can fix mouse behavior in games that expect only relative mouse movement.
# clickms: When in touchpad mode, left-click is sent after single-tap. This sets the delay in milliseconds between emulated mouse button down and up events.
# rightclickdelay: Touchpad mode. If you tap and hold stylus for this milliseconds, right-click will be send instead of left. 0 to disable.
# dpadmouse: Emulate mouse with D-Pad. Make sure to set corresponding mapper values for this to work. Up, down, left and right keys are autorotated.
# forcetoolbar: Sometimes where's no space on screen to fit even a part of toolbar. This forces it to display. Also a key and a zone can be set for toggling.
# forcetransparent: Forced toolbar area, overlapping active screen part will be semitransparent.
# forcezone: X, Y, width and height of 'force toolbar display' tapzone. No spaces please. See also hand_force_tlbr setting in mapper.txt
# forceheight: Forced toolbar will have this height.
fullscreen=true
rotateright=true
mapperfile=mapper.txt
kbdtoolbar=toolbar.dbk
gametoolbar=game.dbk
settoolbar=set.dbk
usescancodes=false
sensitivity=200
touchpadmouse=true
clickms=50
rightclickdelay=700
dpadmouse=true
forcetoolbar=true
forcetransparent=false
forcezone=0,0,10,5
forceheight=12
[dosbox]
# language: Select another language file.
# machine: The type of machine tries to emulate.
# Possible values: hercules, cga, tandy, pcjr, ega, vgaonly, svga_s3, svga_et3000, svga_et4000, svga_paradise, vesa_nolfb, vesa_oldvbe.
# captures: Directory where things like wave, midi, screenshot get captured.
# memsize: Amount of memory DOSBox has in megabytes.
# This value is best left at its default to avoid problems with some games,
# though few games might require a higher value.
# There is generally no speed advantage when raising this value.
language=
machine=svga_s3
captures=capture
memsize=32
[render]
# frameskip: How many frames DOSBox skips before drawing one.
# aspect: Do aspect correction, if your output method doesn't support scaling this can slow things down!.
# scaler: Scaler used to enlarge/enhance low resolution modes. If 'forced' is appended,the scaler will be used even if the result might not be desired.
# Possible values: qvga, vga.
frameskip=3
aspect=false
scaler=vga
[cpu]
# core: CPU Core used in emulation. auto will switch to dynamic if available and appropriate.
# Possible values: full, dynamic, simple.
# cputype: CPU Type used in emulation. auto is the fastest choice.
# Possible values: auto, 386, 386_slow, 486_slow, pentium_slow.
# cycles: Amount of instructions DOSBox tries to emulate each millisecond. Setting this value too high results in sound dropouts and lags. Cycles can be set in 2 ways:
# 'fixed #number' will set a fixed amount of cycles. This is what you usually need if 'auto' fails.
# (Example: fixed 4000)
# 'max' will allocate as much cycles as your computer is able to handle
# Possible values: fixed, max.
# cycleup: Amount of cycles to increase/decrease with keycombo.
# cycledown: Setting it lower than 100 will be a percentage.
core=full
cputype=auto
cycles=max
cycleup=500
cycledown=500
[mixer]
# nosound: Enable silent mode, sound is still emulated though.
# rate: Mixer sample rate, setting any device's rate higher than this will probably lower their sound quality.
# Possible values: 22050, 44100, 48000, 32000, 16000, 11025, 8000, 49716.
# blocksize: Mixer block size, larger blocks might help sound stuttering but sound will also be more lagged.
# Possible values: 2048, 4096, 8192, 1024, 512, 256.
# prebuffer: How many milliseconds of data to keep on top of the blocksize.
nosound=false
rate=8000
blocksize=2048
prebuffer=10
[sblaster]
# sbtype: Type of sblaster to emulate.
# Possible values: sb1, sb2, sbpro1, sbpro2, sb16, none.
# sbbase: The IO address of the soundblaster.
# Possible values: 220, 240, 260, 280, 2a0, 2c0, 2e0, 300.
# irq: The IRQ number of the soundblaster.
# Possible values: 7, 5, 3, 9, 10, 11, 12.
# dma: The DMA number of the soundblaster.
# Possible values: 1, 5, 0, 3, 6, 7.
# hdma: The High DMA number of the soundblaster.
# Possible values: 1, 5, 0, 3, 6, 7.
# sbmixer: Allow the soundblaster mixer to modify the DOSBox mixer.
# oplmode: Type of OPL emulation. On 'auto' the mode is determined by sblaster type. All OPL modes are Adlib-compatible, except for 'cms'.
# Possible values: auto, cms, opl2, dualopl2, opl3, none.
# oplemu: Provider for the OPL emulation. compat or old might provide better quality (see oplrate as well).
# Possible values: default, compat, fast, old.
# oplrate: Sample rate of OPL music emulation. Use 49716 for highest quality (set the mixer rate accordingly).
# Possible values: 22050, 49716, 44100, 48000, 32000, 16000, 11025, 8000.
sbtype=sbpro1
sbbase=220
irq=7
dma=1
hdma=5
sbmixer=true
oplmode=auto
oplemu=fast
oplrate=8000
[speaker]
# pcspeaker: Enable PC-Speaker emulation.
# pcrate: Sample rate of the PC-Speaker sound generation.
# Possible values: 22050, 44100, 48000, 32000, 16000, 11025, 8000, 49716.
# tandy: Enable Tandy Sound System emulation. For 'auto', emulation is present only if machine is set to 'tandy'.
# Possible values: auto, on, off.
# tandyrate: Sample rate of the Tandy 3-Voice generation.
# Possible values: 22050, 44100, 48000, 32000, 16000, 11025, 8000, 49716.
# disney: Enable Disney Sound Source emulation. (Covox Voice Master and Speech Thing compatible).
pcspeaker=true
pcrate=8000
tandy=auto
tandyrate=8000
disney=true
[joystick]
# joysticktype: Type of joystick to emulate: auto (default), none,
# 2axis (supports two joysticks),
# 4axis (supports one joystick, first joystick used),
# 4axis_2 (supports one joystick, second joystick used),
# fcs (Thrustmaster), ch (CH Flightstick).
# none disables joystick emulation.
# auto chooses emulation depending on real joystick(s).
# Possible values: auto, 2axis, 4axis, 4axis_2, fcs, ch, none.
# timed: enable timed intervals for axis. (false is old style behaviour).
# autofire: continuously fires as long as you keep the button pressed.
# swap34: swap the 3rd and the 4th axis. can be useful for certain joysticks.
# buttonwrap: enable button wrapping at the number of emulated buttons.
joysticktype=none
timed=true
autofire=false
swap34=false
buttonwrap=true
[dos]
# xms: Enable XMS support.
# ems: Enable EMS support.
# umb: Enable UMB support.
# keyboardlayout: Language code of the keyboard layout (or none).
xms=true
ems=true
umb=true
keyboardlayout=auto
[autoexec]
# Lines in this section will be run at startup.
mount c "\Storage Card\"
c:
hi
Nullstring said:
Dos Game Dave
http://www.youtube.com/watch?v=2L3x2_JY1O0
Dos Game Heretic + Turbo Basic 1.0 and Turbo C++
Part 1 - http://www.youtube.com/watch?v=xWi5YcwHkU4 - HERETIC
Part 2 - http://www.youtube.com/watch?v=QFiP2KmUm3I - Turbo Basic
Part 3 - http://www.youtube.com/watch?v=MQmmq-P9BXI - Turbo C++
Click to expand...
Click to collapse
whether it will work for htc hd2
indycar said:
my problem is messed up keys ie. left right up down
but so far i only tried faceoff (hockey) maybe i need to try some newer game
Click to expand...
Click to collapse
I'm not sure about the X1, but on the LG Fathom, you just need to edit MAPPER.TXT in the DOSBOX folder and swap key_up, key_down etc
- so I think I'm right in saying that you need to swap
key_up <> key_right
key_down <> key_left
key_left <> key_up
key_right <> key_down
I know this post is from a while back, but I just want to post that for anyone looking. I am going to use Windows Mobile as long as I can and I hope others will continue to use it too!

MortScripts to toggle settings

This thread is dedicated to MortScripts that we use to change settings. Most of these can be stand alone scripts, but I got started creating this thread based on CHTS needing WMLongLife to change from Automatic to GSM radio profile. I found that WMLL seemed to eat up battery life in my old Fuze. I tried a script or two from the MortScript examples thread, but they did not work for me. I'll be posting various scripts that I use during my profile changes in CHTS, but I will in such a way that if you do not use CHTS you can still use the scripts.
Another purpose of this thread is to make these scripts available to those who for one reason or another the default programs in CHTS do not work and perhaps the script will. An example is sound profile changing to Automatic was not available so I added a script to do it for me. The feature had been turned off since it did not work in all phones. In a coming version I believe it will be back. The beta test works in my Fuze.
The hope of this thread is to help those that use CHTS to get some of the features that may not work on their phone through MortScripts instead. Also, as a place to share these "TOGGLE" switch scripts for others to be able to use outside CHTS.
I am trying to write scripts that do not use programs outside windows mobile. The hope is that they can be used in as many phones and ROMs as possible. An example is the first form of my Band_Changer used a program in CHTS and I reworked it to not require that program.
Radio toggle between Automatic (2G & 3G) and GSM (2G only): Post #2
Switch Sound Profile: Post #3
Auto time zone toggle: Post #5 and Post #8
Toggle Backlight: Post #14
Toggle Screen Rotation: Post #15
Toggle between Active Sync and Mass Storage: Post #16
Toggle Voice Command: Post #17
Radio toggle between Automatic (2G & 3G) and GSM (2G only)
This script calls the main script with the argument required based on your current profile to switch the profile to the other.
Code:
# Band_Toggle.mscr
opmode = RegRead( "HKLM","Software\OEM\UMTS","OpMode")
opmode = RegRead( "HKLM","Software\OEM\PhoneSetting\NetworkType","ItemName" & OpMode + 1)
If(opmode eq "Auto")
key = "g"
Else
key = "a"
EndIf
CallScript("\storage card\scripts\Band_Changer.mscr", key)
# CallScript("\windows\Band_Changer.mscr", key)
I test the script in my storage card, but when I use it for CHTS I would have it in \windows folder.
This is the main script:
Code:
# Band_Changer.mscr
If(NOT FileExists("\Windows\CMBandSwitching.exe"))
Message("You must have CMBandSwitching.exe installed in windows folder.^NL^^NL^Script will exit now.", "ERROR")
Exit
EndIf
key = argv[1]
key = (key eq "a")?"Auto":"GSM"
opmode = RegRead( "HKLM","Software\OEM\UMTS","OpMode")
opmode = RegRead( "HKLM","Software\OEM\PhoneSetting\NetworkType","ItemName" & OpMode + 1)
network1 = RegRead( "HKLM","Software\OEM\PhoneSetting\NetworkType","ItemName1" )
network2 = RegRead( "HKLM","Software\OEM\PhoneSetting\NetworkType","ItemName2" )
network3 = RegRead( "HKLM","Software\OEM\PhoneSetting\NetworkType","ItemName3" )
If(key ne OpMode)
If(key eq network1)
key = 1
ElseIf(key eq network2)
key = 2
ElseIf(key eq network3)
key = 3
Else
EndIf
Call("switcher")
EndIf
Sub switcher
Global(key)
SendSpecial(126) # Data disconnect
i=0
ForEach xvariable in regSubkeys("HKLM", "Comm\ConnMgr\Providers\{7C4B7A38-5FF7-4bc1-80F6-5DA7870BB1AA}\Connections")
i+=1
enable[i] = RegRead("HKLM", "Comm\ConnMgr\Providers\{7C4B7A38-5FF7-4bc1-80F6-5DA7870BB1AA}\Connections" \ xvariable, "Enabled")
EndForEach
Sleep(500)
ForEach xvariable in regSubkeys("HKLM", "Comm\ConnMgr\Providers\{7C4B7A38-5FF7-4bc1-80F6-5DA7870BB1AA}\Connections")
RegWriteDWord("HKLM", "Comm\ConnMgr\Providers\{7C4B7A38-5FF7-4bc1-80F6-5DA7870BB1AA}\Connections" \ xvariable, "Enabled", 0)
EndForEach
Sleep(500)
Run("\Windows\CMBandSwitching.exe")
If(ScreenHeight() eq 640)
Y1 = 160 # 1st button which is Auto on my Fuze 163
Y2 = 245 # 2nd button which is GSM on my Fuze 244
Y3 = 315 # 3rd button which is WCDMA on my Fuze 314
Y4 = 610 # Done button on my Fuze 608
X4 = 135 # Done button on my Fuze 134
Y5 = 460 # Done button on my Fuze 460
X5 = 125 # Done button on my Fuze 125
ElseIf(ScreenHeight() eq 800)
Y1 = 150 # 1st button which is Auto on HD2 150
Y2 = 200 # 2nd button which is GSM on HD2 200
Y3 = 305 # 3rd button which is WCDMA on HD2 305
Y4 = 750 # Done button on HD2 750
X4 = 110 # Done button on HD2 110
Y5 = 480 # Done button on HD2 480
X5 = 110 # Done button on HD2 110
EndIf
While(NOT WndActive("Band"))
Sleep(50)
EndWhile
If(key eq 1)
MouseClick("Band", ScreenWidth()*0.25, Y1) # 1st button
ElseIf(key eq 2)
MouseClick("Band", ScreenWidth()*0.25, Y2) # 2nd button
Else
MouseClick("Band", ScreenWidth()*0.25, Y3) # 3rd button
EndIf
Sleep(150)
SendSpecial(112) # Done
Sleep(500)
i=0
ForEach xvariable in regSubkeys("HKLM", "Comm\ConnMgr\Providers\{7C4B7A38-5FF7-4bc1-80F6-5DA7870BB1AA}\Connections")
i+=1
RegWriteDWord("HKLM", "Comm\ConnMgr\Providers\{7C4B7A38-5FF7-4bc1-80F6-5DA7870BB1AA}\Connections" \ xvariable, "Enabled", enable[i])
EndForEach
Sleep(20000)
If(NOT Connected())
Connect("The Internet")
EndIf
EndSub
If you do not have a 480 x 640 or 480 x 800 phone or if this does not work for you please try this script to get me the points I need to improve this script.
Code:
# PickPoints.mscr
Run("\Windows\CMBandSwitching.exe")
WaitForActive("Band", 10)
Sleep(300)
SleepMessage( 2, "Select center of first (top) Network Type choice after this screen closes." )
Sleep(300)
aMouse = ScreenshotClick()
sMSGOutput1 = "^NL^First:^NL^X1 = " & aMouse[1] &"^NL^Y1 = " & aMouse[2]
SleepMessage( 2, "Select center of second (middle) Network Type choice after this screen closes." )
Sleep(300)
aMouse = ScreenshotClick()
sMSGOutput2 = "^NL^Second:^NL^X2 = " & aMouse[1] &"^NL^Y2 = " & aMouse[2]
SleepMessage( 2, "Select center of third (bottom) Network Type choice after this screen closes." )
Sleep(300)
aMouse = ScreenshotClick()
sMSGOutput3 = "^NL^Third:^NL^X3 = " & aMouse[1] &"^NL^Y3 = " & aMouse[2]
Sleep(300)
MouseClick("Band", aMouse[1], aMouse[2])
Sleep(300)
SleepMessage( 2, "Select center of Done button after this screen closes." )
Sleep(300)
aMouse = ScreenshotClick()
sMSGOutput4 = "^NL^Done:^NL^X4 = " & aMouse[1] &"^NL^Y4 = " & aMouse[2]
Sleep(300)
MouseClick("Band", aMouse[1], aMouse[2])
Sleep(1500)
SleepMessage( 2, "Select center of OK button after this screen closes." )
Sleep(300)
aMouse = ScreenshotClick()
sMSGOutput5 = "^NL^OK:^NL^X5 = " & aMouse[1] &"^NL^Y5 = " & aMouse[2]
SleepMessage( 2, "Select center of Cancel button after this screen closes." )
Sleep(3000)
WriteFile("\band_click.txt", "Screen width: " & ScreenWidth() & "^NL^Screen height: " & ScreenHeight() & sMSGOutput1 & sMSGOutput2 & sMSGOutput3 & sMSGOutput4 & sMSGOutput5)
Message("Please send me these data. They are saved in root directory \band_click.txt^NL^")
Remove the .txt from the end of the script files.
Switch Sound Profile
These scripts call the main script with the argument for the profile you want.
Code:
# Sound_Automatic.mscr
CallScript("\Windows\Sound_Profile.mscr", "Automatic")
Code:
# Sound_Normal.mscr
CallScript("\Windows\Sound_Profile.mscr", "Normal")
Code:
# Sound_Silent.mscr
CallScript("\Windows\Sound_Profile.mscr", "Silent")
Code:
# Sound_Vibrate.mscr
CallScript("\Windows\Sound_Profile.mscr", "Vibrate")
This is the main script:
Code:
# Sound_Profile.mscr
# Change Sound Profile based on argument used to call this script from
# a short script in the form:
# CallScript("\Windows\Sound_Profile.mscr", "Automatic")
mode=argv[1]
If(mode EQ "Automatic")
RegWriteString("HKCU", "ControlPanel\Profiles", "ActiveProfile", "Automatic")
SendMessage("", 1156, 0, 0)
ElseIf(mode EQ "Normal")
RegWriteString("HKCU", "ControlPanel\Profiles", "ActiveProfile", "Normal")
SendMessage("", 1156, 0, 0)
ElseIf(mode EQ "Silent")
SendMessage("", 1156, 3, 0)
ElseIf(mode EQ "Vibrate")
SendMessage("", 1156, 2, 0)
Else
EndIf
In CHTS profile switching I use the Execute/Kill App(s) section with the executable as \windows\mortscript.exe and the argument one of these four:
\Windows\Sound_Profile.mscr Automatic
\Windows\Sound_Profile.mscr Normal
\Windows\Sound_Profile.mscr Silent
\Windows\Sound_Profile.mscr Vibrate
Remove the .txt from the end of the script files.
This isn't written as a toggle, but these scripts will turn off or on the auto-time zone sync option in phone settings. Turning it off helps to keep active sync from running all the time.
Code:
#Auto time zone off
RegWriteDWord("HKLM","\Drivers\BuiltIn\RIL","NITZEnable",0)
Code:
#Auto time zone on
RegWriteDWord("HKLM","\Drivers\BuiltIn\RIL","NITZEnable",1)
Auto time zone toggle
Thanks Farmer Ted
It is easy enough to create a toggle.
Code:
If(RegRead("HKLM","\Drivers\BuiltIn\RIL","NITZEnable"))
RegWriteDWord("HKLM","\Drivers\BuiltIn\RIL","NITZEnable",0) #Auto time zone off
Else
RegWriteDWord("HKLM","\Drivers\BuiltIn\RIL","NITZEnable",1) #Auto time zone on
EndIf
Thx RoryB... toggle features are good... if you can store all here.. it must be a good base to share with communauty !
great job my friend! especially after the long test time in beta group to fulfill different device's needs.
this is the perfect extension for the post-run-scripts while profile switching.
I'm looking forward to much more of this scripts, which can be used.
Thanx also in name of all CHTS-users
Micha
RoryB said:
Thanks Farmer Ted
It is easy enough to create a toggle.
Click to expand...
Click to collapse
Cool, that was a lot simpler than if I'd done it, lol. Here's the same script, with message boxes to let you know what the setting is.
Code:
If(RegRead("HKLM","\Drivers\BuiltIn\RIL","NITZEnable"))
RegWriteDWord("HKLM","\Drivers\BuiltIn\RIL","NITZEnable",0) #Auto time zone off
Message("Active Sync under control")
Else
RegWriteDWord("HKLM","\Drivers\BuiltIn\RIL","NITZEnable",1) #Auto time zone on
Message("Active Sync running wild")
EndIf
LOL I love a sense of humor.
I updated post #2 for the Band Changer because I have been getting failed to connect or dialed modem not answering error messages.
RoryB said:
I updated post #2 for the Band Changer because I have been getting failed to connect or dialed modem not answering error messages.
Click to expand...
Click to collapse
Made another tweak to stop data connection first.
Updated Post #2 for Band_Changer.mscr. It seems to run a little faster.
On Band_Changer I realized that
Code:
Y1 = 150 # 1st button which is Auto on HD2 150
Y2 = 215 # 2nd button which is GSM on HD2 200
Y3 = 300 # 3rd button which is WCDMA on HD2 305
works in my phone too. So I would not need to check the screen size, but I am running Energy ROM that is a WVGA with tweaks to work on my VGA. I need to get some pick point data from anyone who uses a true VGA ROM in their phone to confirm the points for it. Also, a screen shot of CMBandSwitcher.exe would help a lot.
If CMBandSwitcher.exe has the same screen size for WVGA and VGA phones I will be able to reduce the code some more.
Toggle Backlight
From http://forum.xda-developers.com/showpost.php?p=2018165&postcount=239
Code:
#toggle backlight between max and one-from-minimum (on trinity at least)
CurrentBright = RegRead( "HKCU", "ControlPanel\Backlight", "Brightness" )
If (CurrentBright = 1)
SetBacklight (100, 5)
Else
SetBacklight (1, 1)
EndIf
Toggle Screen Rotation
From http://forum.xda-developers.com/showpost.php?p=2832605&postcount=929
Code:
If (regread("HKLM", "System\GDI\ROTATION", "ANGLE") eq 0)
Rotate (90)
Else
Rotate (0)
Endif
Toggle between Active Sync and Mass Storage
From http://forum.xda-developers.com/showpost.php?p=5078802&postcount=2552
Code:
usb = RegRead ( "HKLM", "Drivers\USB\FunctionDrivers", "DefaultClientDriver" )
If ( usb eq "RNDIS" )
Run ( "\Windows\USBSetting.exe" )
Sleep ( 200 )
SendSpecial ( "Down" )
Sleep ( 50 )
SendSpecial ( "CR" )
Sleep ( 50 )
SendOK
ElseIf ( usb eq "Mass_Storage_Class" )
Run ( "\Windows\USBSetting.exe" )
Sleep ( 200 )
SendSpecial ( "Up" )
Sleep ( 50 )
SendSpecial ( "CR" )
Sleep ( 50 )
SendOK
EndIf
Toggle Voice Command
I only use Voice Command when I am driving so I toggle it off when I am not driving to save battery drain.
Code:
ShowWaitCursor
If( ProcExists( "VoiceCmd.exe" ) )
Kill( "VoiceCmd.exe" )
PlaySound( "Stopping" )
HideWaitCursor
SleepMessage( 2, "Voice Command^NL^^NL^Stopped", "Voice Command Toggle" )
Delete( "\Windows\Startup\Voice Command.lnk" ) # so it will not restart after a soft reset
else
Run( "\Program Files\Voice Command\VoiceCmd.exe" )
PlaySound( "Starting" )
HideWaitCursor
SleepMessage( 2, "Voice Command^NL^^NL^Started", "Voice Command Toggle" )
Endif
Sad to go
My Fuze no longer works. I currently have a loner Infuse 4G, but do not know what I will end up with.
I will not be able to continue development of Mortscripts, etc.
Sorry to go, but it has been fun.
I'll keep watching to see if anything comes up I need to respond to.

user defined key issue

I bought a new (though not brand new) rooted G2. I'm familiar with G2's as I had one for a long time, but this one is rooted, with CM7. So I noticed the location of assigning my user defined keys was moved to CM7's settings, under input, and they're called "quick" keys. Firstly, they seem to be scattered... ie key 1 on my keyboard is quick key 3, key 2 is quick key 1 and key 3 is quick key 2. Is this normal?
But secondly and more importantly, my first key, which is quick key 3, cannot be assigned anything. No matter what I assign to it, it opens up the symbol screen.
I'm hoping and guessing this isn't a hardware problem
Does anyone have any ideas?? any help would be great
thanks
Those key's are set in the keylayout, if the keynumbers are assigned to a function it will take that function. (on an rooted device you can access the configuration file trough an root explorer, like ESFileExplorer, just download from the market.., the keyboardlayout files are in /system/usr/keylayout/ depending on your rom you can edit these files, mostly qwerty.kl Generic.kl vision-keypad.kl or vision-keypad-wwe.kl, the keys should look something like this:
Code:
key 185 USER3 WAKE_DROPPED
key 184 USER2 WAKE_DROPPED
key 183 USER1 WAKE_DROPPED
in all those files... depending on your rom.)

[Test] Need some registry values

Hi! I wanna run some tests and i need some registry values under
HKEY_LOCAL_MACHINE\System\Touch\Buttons
What i need is the keys and the values(better if the device is 4.7" or more)
Thanks
content of "Buttons" from 950XL
"0" key
String = Name, Value = Back
Integer = VKey, Value = 27
"1" key
String = Name, Value = Start
Integer = VKey, Value = 113
"2" key
String = Name, Value = Search
Integer = VKey, Value = 114
Integer = Count, Value = 3
Integer = Duration, Value = 20
Integer = Intensity, Value = 100
Integer = Vibrate, Value = 1
For 640xl.,
All the values are same...except,
Duration(value=41)
Intensity(value=99)
previously i disabled vibration for navigation keys under touch and gestures settings so,
Vibrate(value=0)
dxdy said:
content of "Buttons" from 950XL
"0" key
String = Name, Value = Back
Integer = VKey, Value = 27
"1" key
String = Name, Value = Start
Integer = VKey, Value = 113
"2" key
String = Name, Value = Search
Integer = VKey, Value = 114
Integer = Count, Value = 3
Integer = Duration, Value = 20
Integer = Intensity, Value = 100
Integer = Vibrate, Value = 1
Click to expand...
Click to collapse
Sai Chrisna said:
For 640xl.,
All the values are same...except,
Duration(value=41)
Intensity(value=99)
previously i disabled vibration for navigation keys under touch and gestures settings so,
Vibrate(value=0)
Click to expand...
Click to collapse
Intensity around 50 saves some battery

Categories

Resources