Help - Search - Members - Calendar
Full Version: Mapping Calendar And Mail With Keyhelper
OESF Forums > General Forums > General Support and Discussion > Software
gojira
I'd like to have Calendar, Address and Mail as Control, Alt and launch, respectively, but I'm having problems mapping Calendar and Mail. Address, Home and Menu work as expected. Calendar and Mail do lose their original function as expected, but don't gain the new function.

To map Control, I used this: [chomp (same as below, but without release)].

These keys only generate their events on release, and produce a different event when held, so I also tried this:
CODE
<?xml version="1.0"?>
<keyhelper>
<modifiers>
 <define key="F9" type="Control" mapping="True" >
   <release key="F32" />
 </define>
</modifiers>
</keyhelper>
for Calendar and this:
CODE
<?xml version="1.0"?>
<keyhelper>
<modifiers>
 <define key="F13" type="Control" mapping="True" >
   <release key="F14" />
 </define>
</modifiers>
</keyhelper>
for Mail, but it made no difference.

It's the same when mapping launch, like this [chomp].

Any ideas? How and why should release be used? I can map Sync and Check to an unused user key to disable their functions, but is it possible remove the hold/release behaviour altogether? Why is there a modifiers sections at all? Couldn't mappings be used for modifier keys too?

This was with keyhelper_1.1.6-1_arm.ipk.

Thanks.

[Since I found the problem (see next post) I've deleted the large boring keyhelper.xml examples above.]
[...and then put back the ones using release, see later post.]
gojira
I realised 1/2 an hour after posting this that I'd already half-answered one of my own questions. These keys generate both the press and release events together when the key is released (Calendar and Mail) or held for some period (Sync and Check) so they can't be used as modifier keys.

So now I have Calendar as Home, Address as sticky Control, Mail as Menu, Home as sticky Alt, Menu as sticky launcher modifier, Sync as suspend, Check as screen blank, and Shift-Calendar as select.

I'm still interested in finding out where the release/hold behaviour is set, and if it can be changed. Is it in qpe or in the kernel?

Thanks.
Stubear
If you know what key is being sent for the release values of the special keys you can cancel it with
CODE
<release key="F31"/>


That's the code I use with the first Japanese key from the left as control, can't remember what is cancels now and I seem to have lost my copy of the keycodes text that told me.

I use address as launch, Shift+home as task switch, mail as keyhelper menu launcher.

I have a bunch of menus set up and use address+<key> to start all the apps I regularly use, as well as address+BS to suspend (so I can't do it by mistake)

Stu
gojira
QUOTE(Stubear @ Mar 13 2005, 06:27 PM)
If you know what key is being sent for the release values of the special keys you can cancel it with
CODE
<release key="F31"/>
That's the code I use with the first Japanese key from the left as control, can't remember what is cancels now and I seem to have lost my copy of the keycodes text that told me.
*

Thanks, but although I don't know how release works, it doesn't seem to work like that -- the kata-hira and zen/han keys don't have the hold/release behaviour of the Calendar/Sync and Mail/Check keys, and I've tried that already (I'd deleted the example from the original post *, but it's back now to illustrate).

Even though I don't know how to change the hold/release behaviour (e.g. which keys, delay value) now I know how to use it it's quite useful -- there are enough special keys with normal behaviour for the modifiers, and it's nice to be able to blank and suspend with a single key hold.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.