FORUMS
Remove All Ads from XDA

[APP+DRV] [Keys remapper] Raphael Keyboard Controller GSM/CDMA v1.4

136 posts
Thanks Meter: 3
 
By tarkim, Senior Member on 3rd June 2009, 12:19 AM
Post Reply Email Thread
This is what many touch pro/fuze owners want to have - ability to get full control over their keyboards.

This is for Raphael only! Do not try to install this on other devices!
Do not ask me to make a version for other device since my remappers are driver dependent and this can be very and very complicated without real device (if possible at all).


So, what is it ? It's a modified keyboard driver with configurator application for keys setup. Any key (yeah, i mean ANY, including Home and Back keys) can be reassigned to perform desired actions. Keys on a QWERTY keyboard are not an exception, they might be remapped too.
If any key has an action configured and is defined to be processed by my driver extension, it wouldn't go into the system. That is to say no one program even like AEButton will see key events processed by my driver.
Driver extension also can vibrate on any key press.

Modified drivers were tested on many ROMs based on different OEMs, so they would work in most cases.

Thanks dcd1182 for CDMA version testing.

Features:
  • Different event types supported: single, double and triple clicks, long presses
  • Two modes of key mapping: three actions per key or direct key mapping
  • Key repeats in direct key mapping mode
  • Actions sequence repeats in actions mode
  • Key combinations using FN modifier
  • Default key behaviour action - you won't loose key's default behaviour if you just want to add double click or long press to it
  • Different key behaviour depending on foreground process/window class/window text
  • Multiple rules for each key to provide different behaviour for each application you want
  • Multiple actions for each event
  • Different predefined actions:
    • Run program
    • Key press emulation
    • Send symbol/text to active window
    • Close active window
    • Switch to window by class/text
    • Terminate data connection
    • Wi-Fi toggle
    • BT toggle
    • Screen rotation
    • Power management (screen power toggle, suspend, reset)
  • Exceptions lists which are used to deny key remapping depending on foreground process/window class/window text
  • Configurable long press and double click duration
  • Configuration import/export in configurator

Changelog is located here.
Configurator UI localization support information is located here.


Requirements:
- .NET CF 2.0 (for configurator app)
- WM 6.1/6.5 compatible

Usage:
- Install SdkCerts.cab
- Install RaphKbdControl_XXX.cab
- Soft reset
- Check if keyboard works by pressing hardware buttons and seeing if they do their work, if not - uninstall cab, this wouldn't work on your current ROM
- If it works - go to the control panel and find "Keyboard Config" on a System page

How to define key processing:
- Run configurator (Control Panel -> System -> Keyboard Config)
- Press Menu -> Add key
- When dialog asking you to press key appears press and release desired key
- Set up needed options in key setup dialog and press OK (left softkey)
- In configurator's main window press left softkey "Update settings" to let new configuration take place (reboot is not needed, coz new settings will work immediately after saving)

What to do if keyboard doesn't work after uninstallation of this software:
- in any way stop device "KBD1:"
- for example, you can use Dotfred's TaskManager - navigate to Devices tab and find the KBD1: string, then press Stop
- delete files \Windows\keypad.dll and \Windows\kbdcntrl.dll
- soft reset

How to add new button to Buttons applet and get it working:
- add or copy existing key [HKLM\Software\Microsoft\Shell\Keys\40CX], where X is 1-6
- under this key add next values:
* Name - display name of the button in list (doesn't matter what you write here, it's only for you)
* Icon - path to icon for this button
- goto configurator and define an 'emulate key press' action for any button you want and set these values here: key code - 'App X' and check 'Win' checkbox - only in this case button will work
- save settings and enjoy newly created button

TODO:
- optimization
- Shift+?? key combinations support (if there would be requests on this)
- more actions
- other useful things
- your suggestions ?


Backup before installing of modified driver is strongly recommended.
Be careful when downloading the cab, make sure you choose the correct version suitable for your device.



