[Wine] Cant use deadkeys in Portuguese keyboard

fedakim wineforum-user at winehq.org
Wed Jul 2 20:33:46 CDT 2008


Hi,

ive been trying wine and i love it , i have ubunty hardy with all the updates and wine 1.1.0  and i can run most applications i need in wine.
although i have a problem , the keyboard layout is correct but deadkeys dont work.
In ubuntu they keyboard is set to Portuguese and deadkeys work fine in all applications but in wine instead of áéóãõ i have 'a 'e 'o ~a ~o... etc

ive run a trace when i press '~' for example i get:

"
trace:key:X11DRV_KeyEvent type 2, window 4800007, state 0x0000, keycode 0x0033
trace:key:X11DRV_KeyEvent nbyte = 1, status 0x0
trace:key:X11DRV_KeyEvent KeyPress : keysym=FE53 (dead_tilde), # of chars=1 / "~"
trace:key:EVENT_event_to_vkey e->keycode = 33
trace:key:X11DRV_KeyEvent keycode 0x33 converted to vkey 0xdc
trace:key:X11DRV_KeyEvent bScan = 0x2b.
trace:key:X11DRV_send_keyboard_input  wParam=00dc, lParam=002b0001, InputKeyState=0
trace:key:TranslateMessage Translating key VK_OEM_5 (00dc), scancode 2b
trace:key:X11DRV_ToUnicodeEx (00DC, 002B) : faked state = 0x0000
trace:key:EVENT_event_to_vkey e->keycode = 33
trace:key:X11DRV_ToUnicodeEx type 2, window 4800007, state 0x0000, keycode 0x0033
trace:key:X11DRV_ToUnicodeEx nbyte = 1, status 0x0
trace:key:X11DRV_ToUnicodeEx KeyPress : keysym=FE53 (dead_tilde), # of chars=1 / "~"
trace:key:X11DRV_ToUnicodeEx Translating char 0x7e to unicode
trace:key:X11DRV_ToUnicodeEx ToUnicode about to return 1 with char 7e 
trace:key:TranslateMessage 1 -> PostMessageW(0x10028,WM_CHAR,007e,002b0001)
trace:key:X11DRV_KeyEvent type 3, window 4800007, state 0x0000, keycode 0x0033
trace:key:X11DRV_KeyEvent nbyte = 1, status 0x0
trace:key:X11DRV_KeyEvent KeyRelease : keysym=FE53 (dead_tilde), # of chars=1 / "~"
trace:key:EVENT_event_to_vkey e->keycode = 33
trace:key:X11DRV_KeyEvent keycode 0x33 converted to vkey 0xdc
trace:key:X11DRV_KeyEvent bScan = 0x2b.
trace:key:X11DRV_send_keyboard_input  wParam=00dc, lParam=c02b0001, InputKeyState=c1
...
"

any help? :)

Thanks







More information about the wine-users mailing list