Jump to content

Composer key as CTRL (ver. 0.6)


Recommended Posts

Guest account2002
Posted (edited)

I wrote a small app that makes composer key act like CTRL, so if anybody wants to try, download it and install :).

This is newer version (0.5 - obsolete - try 0.6) of application mentioned in thread: Compose key, launch something different[...] If you have old version uninstall it before installing new.

Install attached cab and restart device (there is no need to restart, but in that case app will not autostart till soft reset. Of course you could still run it manually by Start Menu\ComCTRLSettings.exe).

Minimal requirements:

- .NET CF 3.5

- Omnia PRO (GT-B7610) :P

It is in early beta stage so if you have questions or ideas, just ask.

Application consists of three components:

1. LandscapeLauncherD.exe - overwrites standard exe attached to Compose key. Sends codes to background part

2. ComCTRL_SRV.exe - background running part - responsible for whole hard work ;)

3. ComCTRLSettings.exe - Control part. Use it to start/stop ComCTRL_SRV.exe.

Before uninstalling you have to remember to stop background part.

Because of a way Compose button works there is a small lag (in ver. 0.6 CTRL is almost instant) between compose key press and CTRL code send. But for me it is quite usable. For example if you need CTRL+C just press and release Compose key, make a small pause and next press C.

That solution has two cons (small in my opinion):

1. That small lag after pressing Compose key

2. ComCTRL_SRV.exe has to be running in a background (takes about 560K of RAM)

[Added 24.03.2010]

New version (ver 0.6) - RECOMMENDED

I have compiled LandscapeLauncherD.exe in pure C. It seems to be a lot faster. So almost zero delay. Try new version. Any feedback very welcome. Remember to uninstall old one first (after stopping ComCTRL_SRV.exe)

ComCTRL.v05.CAB

ComCTRL.v06.CAB

Edited by account2002
Guest TinyGiant
Posted

Works exactly as specified, but the delay between the Composer key and C or V is too long for practical use :)

Guest account2002
Posted (edited)
Works exactly as specified, but the delay between the Composer key and C or V is too long for practical use :)

Why? I have been using this for two months (in different versions) and for me it is quite handy. That is a way Composer key is supported by the system. AFAIK it is hardcoded in keyboard driver to invoke one specified exe file (LandscapeLauncherD.exe). The Composer key doesn't send any keycode so by now there is no way to overcome that issue (maybe patching keyboard driver). The delay is the time between pressing key and actually running exe app, and it's usually about 1 second. In my experience first time is a little bit longer, but after that it is quite acceptable (for me of course). I think better slow CTRL than none.

If it is too slow for you, you could always use other key (ex. back - that curved arrow next to composer key). That key sends keycode so you can use any keyboard remaper soft on the market and get fast CTRL. I'm using this key to input polish accent letters so I'm stuck with composer solution.

Edited by account2002
Guest account2002
Posted (edited)

Newer version (0.6)

Link to cab in the first post.

I have compiled LandscapeLauncherD.exe in pure C. It seems to be a lot faster. So almost zero delay. Try new version. Any feedback very welcome.

Edited by account2002
  • 2 weeks later...
Guest Ariekanarie
Posted

Works like a charm! and this is much better than using the windows onscreen keyboard for pressing ctrl.

I'm going to use this composekey a lot from now on.

Thanx!

  • 5 months later...
Guest account2002
Posted
Doesnt work on wm6.1

I don't have 6.1 so i'll need more information.

1. It doesn't work at all or just not sending CTRL key?

2. What is compose key behaviour in your case? Does it run compose app or no?

3.Try to check with any app/process manager ComCTRL_srv is running. If not, try to run it by control program (should be in your start menu).

4. Turn your sound on and press composer button and you should hear two quick key sounds. Did you hear anything?

5. What is your rom and csc?

Posted

