Author Topic: "dead" or accented keys config for keyhelper?  (Read 3079 times)

mcamou

  • Jr. Member
  • **
  • Posts: 61
    • View Profile
    • http://
"dead" or accented keys config for keyhelper?
« on: February 14, 2004, 08:32:51 pm »
Hi,

KeyHelper is awsome! However, I previously used CustomInput to enter accented characters in Spanish (áéíóúñ¿¡). That has stopped working since I installed KeyHelper. Any ideas as to how I can map \"dead\" keys using KeyHelper, or how I can use KeyHelper and CustomInput at the same time, or at least map accented chars using KeyHelper?

qx773

  • Full Member
  • ***
  • Posts: 219
    • View Profile
"dead" or accented keys config for keyhelper?
« Reply #1 on: February 15, 2004, 03:28:45 pm »
I do not have direct answers to your questions, but I know that you can temporarily stop keyhelper and then restart it with the khctl program.  If you type khctl by itself in the terminal application, you will get a list of parameters that khctl can accept, such as:

khtcl disable
khctl enable


Perhaps you can disable keyhelper, create a file containing the accented characters that you want, reactivate keyhelper, and then copy and paste the accented characters that you  need.

mcamou

  • Jr. Member
  • **
  • Posts: 61
    • View Profile
    • http://
"dead" or accented keys config for keyhelper?
« Reply #2 on: February 15, 2004, 07:54:33 pm »
Typing in the accented keys once for doing the config is no problem, I can simply ssh in from my desktop computer and use its keyboard. The question comes more from how to configure keyhelper to generate \"dead\" keys. For example, with my CustomInput config I can type the quote (\') key followed by A and get á, or ~ followed by n to get ñ. If I type a quote followed by anything other than a vowel, or a tilde followed by anything but an N, I get the normal behavior (i.e., \'x).

Also, how do I get keyhelper to generate arbitrary characters? All I\'ve seen is the <map key=\"...\"> tag, but that only works for characters generated with the standard Zaurus keyboard, not for other characters (such as accents).

mcamou

  • Jr. Member
  • **
  • Posts: 61
    • View Profile
    • http://
"dead" or accented keys config for keyhelper?
« Reply #3 on: February 16, 2004, 02:50:24 pm »
Found it! Not the dead keys, but the way to generate arbitrary characters. This is the magic:

Code: [Select]


  

  



where \"200a\" is the keycode for Fn+6 (get it with keyhelperconf) and \"0xe1\" is Unicode for á (Aacute - get it from the Unicode on-screen keyboard)

For shifted characters I found the following, although there\'s probably a better way to do it:

Code: [Select]