Re: odd behavior of illume keyboard
On Mon, 15 Dec 2008 09:11:50 +0100 Bernd Prünster bernd.pruens...@gmail.com babbled: i want to add the beta (ß) character to my layout, but it it only works if i quote it to use the dict code: key 0 28 12 12 normal ß ß shift? question /code if i remove the quotes it doesn't send the character any help/suggestions? correct. you need quotes if u define the key output as a STRING. otherwise without quotes its a keysym (key symbol name). example: Keysym | String comma | , period | . dollar | $ space | etc. - read up on x11 and keysyms for more info :) if the string is in quotes this tells illume it's a string and needs conversion TO a keysym that x has. if x has no keysym for that output string - it won't work at all. full content of file: ##KBDCONF-1.0 kbd 130 45 fuzz 20 # keyboard type type ALPHA # an icon for the keyboard so you know which one you have icon beta.png # if the key out is in quotes - q for example, then this key is used for # typing words and can be part of a dictionary match, any other key when # pressed will end the dictionary match (u can disable dictionary matching in # a layout by not having any outputs in quotes) key 0 0 12 12 normal q q shiftQ Q key 13 0 12 12 normal w w shiftW W key 26 0 12 12 normal e e shiftE E key 39 0 12 12 normal r r shiftR R key 52 0 12 12 normal t t shiftT T key 65 0 12 12 normal z z shiftZ Z key 78 0 12 12 normal u u shiftU U key 91 0 12 12 normal i i shiftI I key 104 0 12 12 normal o o shiftO O key 117 0 12 12 normal p p shiftP P key 6 14 12 12 normal a a shiftA A key 19 14 12 12 normal s s shiftS S key 32 14 12 12 normal d d shiftD D key 45 14 12 12 normal f f shiftF F key 58 14 12 12 normal g g shiftG G key 71 14 12 12 normal h h shiftH H key 84 14 12 12 normal j j shiftJ J key 97 14 12 12 normal k k shiftK K key 110 14 12 12 normal l l shiftL L key 13 28 12 12 normal y y shiftY Y key 26 28 12 12 normal x x shiftX X key 39 28 12 12 normal c c shiftC C key 52 28 12 12 normal v v shiftV V key 65 28 12 12 normal b b shiftB B key 78 28 12 12 normal n n shiftN N key 91 28 12 12 normal m m shiftM M key 104 28 12 12 normal shift.png is_shift key 117 28 12 12 normal . period shift, comma key 0 28 12 12 normal ß ß shift? question ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community -- - Codito, ergo sum - I code, therefore I am -- The Rasterman (Carsten Haitzler)ras...@rasterman.com ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: odd behavior of illume keyboard
On Mon, 15 Dec 2008 15:56:36 +0100 Marco Trevisan (Treviño) m...@3v1n0.net babbled: Bernd Prünster wrote: i want to add the beta (ß) character to my layout, but it it only works if i quote it to use the dict code: key 0 28 12 12 normal ß ß shift? question /code if i remove the quotes it doesn't send the character any help/suggestions? Have you tried using ssharp (that should be the x keycode for ß)?: key 0 28 12 12 normal ß ssharp shift? question then you wont be able to use dictionary lookups as when u send a keysym the word is finished. sending strings means you are sending parts of a word. just keep the quotes. i am entirely baffled why you want to remove them - they have specific functionality and meaning that makes things work. they were intended to be there in this use case so keep them :) -- - Codito, ergo sum - I code, therefore I am -- The Rasterman (Carsten Haitzler)ras...@rasterman.com ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: odd behavior of illume keyboard
Carsten Haitzler (The Rasterman) schrieb: On Mon, 15 Dec 2008 15:56:36 +0100 Marco Trevisan (Treviño) m...@3v1n0.net babbled: Bernd Prünster wrote: i want to add the beta (ß) character to my layout, but it it only works if i quote it to use the dict code: key 0 28 12 12 normal ß ß shift? question /code if i remove the quotes it doesn't send the character any help/suggestions? Have you tried using ssharp (that should be the x keycode for ß)?: key 0 28 12 12 normal ß ssharp shift? question then you wont be able to use dictionary lookups as when u send a keysym the word is finished. sending strings means you are sending parts of a word. just keep the quotes. i am entirely baffled why you want to remove them - they have specific functionality and meaning that makes things work. they were intended to be there in this use case so keep them :) The english dictionary is awesome - period. Ther germant dicts i tried suck. personally i have no problem writing my messages is english. sad but true, not all of my folks would understand my messages if i wrote the in english, that is why i don't want to use the dict. another argument is that i don't use correct spelling, and words that don't really exist, which would change if i found a germna dictionary that is as awesome as the english one, that ships with illume ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community