I use WM6.1 too (king Daskalos' X36) but this works just fine. No problems here.

Actually it's quite brilliant. :P Thank you!

Guest account2002
Posted (edited)
I use WM6.1 too (king Daskalos' X36) but this works just fine. No problems here.

So most likely it has something to do with different CSC and keyboard mappings. I'm using some high ASCII codes to provide communication between parts of my solution, so maybe in other CSC that particular codes are used for some national (accented) characters or control codes. I could try to prepare another version that uses other codes and with some luck it could solve a problem. If I remember correctly someone else had similiar problem on 6.5 after flashing new rom and csc, but I don't know how it ended.

Edited by account2002
Guest reinPnoy
Posted

what does this do? what does a CTRL key do? i don't understand sorry coz i'm a newbie.. will it function JUST LIKE the ALT key which enables the symbols in keyboard?

Guest account2002
Posted
what does this do? what does a CTRL key do? i don't understand sorry coz i'm a newbie.. will it function JUST LIKE the ALT key which enables the symbols in keyboard?

it does allmost everything what your PC's CTRL can do, sends scancode 0x11 so you can use it in standard combinations like copy (ctrl+c), paste (ctrl+v), select all (ctrl+a) and so on. It has althought some limitation as I've noticed (in few applications and system's windows), for example it doesn't work in Opera mini, but in this program whole keyboard acts weird (in my case)

Posted

In my device there is no composer button but there is one used to change the typing languages. Maybe the composer key for me is this?

Guest account2002
Posted
In my device there is no composer button but there is one used to change the typing languages. Maybe the composer key for me is this?

If you could take a picture of your keyboard and describe what happens after pressing that particular key, maybe there is a way to use it in other manner, ex. like CTRL.

Guest hgiang0101
Posted

so good, but i want when i press Compose key in Home Today Screen will show Composer, cant you do that?

Guest account2002
Posted
so good, but i want when i press Compose key in Home Today Screen will show Composer, cant you do that?

It's a bit tricky, cause a way Composer key works is quite strange. It invokes just one action - run LandscapeLauncherD.exe, and it is hardcoded in keyboard driver. I'm replacing that exe with my app so there is no longer composer program to invoke. I could try do something (not right now, lack of time), but with a bit of patience it seems to be doable.

Guest reinPnoy
Posted

hello.. how can i copy a word without using the touch screen..

for example in the text:

hello there my friend, how are you?

i would like to highlight friend and then copy it "using ctrl function"

because as we all know, in computer, ctrl and shift keys are used to highlight texts right? :lol:

or it is only possible in touch?

Guest account2002
Posted
hello.. how can i copy a word without using the touch screen..

for example in the text:

hello there my friend, how are you?

i would like to highlight friend and then copy it "using ctrl function"

because as we all know, in computer, ctrl and shift keys are used to highlight texts right? :lol:

or it is only possible in touch?

It depends on application you are using. In most of WM native apps (notes, messaging, word) it works as in "big" windows - move cursor to desired position (in your case right before f) press & hold SHIFT mark text by moving cursor with arrow keys (just behind d), relase SHIFT and press & relase Composer then press C, move cursor where you need it and then press & relase Composer and next V. In other apps it is quite various - starting from "not working at all" (not marking or copying by keyboard, touch only) to "work partially" (marks not copy or vice-versa). You'll have to verifiy it by yourself.

Guest reinPnoy
Posted
It depends on application you are using. In most of WM native apps (notes, messaging, word) it works as in "big" windows - move cursor to desired position (in your case right before f) press & hold SHIFT mark text by moving cursor with arrow keys (just behind d), relase SHIFT and press & relase Composer then press C, move cursor where you need it and then press & relase Composer and next V. In other apps it is quite various - starting from "not working at all" (not marking or copying by keyboard, touch only) to "work partially" (marks not copy or vice-versa). You'll have to verifiy it by yourself.

thanks! you've been very helpful! this is cab is really great! it's not working on opera mini but it's just fine! thank you again! :lol:

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.