Also, here is small collection of AltTab programs attached.
You can use any of them assigned as 'run program' action to desired key to switch between running programs.
Attached Files
File Type: zip RaphKbdControl_GSM_1.4.zip - [Click for QR Code] (150.5 KB, 3012 views)
File Type: zip RaphKbdControl_CDMA_1.4.zip - [Click for QR Code] (151.5 KB, 753 views)
File Type: zip AltTabCollection.zip - [Click for QR Code] (37.2 KB, 1182 views)
 
 
3rd June 2009, 12:22 AM |#2  
Senior Member
Thanks Meter: 3
 
More
well im going to try this right now, thanks


tested and works great.

side note: under the todo list adding different key behaviours depending on active window would be great

thanks
3rd June 2009, 02:19 AM |#3  
luciusz's Avatar
Member
Flag Kaohisung
Thanks Meter: 1
 
More
Push!

What a great app ! Couold you try to add something like multi-pressd ?
3rd June 2009, 03:05 AM |#4  
hilaireg's Avatar
Moderator Emeritus
Thanks Meter: 227
 
More
Glad to see something like this come along.

Curious, any plans to integrate with the Buttons applet found in Settings?

Cheers,


Again, excellent work!
3rd June 2009, 11:50 AM |#5  
OP Senior Member
Thanks Meter: 3
 
More
Quote:
Originally Posted by luciusz

Couold you try to add something like multi-pressd ?

Do you mean key combinations ? I will think about it.
3rd June 2009, 11:56 AM |#6  
OP Senior Member
Thanks Meter: 3
 
More
Quote:
Originally Posted by hilaireg

Curious, any plans to integrate with the Buttons applet found in Settings?

No. Although buttons applet and my extension do similar work, they work in different ways, so it's not possible to integrate them at this moment.
3rd June 2009, 02:46 PM |#7  
DenZxd's Avatar
Member
Thanks Meter: 7
 
More
It is very cool program.
But it is not work with russian keyboard on official Rom
Or it's my mistake?

after uninstall app and soft reset do not work hardware keyboard,
and keys: on/off device (on the top side) and loudness (on left side)
What can I do?
3rd June 2009, 03:29 PM |#8  
owilsky's Avatar
Senior Member
Thanks Meter: 11
 
Donate to Me
More
Cool tool!!! If you implement to configure different behaviour for different programs that would be really nice!
3rd June 2009, 10:06 PM |#9  
ldrn's Avatar
Senior Member
Flag San Francisco, CA
Thanks Meter: 29
 
More
Wow; this really does sound like the tool I was hoping for. (The hardware keyboard and the home/back etc keys? Perfect!)

Sadly, seems like the rom I am using (MightyROM5, for CDMA and Sprint) wasn't one of them... oh, well. If anyone else with CDMA has a ROM and tries this successfully, though, I'd love to know so I can try a different one.

For me, the hardware keys worked again after an uninstall and soft reset. (To turn the screen back on after it fell asleep while I was doing this, I had to hold the power key down as if I was going to force it to turn off, only longer than normal -- just a FYI if someone else has the same issue.)
3rd June 2009, 10:15 PM |#10  
OP Senior Member
Thanks Meter: 3
 
More
Quote:
Originally Posted by ldrn

Sadly, seems like the rom I am using (MightyROM5, for CDMA and Sprint) wasn't one of them... oh, well.

Could you send me keypad.dll (hope CDMA version has the same name as for GSM) file from your ROM ?
3rd June 2009, 11:29 PM |#11  
Senior Member
Flag somewhere in oklahoma
Thanks Meter: 6
 
More
is there a way to make a tab key ? i really would like one . i hate having to touch the screen to change entry feilds on the internet ,usually when i log into xda or myspace or anywhere that has a forums ..... i use it tons on my computer and thats pretty much my only complaint about the fuze keyboard ...NO TAB !
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes