DredSensor v1.3a – Allow you to personalize Hard Key Actions

Now DredSensor should be compatible with other device than HTC Touch Diamond.

Historically, if you have tried to play a game needing left and right key on an HTC Touch Diamond, you noticed that they are 2mm wide and if you click next to it, you get back to home page or to dialing menu etc…

So I’ve written a prog allowing you to lock these 4 keys actions and replace it by classical key event (VK_LEFT, VK_RIGHT, …).
In that way you can play tetris, and use “Pick-Up” and “Hang-Up” keys for going left and right.


I extended it to let you configure each app independantly, and choose between four (five) mode:

  • “HardKeySimul”: replace the 4 keyz by classical key event
  • “Launcher”: allow you to quicklaunch 4 app (that you define in the config wnd) when you double tap (not click, just tap) on one of those 4 keyz
  • “Scroll”: allow you to scroll the current window by tapping those 4 keyz panel
  • “KeySimul”: allow you to send left/right/up/down events by tapping those 4 keyz panel
  • “— Disabled —”: Disable specific HTC Touch Diamond Sensor functionalities.

Now, i’ve added an alternative Key Mapping, that let you map an action (or another key) on normal click and long click event on any other key that the up-described four.
So if you don’t have an HTC Touch Diamond, the only mode you can choose is “— Disabled —” but you can define “other key mapping”.

Link ->: DredSensor-v1.3a

To use it, you need:
1) A Windows Mobile SmartPhone
2) Install the .cab
3) Reboot your SmartPhone
4) Run a game (or app or …)
5) Get your stylus out and back-in, in less than 1 second
6) Click “Yes”

—– A config window opens:

7) Choose the Type you want.
8) Reassign the actions to the events, if needed.
9) Assign “other key mapping”, if needed.
10) Click “Ok”

Other Key Mapping:
To add a key mapping, a popup opens and ask you to press a key.
If you want to assign an action to normal clic, just clic on the choosen key.
If you want to assign an action to long clic, clic more thant 1 sec on the choosen key.
Then you have to choose the action, and it’s done.

If you only assign an action to a long clic on a key, a short clic on this key should work transparently.

New features in v1.3a:
=====================

  • Added an alternative key mapping that Should be compatible with any Windows Mobile device.
  • Added the “KeepAlive” option. Check this if you want DredSensor to prevent the smartphone to sleep when this application is loaded.
  • Added possibility to Enable/Disable DredSensor:
    Exemple of C++ code to do this:

    #define WM_DREDSENSOR_START WM_USER+22
    #define WM_DREDSENSOR_STOP WM_USER+23

    Disable:
    HWND m_hDredSensorWnd=FindWindow(_T(“DredSensorWnd”),NU LL);
    if(m_hDredSensorWnd!=NULL)
    SendMessage(m_hDredSensorWnd,WM_DREDSENSOR_STOP,0, 0);

    Enable:
    if(m_hDredSensorWnd!=NULL)
    SendMessage(m_hDredSensorWnd,WM_DREDSENSOR_START,0 ,0);

Compartir este artículo

Artículos Relacionados

Deje sus comentarios

© 2012 InfoHTC. All rights reserved. Site Admin · Entries RSS · Comments RSS
Powered by WordPress · Designed by Theme Junkie
9 visitors online now
5 guests, 4 bots, 0 members
Max visitors today: 9 at 02:06 am GMT+3
This month: 54 at 01-04-2012 01:26 pm GMT+3
This year: 54 at 01-04-2012 01:26 pm GMT+3
All time: 202 at 03-28-2011 09:42 am GMT+3