Hello,

I am trying to find out why my application has problems with dead
(accent) keys.

I am using a Linux 2.4.20 kernel with a German keyboard. Keymap
'de-latin1'.

directfb_translate_key()
        key_code=0x0028, key_id=0xF659, key_symbol=0x00E4 (ä), modifiers=0x00
directfb_translate_key()
        key_code=0x0027, key_id=0xF658, key_symbol=0x00F6 (ö), modifiers=0x00
directfb_translate_key()
        key_code=0x001A, key_id=0xF655, key_symbol=0x00FC (ü), modifiers=0x00

'\'' followed by 'e' = 'é'

directfb_translate_key()
        key_code=0x000D, key_id=0xF654, key_symbol=0x0000 (^@), modifiers=0x00
directfb_translate_key()
        key_code=0x0012, key_id=0xF605, key_symbol=0x0065 (e), modifiers=0x00

SHIFT + '\'' followed by 'e' = 'è' 

directfb_translate_key()
        key_code=0x002A, key_id=0xF631, key_symbol=0xF201 (^A), modifiers=0x01
directfb_translate_key()
        key_code=0x000D, key_id=0xF654, key_symbol=0x0000 (^@), modifiers=0x01
directfb_translate_key()
        key_code=0x0012, key_id=0xF605, key_symbol=0x0065 (e), modifiers=0x00

Not the expected DIKS_DEAD_ACUTE and DIKS_DEAD_GRAVE for key_symbol.

My custom distro does not contain the kbd tools, but uses busybox's
'loadkmap' and and 'loadfont'. The console works as expected with dead keys.

Is this functionality dependent on the kernel, the 'kbd' tools or unicode mode?

Any hints, references or examples to make this work?

Best regards,

Joop

_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to