[Windows Mobile Apps and Games] chrisstavrou:
Parameters for Auto Lock (CSDEVCTRL) - Page 2/2

(Continuing from Page 1)

GENERAL UNLOCKING OPTIONS

(Apply when the device is locked for all cases)

- UnlockWhenKeyboardSlidedOut=X (Default 0)

If set to 1, then when sliding out the keyboard, the device is unlocked and remains unlocked until

the keyboard is slided back (this is the hardware keyboard).

- UnlockWhenStylusOut=X (Default 0)

If set to 1, then removing the stylus from the device, the device is unlocked and remains unlocked until

the stylus is attached to the device again.

- UnlockIfWakeupManually=XXX (Default 0)

If set > 0, then the device will be unlocked if the user pressed the power button to turn on the device.

XXX is the delay in ms before the unlock is applied (suggested 3000).

- UnLockWhenSwitchedToExternal=X (Default 0)

If set to 1, then the device will be unlocked if the power is switched to external (AC).

UNLOCKING OPTIONS/ACTIONS

(Apply only if LockDeviceAlways is set to 1)

Unlock Using Keys

- UnLockFirstKey (Default 0)

- UnLockSecond Key (Default 0)

Its the Hex Value of the VK code of the keys to be pressed to emulate the unlock sequence.

To find out the key codes the program debugscr.exe, can be used.

Perform Certain Actions

If the device is locked, then sliding to the direction defined, perform the related action.

Sliding Directions:

- Left to Right: 1 = Ignore Call Status, 10 = In Call, 11 = Not In Call

- Right To Left: -1 = Ignore Call Status, -10 = In Call, -11 = Not In Call

- Top to Bottom: 2 = Ignore Call Status, 20 = In Call, 21 = Not In Call

- Bottom to Top: -2 = Ignore Call Status, -20 = In Call, -21 = Not In Call

- 0 (or any other number than above) = Disabled

The sliding width is controlled by the SlideSensitivity parameter (see below).

The options below are given in the relevant priority, the first occurance has higher priority

so if there are two options with the same slide direction, then only the first will be taken in consideration.

Default is 0, Disabled.

- SlideDirForExecuteCommandA=XX

Executes the command defined with 'ExecuteCommandACommand'

and passes the commandline arguments defined with 'ExecuteCommandAParams'

- SlideDirForExecuteCommandB=XX

Executes the command defined with 'ExecuteCommandBCommand'

and passes the commandline arguments defined with 'ExecuteCommandBParams'

- SlideDirForTurnOffBlueTooth=XXX

Turns off Bluetooth.

- SlideDirForTurnOffBlueTooth=XXX

Turns off Bluetooth.

- SlideDirForTurnOnBlueTooth=XXX

Turns On Bluetooth

- SlideDirForUnBlockTempHardKeys=XXX

Enables the use of hardware keys for 5 seconds while the device is still locked (it can replace options like

enabling the speaker, changing the volume etc).

- SlideDirForStopLocking=XXX

Unlocks the device and stops locking for the current session until the device is put to sleep.

- SlideDirForOpenSpeaker=XXX

Toggles the speaker on/off if a call is taking place.

- SlideDirForUnlocking=XXX

Unlocks the device.

- SlideDirForHangUp=XXX

Hangs up the current call.

- SlideSensitivity=XXX (Default 120)

This is the distance for the slide to be taken in consideration in pixels. Smaller number means

that the program is more sensitive on the slide.

- VibratesNumAfterUnlock=X (Default 0)

X is the number of vibrates to execute after the device is unlocked with one of the above options.

- VibrateAfterSlideAction=X (Default 0)

if set to 1, device will vibrate once for any of the actions taken above excluding the unlock

EXTRA OPTIONS

- DelayBeforeLockMsAfterWake=250 (Default is 250)

Time in ms to wait before applying the lock from wake and running any program (no need to change).

- DelayBeforeLockMs=250 (Default is 250)

Time in ms to wait before applying the lock from dim and running any program (no need to change)

GOODIES

- TurnOnBlueToothRingCall=0 or 1 (Default is 0)

If set to 1, Bluetooth will be turned on if the phone is ringing or a call has started

- TurnOffBlueToothifHeadSetNoCon=0 or 1 (Default is 0)

If set to 1, Bluetooth will be turned off if it had been turned on because of the above

option and the headset is not connected.

- TurnOffBlueToothAfterCall=0 or 1 (Default is 0)

If set to 1, Bluetooth will be turned off if it had been turned on because of the above

option and the call is over.

- ReduceCarrierNameChars=xxx (Default is 0)

It set then it will right trim the Carrier to be up to these number of chars, overwritting the last

3 chars with ...

-- ToggleBlueToothState=0 or 1 (Default is 0)

Combined with the above it can display the Bluetooth State in the Carrier name.

- FlashBackLightWhenRingingMs=XXX

If set to a value greater than 0, then the Backlight will be turned on, sleep for XXX ms then the Backlight will be turned off and then sleep again.

This continues until the device stops ringing.

- VibrateWhenRingingMs=XXX

If set to a value greater than 0, then the device will vibrate once, sleep for XXX ms and then vibrate again.

This continues until the device stops ringing.

- ResetExchangeServerPolicy=X (Default 0)

If set to 1, the Exchange Server policy is reset to avoid requesting a new password.

- TurnOffVideoSecs=XXX (Default 0)

If set to non zero, then the Display of the PDA is turned off (but the device is still running). It can be used as a power saver when playing music.

- TurnOffVideoOnlyIfRunning=YYY;YYYY; (Default is blank)

If set, it is the list of the executables which if they are running in the foreground then the Display will be turned off.

If no much is found then the display is not turned off.

It is a list separated with the character ';' which must be followed for each entry without any space.

The executable is simply the name, not the full path.

For example:

MioMap.exe;pword.exe;

- VideoOffOnlyAfterLock=X (Default 0)

If set to 1, the TurnOffVideoSecs starts counting after the device has been locked.

- TurnOffVideoWhenTalking=X (Default 0)

If set to 1, the video will be turned off when the call is in Talking mode. Video will be on again

as soon as the call is over.

- DefaultSIPToSet=XXXXX (Default is Blank)

This is the name of the SIP to be selected when the program starts.

The name must match (case sensitive) the description shown when the list of SIPs appear.

- SetSIPAfterPowerOn=X (Default 0)

If set to 1, the SIP will be reset to the name above after the device has been powered on.

- HangupCallAfterSecs=XXX (Default is 0)

These are the seconds before the call is dropped. The device must be in locked state for the call

to be dropped.

- KeepBackLightOnWhileLockedInCall=X ((Default 0)

If set to 1, the backlight will remain on until the call is over. The device will also be prevented from

going to sleep.

>>>>> If you change any of the parameters using any registry editor, the program will need to be restarted (Re-run it as mentioned further on).

>>>>> Using the setup program provided, after saving the changes then the updated parameters take immediate effect.