odd behavior of illume keyboard
Carsten Haitzler (The Rasterman)
raster at rasterman.com
Mon Dec 15 09:42:23 CET 2008
On Mon, 15 Dec 2008 09:11:50 +0100 Bernd Prünster <bernd.pruenster at 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
> shift Q Q
> key 13 0 12 12
> normal w w
> shift W W
> key 26 0 12 12
> normal e e
> shift E E
> key 39 0 12 12
> normal r r
> shift R R
> key 52 0 12 12
> normal t t
> shift T T
> key 65 0 12 12
> normal z z
> shift Z Z
> key 78 0 12 12
> normal u u
> shift U U
> key 91 0 12 12
> normal i i
> shift I I
> key 104 0 12 12
> normal o o
> shift O O
> key 117 0 12 12
> normal p p
> shift P P
>
> key 6 14 12 12
> normal a a
> shift A A
> key 19 14 12 12
> normal s s
> shift S S
> key 32 14 12 12
> normal d d
> shift D D
> key 45 14 12 12
> normal f f
> shift F F
> key 58 14 12 12
> normal g g
> shift G G
> key 71 14 12 12
> normal h h
> shift H H
> key 84 14 12 12
> normal j j
> shift J J
> key 97 14 12 12
> normal k k
> shift K K
> key 110 14 12 12
> normal l l
> shift L L
>
> key 13 28 12 12
> normal y y
> shift Y Y
> key 26 28 12 12
> normal x x
> shift X X
> key 39 28 12 12
> normal c c
> shift C C
> key 52 28 12 12
> normal v v
> shift V V
> key 65 28 12 12
> normal b b
> shift B B
> key 78 28 12 12
> normal n n
> shift N N
> key 91 28 12 12
> normal m m
> shift M 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 at lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
>
--
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler) raster at rasterman.com
More information about the community
mailing list