[XPERIA X1 General] JKingDev:
Registry settings:

The following are DWORD values:

HKCU\SOFTWARE\JKing\X1BC\CapturePanel

HKCU\SOFTWARE\JKing\X1BC\CaptureOK

HKCU\SOFTWARE\JKing\X1BC\CaptureLeft

HKCU\SOFTWARE\JKing\X1BC\CaptureRight

HKCU\SOFTWARE\JKing\X1BC\CaptureVolumeUp

HKCU\SOFTWARE\JKing\X1BC\CaptureVolumeDown

HKCU\SOFTWARE\JKing\X1BC\CaptureLWIN

Here are the possible choices:

0 - Leave the key alone

1 - Capture long press only

3 - Capture long and short press

The default if the value does not exists is 0

The following is also a DWORD but the format is different:

HKCU\SOFTWARE\JKing\X1BC\CaptureCamera

The possible choices are:

0 - Leave the key alone

1 - Capture long and short for half press only

2 - Capture long and short for full press only

3 - Capture long and short for both half and full press

The default if the value does not exists is 0

The following are string values:

HKCU\SOFTWARE\JKing\X1BC\PanelShortAction

HKCU\SOFTWARE\JKing\X1BC\PanelLongAction

HKCU\SOFTWARE\JKing\X1BC\OKShortAction

HKCU\SOFTWARE\JKing\X1BC\OKLongAction

HKCU\SOFTWARE\JKing\X1BC\LeftShortAction

HKCU\SOFTWARE\JKing\X1BC\LeftLongAction

HKCU\SOFTWARE\JKing\X1BC\RightShortAction

HKCU\SOFTWARE\JKing\X1BC\RightLongAction

HKCU\SOFTWARE\JKing\X1BC\VolumeUpShortAction

HKCU\SOFTWARE\JKing\X1BC\VolumeUpLongAction

HKCU\SOFTWARE\JKing\X1BC\VolumeDownShortAction

HKCU\SOFTWARE\JKing\X1BC\VolumeDownLongAction

HKCU\SOFTWARE\JKing\X1BC\LWINShortAction

HKCU\SOFTWARE\JKing\X1BC\LWINLongAction

HKCU\SOFTWARE\JKing\X1BC\HalfCamShortAction

HKCU\SOFTWARE\JKing\X1BC\HalfCamLongAction

HKCU\SOFTWARE\JKing\X1BC\FullCamShortAction

HKCU\SOFTWARE\JKing\X1BC\FullCamLongAction

HKCU\SOFTWARE\JKing\X1BC\Fn_A_Action

HKCU\SOFTWARE\JKing\X1BC\Fn_S_Action

HKCU\SOFTWARE\JKing\X1BC\Fn_D_Action

HKCU\SOFTWARE\JKing\X1BC\Fn_F_Action

HKCU\SOFTWARE\JKing\X1BC\Fn_G_Action

HKCU\SOFTWARE\JKing\X1BC\Fn_Z_Action

HKCU\SOFTWARE\JKing\X1BC\Fn_X_Action

HKCU\SOFTWARE\JKing\X1BC\Fn_C_Action

HKCU\SOFTWARE\JKing\X1BC\Fn_V_Action

Each action key can be one of three types: Execution of a file, sending of a character, or sending of a special key.

To execute a file, the string should contain the full pathname of the file to run. This can be an exe, mscr, lnk, mp3, doc, whatever. Enclose the path and file name in quotes, followed by a space, then any parameters if you desire if it is an executable. For instance:

"\Program Files\App\My App.exe" -p

To send a character, the string must begin with a # symbol followed by the character to send. For instance, to send a "$" character, they value of the string should be:

#$

To send a special key, the string must begin with a & symbol followed by the identifier of the special key to send. Here are the special keys:

W - Windows key

R - Rotate screen

Q - Send left softkey event

E - Send right softkey event

What other special keys would you like?

For instance, to send a windows key event, they value of the string should be:

&W

The following are DWORD values:

HKCU\SOFTWARE\JKing\X1BC\LongKeyTimeout

Delay for long key press in milliseconds. The default if the value does not exists is 500.

HKCU\SOFTWARE\JKing\X1BC\LWINCtrlMode

Here are the possible choices:

0 - Do not use as ctrl

1 - Short press mode (short press to enable ctrl then press a letter)

2 - Long press mode (press letter while holding ctrl)

HKCU\SOFTWARE\JKing\X1BC\TabCtrlMode

Here are the possible choices:

0 - Do not use as ctrl

1 - Short press mode (short press to enable ctrl then press a letter; long press sends tab chr)

2 - Long press mode (press letter while holding ctrl; short press sends tab chr)

(Note, you may use either LWIN or TAB for ctrl. Not both at the same time. If both of these keys are non zero, the tab key will be used. I recommend the tab key. It is more reliable.)

HKCU\SOFTWARE\JKing\X1BC\SupportMultipleKeyHooks

Here are the possible choices:

0 - OFF

1 - ON

The default if the value does not exists is 0. (Please leave as 0 for now. It does not work.)

HKCU\SOFTWARE\JKing\X1BC\HoldFeedbackDuration

Duration of vibration feedback for a long key press. Set to zero to disable. The default if the value does not exists is 35.

HKCU\SOFTWARE\JKing\X1BC\LandscapeOrientation

Set which landscape orientation the "R" special key will switch to. Choices:

0 - Left handed (correct orientation for the keyboard)

1 - Right handed

The default if the value does not exists is 0.

Known Issues:

-Does not support multiple key hooks (not really a problem as this is an OS limitation but see this post for details)

-LWIN long ctrl mode does not work

Changelog:

v1.1 [2/12/09]

-Added special key (&R) for screen rotation

-Added special keys (&Q and &E) for left and right softkeys

-Fixed bug that cause crash if Fn key was assigned to non existent file

-Will now prevent camera app from opening if you reassign camera button

-Changed format of reg settings for camera button

v1.0 [2/11/09]

-Improved WIN ctrl key support

-Added tab key short and long ctrl modes and registry setting

-Added key hold vibration feedback and registry duration setting

-Added capability to capture fn keys. Registry settings added

-Added capability to send character strokes and special keys

-Added capability to capture half and full camera button press. Registry settings added

-Changed default registry values to reflect correct installation directory for other languages

v0.4 [1/10/09]

-Fixed bug that caused extra long key press in one circumstance

-Fixed bug that caused crash during startup if registry strings were not formatted correctly

-Added option and registry value to change long press timeout

-Added short ctrl key feature and registry option for feature

-Added option to allow other key hooks (doesnt yet actually work)

-Now released in CAB format; CAB presets all reg values and creates shortcuts in startup and start menu

-X1BC now ignores keys by default if reg values do not exist, rather than capturing by default

v0.3 [1/07/09]

-Added registry keys for key actions

-Program now performs key actions from settings

v0.2 [1/06/09]

-Simplified reg settings

-Removed all but "exiting" popup during startup and shutdown

-Rewrote key hook algorithm for better reliability

-Unwanted keys now released to system as set by preferences

Todo List:

-Support multiple key hooks

Downloads below. Please note, the cabs will overwrite existing registry settings. If you want to upgrade from previous version, back up the settings first or just replace the exe. The cabs also place a shortcut in startup and in the start menu.