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:
traceX11DRV_ToUnicodeEx NumLockMask = 0010
traceX11DRV_ToUnicodeEx AltGrMask = 0010
traceX11DRV_ToUnicodeEx Found keycode 152 (0x98)
traceKEYBOARD_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:
traceX11DRV_ToUnicodeEx NumLockMask = 0010
traceX11DRV_ToUnicodeEx AltGrMask = 0010
traceX11DRV_ToUnicodeEx Found keycode 8 (0x
traceKEYBOARD_MapDeadKeysym no character for dead keysym 0x00000000
warnX11DRV_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
Logitech G11 keyboard under wine
Re: Logitech G11 keyboard under wine
dlls/winex11.drv/keyboard.cgbil wrote: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?
There are hard-coded scan codes for different keyboard layouts.