[Wine] Logitech G11 keyboard under wine

gbil wineforum-user at winehq.org
Sun May 4 08:07:36 CDT 2008


Hello,

I have a logitech G11 keyboard which has some extra keys - about 21 extra keys. 

Under Linux with the use of g15daemon and using the 'logitech_g15' XkbModel, all keys are working and can be mapped to keyboard shortcuts under gnome for example.

Pressing the key G2 under xev outputs the following:

 keycode 152 (keysym 0x1008ff45, XF86Launch5)

Unfortunatelly under wine the applications don't see these keys. Runing notepad as:

 WINEDEBUG=+keyboard wine notepad.exe

I get the following when I press the same key:

trace:keyboard:X11DRV_ToUnicodeEx NumLockMask = 0010
trace:keyboard:X11DRV_ToUnicodeEx AltGrMask = 0010
trace:keyboard:X11DRV_ToUnicodeEx Found keycode 152 (0x98)
trace:keyboard:KEYBOARD_MapDeadKeysym no character for dead keysym 0x1008ff45

The funny thing is that if I press the G3 key which is again recognized fine under X windows, under wine I get the following:
trace:keyboard:X11DRV_ToUnicodeEx NumLockMask = 0010
trace:keyboard:X11DRV_ToUnicodeEx AltGrMask = 0010
trace:keyboard:X11DRV_ToUnicodeEx Found keycode 8 (0x 8)
trace:keyboard:KEYBOARD_MapDeadKeysym no character for dead keysym 0x00000000
warn:keyboard:X11DRV_ToUnicodeEx no char for keysym 0000 (No Name) :


So as you see in one case at least the keycode is recognized but in the other case it is not even recognized. 

I tried to change a couple of things in keyboard.h file but no luck. 

Can someone point me a bit to the changes that need to be made in keyboard.h file? For example should I add another layout?

Thanks







More information about the wine-users mailing list