http://bugs.winehq.org/show_bug.cgi?id=10318
--- Comment #20 from Manuel Bellersen Kakarott2003@yahoo.de 2008-01-27 11:55:15 --- Created an attachment (id=10468) --> (http://bugs.winehq.org/attachment.cgi?id=10468) HellgateLondon Demo
Hi,
I did a little workaround:
I dont "return 1;" for every ToUnicode() like Comment 7. I think because of that you could not use any key. I thougt it could be good only returning 1 when virtKey is 6E like the debug-log said: warn:keyboard:X11DRV_ToUnicodeEx Unknown virtual key 6E !!! It works for me. My crappy graphics seem to be from my ATI graphics card. Only problem left is the non moving mouse.
diff -p wine_gut/dlls/user32/input.c wine/dlls/user32/input.c *** wine_gut/dlls/user32/input.c 2008-01-27 13:58:38.000000000 +0100 --- wine/dlls/user32/input.c 2008-01-27 18:41:10.000000000 +0100 *************** INT WINAPI ToUnicode(UINT virtKey, UINT *** 731,736 **** --- 731,738 ---- INT WINAPI ToUnicodeEx(UINT virtKey, UINT scanCode, LPBYTE lpKeyState, LPWSTR lpwStr, int size, UINT flags, HKL hkl) { + if(virtKey == 110) return 1; + if(virtKey == 0x00e6) return 1; return USER_Driver->pToUnicodeEx(virtKey, scanCode, lpKeyState, lpwStr, size, flags, hkl); }