Currently, the way gtkdfb performs input handling is a bit 
buggy/incomplete, and this results, as you mentioned, in the lack of 
some symbols with some keymaps.
This issue is quite annoiyng for debian users who use "special" keymaps 
[1] and [2] and i'd really like to see it fixed, but ATM i lack the time 
to investigate into it.
In the case you can provide the needed patches against gtk+ head, i can 
commit them into Gnome's SVN.

regards

Attilio Fiandrotti

[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=401296
[2] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=394871

Christian Schaubschlaeger wrote:
> Hello!
> 
> I'm using gtk+ on top of Directfb. Recently I found out, that
> I cannot type the "currency" symbol (as defined in the Latin1
> charset) in any text entry, etc. In the sources of Directfb
> I found, that in case the keycode "0xa4" (which is the code
> for the currency sign) is typed by the user, it is converted
> to "0x20ac", which is the euro sign (see below). Why is this?
> Several keyboard layouts (eg. danish, swedish/finnish)
> need the currency symbol...
> 
> Best regards
> Christian Schaubschlaeger
> 
> 
> static DFBInputDeviceKeySymbol
> keyboard_get_symbol( int                             code,
>                      unsigned short                  value,
>                      DFBInputDeviceKeymapSymbolIndex level )
> {
>      unsigned char type  = KTYP(value);
>      unsigned char index = KVAL(value);
>      int           base  = (level == DIKSI_BASE);
> 
>      switch (type) {
>           case KT_FN:
>                if (index < 20)
>                     return DFB_FUNCTION_KEY( index + 1 );
>                break;
>           case KT_LETTER:
>           case KT_LATIN:
>                switch (index) {
>                     case 0x1c:
>                          return DIKS_PRINT;
>                     case 0x7f:
>                          return DIKS_BACKSPACE;
>                     case 0xa4:
>                          return 0x20ac; /* euro currency sign */
>                     default:
>                          return index;
>                }
> ...
> 
> _______________________________________________
> directfb-users mailing list
> directfb-users@directfb.org
> http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
> 


_______________________________________________
directfb-users mailing list
directfb-users@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to