Author Topic: Mapping Calendar And Mail With Keyhelper  (Read 1494 times)

gojira

  • Full Member
  • ***
  • Posts: 122
    • View Profile
Mapping Calendar And Mail With Keyhelper
« on: March 12, 2005, 04:07:35 am »
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: [Select]



  
    
  


for Calendar and this:
Code: [Select]



  
    
  


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.]
« Last Edit: March 13, 2005, 07:35:12 pm by gojira »
Zaurus SL-C3200 Debian EABI / Sharp ROM (tetsu v18j), Socket CF Bluetooth (Rev E), BT747 GPS, Canon K30225 CF Wifi.  RIP: Zaurus SL-C860 Sharp ROM (1.40JP).

gojira

  • Full Member
  • ***
  • Posts: 122
    • View Profile
Mapping Calendar And Mail With Keyhelper
« Reply #1 on: March 12, 2005, 09:54:28 pm »
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.
Zaurus SL-C3200 Debian EABI / Sharp ROM (tetsu v18j), Socket CF Bluetooth (Rev E), BT747 GPS, Canon K30225 CF Wifi.  RIP: Zaurus SL-C860 Sharp ROM (1.40JP).

Stubear

  • Hero Member
  • *****
  • Posts: 1164
    • View Profile
    • http://
Mapping Calendar And Mail With Keyhelper
« Reply #2 on: March 13, 2005, 02:27:30 am »
If you know what key is being sent for the release values of the special keys you can cancel it with
Code: [Select]

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
SL-C1000, Hand converted to English with Japanese Input
Running X apps via X/Qt
iRiver USB host cable; Diatec P-Cord usb power cable (extendable); Acro's Reel Cable USB (A to A, B, Mini-B,  & Mini-B 8pin); GreenHouse 1Gb PicoDrive+; 2x256Mb Hagiwara SD cards; 128Mb Transcend CF card; 512Mb PQI CF card; AmbiCom WL1100C-CF 11B WLAN card

gojira

  • Full Member
  • ***
  • Posts: 122
    • View Profile
Mapping Calendar And Mail With Keyhelper
« Reply #3 on: March 13, 2005, 07:57:17 pm »
Quote
If you know what key is being sent for the release values of the special keys you can cancel it with
Code: [Select]
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.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=70440\"][{POST_SNAPBACK}][/a][/div]
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 [a href=\"index.php?act=findpost&pid=70356\"][{POST_SNAPBACK}][/a], 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.
Zaurus SL-C3200 Debian EABI / Sharp ROM (tetsu v18j), Socket CF Bluetooth (Rev E), BT747 GPS, Canon K30225 CF Wifi.  RIP: Zaurus SL-C860 Sharp ROM (1.40JP).